AgentArgs

data class AgentArgs(val advancedSettings: Output<GoogleCloudDialogflowCxV3AdvancedSettingsArgs>? = null, val avatarUri: Output<String>? = null, val defaultLanguageCode: Output<String>? = null, val description: Output<String>? = null, val displayName: Output<String>? = null, val enableSpellCorrection: Output<Boolean>? = null, val enableStackdriverLogging: Output<Boolean>? = null, val location: Output<String>? = null, val locked: Output<Boolean>? = null, val name: Output<String>? = null, val project: Output<String>? = null, val securitySettings: Output<String>? = null, val speechToTextSettings: Output<GoogleCloudDialogflowCxV3SpeechToTextSettingsArgs>? = null, val startFlow: Output<String>? = null, val supportedLanguageCodes: Output<List<String>>? = null, val textToSpeechSettings: Output<GoogleCloudDialogflowCxV3TextToSpeechSettingsArgs>? = null, val timeZone: Output<String>? = null) : ConvertibleToJava<AgentArgs>

Creates an agent in the specified location. Note: You should always train flows prior to sending them queries. See the training documentation.

Constructors

Link copied to clipboard
fun AgentArgs(advancedSettings: Output<GoogleCloudDialogflowCxV3AdvancedSettingsArgs>? = null, avatarUri: Output<String>? = null, defaultLanguageCode: Output<String>? = null, description: Output<String>? = null, displayName: Output<String>? = null, enableSpellCorrection: Output<Boolean>? = null, enableStackdriverLogging: Output<Boolean>? = null, location: Output<String>? = null, locked: Output<Boolean>? = null, name: Output<String>? = null, project: Output<String>? = null, securitySettings: Output<String>? = null, speechToTextSettings: Output<GoogleCloudDialogflowCxV3SpeechToTextSettingsArgs>? = null, startFlow: Output<String>? = null, supportedLanguageCodes: Output<List<String>>? = null, textToSpeechSettings: Output<GoogleCloudDialogflowCxV3TextToSpeechSettingsArgs>? = null, timeZone: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): AgentArgs

Properties

Link copied to clipboard

Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.

Link copied to clipboard
val avatarUri: Output<String>? = null

The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

Link copied to clipboard
val defaultLanguageCode: Output<String>? = null

Immutable. The default language of the agent as a language tag. See Language Support for a list of the currently supported language codes. This field cannot be set by the Agents.UpdateAgent method.

Link copied to clipboard
val description: Output<String>? = null

The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

Link copied to clipboard
val displayName: Output<String>? = null

The human-readable name of the agent, unique within the location.

Link copied to clipboard
val enableSpellCorrection: Output<Boolean>? = null

Indicates if automatic spell correction is enabled in detect intent requests.

Link copied to clipboard
val enableStackdriverLogging: Output<Boolean>? = null

Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.

Link copied to clipboard
val location: Output<String>? = null
Link copied to clipboard
val locked: Output<Boolean>? = null

Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent.

Link copied to clipboard
val name: Output<String>? = null

The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects//locations//agents/.

Link copied to clipboard
val project: Output<String>? = null
Link copied to clipboard
val securitySettings: Output<String>? = null

Name of the SecuritySettings reference for the agent. Format: projects//locations//securitySettings/.

Link copied to clipboard

Speech recognition related settings.

Link copied to clipboard
val startFlow: Output<String>? = null

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/.

Link copied to clipboard
val supportedLanguageCodes: Output<List<String>>? = null

The list of all languages supported by the agent (except for the default_language_code).

Link copied to clipboard

Settings on instructing the speech synthesizer on how to generate the output audio content.

Link copied to clipboard
val timeZone: Output<String>? = null

The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.