AgentArgs class

The set of arguments for Agent. The set of arguments for Agent.

Constructors

AgentArgs({Input<GoogleCloudDialogflowCxV3AdvancedSettings>? advancedSettings, Input<GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings>? answerFeedbackSettings, Input<String>? avatarUri, required Input<String> defaultLanguageCode, Input<String>? description, required Input<String> displayName, Input<bool>? enableSpellCorrection, Input<bool>? enableStackdriverLogging, Input<GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings>? genAppBuilderSettings, Input<GoogleCloudDialogflowCxV3AgentGitIntegrationSettings>? gitIntegrationSettings, Input<String>? location, Input<bool>? locked, Input<String>? name, Input<String>? project, Input<String>? securitySettings, Input<GoogleCloudDialogflowCxV3SpeechToTextSettings>? speechToTextSettings, Input<String>? startFlow, Input<List<String>>? supportedLanguageCodes, Input<GoogleCloudDialogflowCxV3TextToSpeechSettings>? textToSpeechSettings, required Input<String> timeZone})
Creates a new AgentArgs. advancedSettings Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level. answerFeedbackSettings Optional. Answer feedback collection settings. avatarUri The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration. defaultLanguageCode 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. description The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected. displayName The human-readable name of the agent, unique within the location. enableSpellCorrection Indicates if automatic spell correction is enabled in detect intent requests. enableStackdriverLogging Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead. genAppBuilderSettings Gen App Builder-related agent-level settings. gitIntegrationSettings Git integration settings for this agent. location Optional. locked Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent. name The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects//locations//agents/. project Optional. securitySettings Name of the SecuritySettings reference for the agent. Format: projects//locations//securitySettings/. speechToTextSettings Speech recognition related settings. startFlow 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/. supportedLanguageCodes The list of all languages supported by the agent (except for the default_language_code). textToSpeechSettings Settings on instructing the speech synthesizer on how to generate the output audio content. timeZone The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.
const
AgentArgs.fromMap(Map<String, dynamic> map)
factory

Properties

advancedSettings → Input<GoogleCloudDialogflowCxV3AdvancedSettings>?
Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.
final
answerFeedbackSettings → Input<GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettings>?
Optional. Answer feedback collection settings.
final
avatarUri → Input<String>?
The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
final
defaultLanguageCode → Input<String>
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.
final
description → Input<String>?
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
final
displayName → Input<String>
The human-readable name of the agent, unique within the location.
final
enableSpellCorrection → Input<bool>?
Indicates if automatic spell correction is enabled in detect intent requests.
final
enableStackdriverLogging → Input<bool>?
Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.
final
genAppBuilderSettings → Input<GoogleCloudDialogflowCxV3AgentGenAppBuilderSettings>?
Gen App Builder-related agent-level settings.
final
gitIntegrationSettings → Input<GoogleCloudDialogflowCxV3AgentGitIntegrationSettings>?
Git integration settings for this agent.
final
hashCode → int
The hash code for this object.
no setterinherited
location → Input<String>?
final
locked → Input<bool>?
Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for RestoreAgent.
final
name → Input<String>?
The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects//locations//agents/.
final
project → Input<String>?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securitySettings → Input<String>?
Name of the SecuritySettings reference for the agent. Format: projects//locations//securitySettings/.
final
speechToTextSettings → Input<GoogleCloudDialogflowCxV3SpeechToTextSettings>?
Speech recognition related settings.
final
startFlow → Input<String>?
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/.
final
supportedLanguageCodes → Input<List<String>>?
The list of all languages supported by the agent (except for the default_language_code).
final
textToSpeechSettings → Input<GoogleCloudDialogflowCxV3TextToSpeechSettings>?
Settings on instructing the speech synthesizer on how to generate the output audio content.
final
timeZone → Input<String>
The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited