GetAgentResult class

Result data returned by getAgent.

Constructors

GetAgentResult({required GoogleCloudDialogflowCxV3AdvancedSettingsResponse advancedSettings, required GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettingsResponse answerFeedbackSettings, required String avatarUri, required String defaultLanguageCode, required String description, required String displayName, required bool enableSpellCorrection, required bool enableStackdriverLogging, required GoogleCloudDialogflowCxV3AgentGenAppBuilderSettingsResponse genAppBuilderSettings, required GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsResponse gitIntegrationSettings, required bool locked, required String name, required String securitySettings, required GoogleCloudDialogflowCxV3SpeechToTextSettingsResponse speechToTextSettings, required String startFlow, required List<String> supportedLanguageCodes, required GoogleCloudDialogflowCxV3TextToSpeechSettingsResponse textToSpeechSettings, required String timeZone})
Creates a new GetAgentResult. 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. 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/. 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
GetAgentResult.fromMap(Map<String, dynamic> map)
factory

Properties

advancedSettings → GoogleCloudDialogflowCxV3AdvancedSettingsResponse
Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.
final
answerFeedbackSettings → GoogleCloudDialogflowCxV3AgentAnswerFeedbackSettingsResponse
Optional. Answer feedback collection settings.
final
avatarUri → 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 → 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 → String
The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
final
displayName → String
The human-readable name of the agent, unique within the location.
final
enableSpellCorrection → bool
Indicates if automatic spell correction is enabled in detect intent requests.
final
enableStackdriverLogging → bool
Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.
final
genAppBuilderSettings → GoogleCloudDialogflowCxV3AgentGenAppBuilderSettingsResponse
Gen App Builder-related agent-level settings.
final
gitIntegrationSettings → GoogleCloudDialogflowCxV3AgentGitIntegrationSettingsResponse
Git integration settings for this agent.
final
hashCode → int
The hash code for this object.
no setterinherited
locked → 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 → String
The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects//locations//agents/.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securitySettings → String
Name of the SecuritySettings reference for the agent. Format: projects//locations//securitySettings/.
final
speechToTextSettings → GoogleCloudDialogflowCxV3SpeechToTextSettingsResponse
Speech recognition related settings.
final
startFlow → 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 → List<String>
The list of all languages supported by the agent (except for the default_language_code).
final
textToSpeechSettings → GoogleCloudDialogflowCxV3TextToSpeechSettingsResponse
Settings on instructing the speech synthesizer on how to generate the output audio content.
final
timeZone → 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