import * as pulumi from "@pulumi/pulumi"; import { input as inputs, output as outputs } from "../../types"; /** * Creates an agent in the specified location. */ 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; /** * 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; /** * Required. 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. */ readonly enableStackdriverLogging: 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; /** * 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; /** * Required. 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 { readonly agentsId: 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. */ readonly 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. */ readonly defaultLanguageCode?: pulumi.Input; /** * The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected. */ readonly description?: pulumi.Input; /** * Required. The human-readable name of the agent, unique within the location. */ readonly displayName?: pulumi.Input; /** * Indicates if automatic spell correction is enabled in detect intent requests. */ readonly enableSpellCorrection?: pulumi.Input; /** * Indicates if stackdriver logging is enabled for the agent. */ readonly enableStackdriverLogging?: pulumi.Input; readonly locationsId: pulumi.Input; /** * 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.Input; readonly projectsId: pulumi.Input; /** * Name of the SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`. */ readonly securitySettings?: pulumi.Input; /** * Speech recognition related settings. */ readonly 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/`. */ readonly startFlow?: pulumi.Input; /** * Required. 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.Input; }