import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Retrieves the specified agent. */ export declare function getAgent(args: GetAgentArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetAgentArgs { agentId: string; location: string; project?: string; } export interface GetAgentResult { /** * Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level. */ readonly advancedSettings: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1AdvancedSettingsResponse; /** * Optional. Answer feedback collection settings. */ readonly answerFeedbackSettings: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1AgentAnswerFeedbackSettingsResponse; /** * 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: string; /** * 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: string; /** * The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected. */ readonly description: string; /** * The human-readable name of the agent, unique within the location. */ readonly displayName: string; /** * Indicates if automatic spell correction is enabled in detect intent requests. */ readonly enableSpellCorrection: boolean; /** * Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead. */ readonly enableStackdriverLogging: boolean; /** * Gen App Builder-related agent-level settings. */ readonly genAppBuilderSettings: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1AgentGenAppBuilderSettingsResponse; /** * Git integration settings for this agent. */ readonly gitIntegrationSettings: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1AgentGitIntegrationSettingsResponse; /** * 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: boolean; /** * The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: `projects//locations//agents/`. */ readonly name: string; /** * Name of the SecuritySettings reference for the agent. Format: `projects//locations//securitySettings/`. */ readonly securitySettings: string; /** * Speech recognition related settings. */ readonly speechToTextSettings: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1SpeechToTextSettingsResponse; /** * 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: string; /** * The list of all languages supported by the agent (except for the `default_language_code`). */ readonly supportedLanguageCodes: string[]; /** * Settings on instructing the speech synthesizer on how to generate the output audio content. */ readonly textToSpeechSettings: outputs.dialogflow.v3beta1.GoogleCloudDialogflowCxV3beta1TextToSpeechSettingsResponse; /** * 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: string; } /** * Retrieves the specified agent. */ export declare function getAgentOutput(args: GetAgentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetAgentOutputArgs { agentId: pulumi.Input; location: pulumi.Input; project?: pulumi.Input; }