import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates an agent in the specified location. Note: You should always train a flow prior to sending it queries. See the [training documentation](https://cloud.google.com/dialogflow/cx/docs/concept/training). */ export declare class Agent extends pulumi.CustomResource { /** * Get an existing Agent resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Agent; /** * Returns true if the given object is an instance of Agent. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Agent; /** * Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level. */ readonly advancedSettings: pulumi.Output; /** * Optional. Answer feedback collection settings. */ readonly answerFeedbackSettings: pulumi.Output; /** * The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration. */ readonly avatarUri: pulumi.Output; /** * Immutable. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method. */ readonly defaultLanguageCode: pulumi.Output; /** * The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected. */ readonly description: pulumi.Output; /** * The human-readable name of the agent, unique within the location. */ readonly displayName: pulumi.Output; /** * Indicates if automatic spell correction is enabled in detect intent requests. */ readonly enableSpellCorrection: pulumi.Output; /** * Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead. */ readonly enableStackdriverLogging: pulumi.Output; /** * Gen App Builder-related agent-level settings. */ readonly genAppBuilderSettings: pulumi.Output; /** * Git integration settings for this agent. */ readonly gitIntegrationSettings: pulumi.Output; readonly location: pulumi.Output; /** * Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent. */ readonly locked: pulumi.Output; /** * The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Name of the SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`. */ readonly securitySettings: pulumi.Output; /** * Speech recognition related settings. */ readonly speechToTextSettings: pulumi.Output; /** * Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: `projects//locations//agents//flows/`. */ readonly startFlow: pulumi.Output; /** * The list of all languages supported by the agent (except for the `default_language_code`). */ readonly supportedLanguageCodes: pulumi.Output; /** * Settings on instructing the speech synthesizer on how to generate the output audio content. */ readonly textToSpeechSettings: pulumi.Output; /** * The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. */ readonly timeZone: pulumi.Output; /** * Create a Agent resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: AgentArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Agent resource. */ export interface AgentArgs { /** * Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level. */ advancedSettings?: pulumi.Input; /** * Optional. Answer feedback collection settings. */ answerFeedbackSettings?: pulumi.Input; /** * The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted [Web Demo](https://cloud.google.com/dialogflow/docs/integrations/web-demo) integration. */ avatarUri?: pulumi.Input; /** * Immutable. The default language of the agent as a language tag. See [Language Support](https://cloud.google.com/dialogflow/cx/docs/reference/language) for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method. */ defaultLanguageCode: pulumi.Input; /** * The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected. */ description?: pulumi.Input; /** * The human-readable name of the agent, unique within the location. */ displayName: pulumi.Input; /** * Indicates if automatic spell correction is enabled in detect intent requests. */ enableSpellCorrection?: pulumi.Input; /** * Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead. */ enableStackdriverLogging?: pulumi.Input; /** * Gen App Builder-related agent-level settings. */ genAppBuilderSettings?: pulumi.Input; /** * Git integration settings for this agent. */ gitIntegrationSettings?: pulumi.Input; location?: pulumi.Input; /** * Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent. */ locked?: pulumi.Input; /** * The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`. */ name?: pulumi.Input; project?: pulumi.Input; /** * Name of the SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`. */ securitySettings?: pulumi.Input; /** * Speech recognition related settings. */ speechToTextSettings?: pulumi.Input; /** * Immutable. Name of the start flow in this agent. A start flow will be automatically created when the agent is created, and can only be deleted by deleting the agent. Format: `projects//locations//agents//flows/`. */ startFlow?: pulumi.Input; /** * The list of all languages supported by the agent (except for the `default_language_code`). */ supportedLanguageCodes?: pulumi.Input[]>; /** * Settings on instructing the speech synthesizer on how to generate the output audio content. */ textToSpeechSettings?: pulumi.Input; /** * The time zone of the agent from the [time zone database](https://www.iana.org/time-zones), e.g., America/New_York, Europe/Paris. */ timeZone: pulumi.Input; }