Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Agent.
Agents are best described as Natural Language Understanding (NLU) modules that transform user requests into actionable data. You can include agents in your app, product, or service to determine user intent and respond to the user in a natural way.
After you create an agent, you can add Intents, [Entity Types][google.cloud.dialogflow.cx.v3.EntityType], Flows, Fulfillments, Webhooks, TransitionRouteGroups and so on to manage the conversation flows.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#advanced_settings
def advanced_settings() -> ::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings
- (::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings) — Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.
#advanced_settings=
def advanced_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings
- value (::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings) — Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.
- (::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings) — Hierarchical advanced settings for this agent. The settings exposed at the lower level overrides the settings exposed at the higher level.
#answer_feedback_settings
def answer_feedback_settings() -> ::Google::Cloud::Dialogflow::CX::V3::Agent::AnswerFeedbackSettings
- (::Google::Cloud::Dialogflow::CX::V3::Agent::AnswerFeedbackSettings) — Optional. Answer feedback collection settings.
#answer_feedback_settings=
def answer_feedback_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Agent::AnswerFeedbackSettings
- value (::Google::Cloud::Dialogflow::CX::V3::Agent::AnswerFeedbackSettings) — Optional. Answer feedback collection settings.
- (::Google::Cloud::Dialogflow::CX::V3::Agent::AnswerFeedbackSettings) — Optional. Answer feedback collection settings.
#avatar_uri
def avatar_uri() -> ::String
- (::String) — The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
#avatar_uri=
def avatar_uri=(value) -> ::String
- value (::String) — The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
- (::String) — The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
#client_certificate_settings
def client_certificate_settings() -> ::Google::Cloud::Dialogflow::CX::V3::Agent::ClientCertificateSettings
- (::Google::Cloud::Dialogflow::CX::V3::Agent::ClientCertificateSettings) — Optional. Settings for custom client certificates.
#client_certificate_settings=
def client_certificate_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Agent::ClientCertificateSettings
- value (::Google::Cloud::Dialogflow::CX::V3::Agent::ClientCertificateSettings) — Optional. Settings for custom client certificates.
- (::Google::Cloud::Dialogflow::CX::V3::Agent::ClientCertificateSettings) — Optional. Settings for custom client certificates.
#default_language_code
def default_language_code() -> ::String
- (::String) — Required. 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.
#default_language_code=
def default_language_code=(value) -> ::String
- value (::String) — Required. 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.
- (::String) — Required. 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
def description() -> ::String
- (::String) — The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
#description=
def description=(value) -> ::String
- value (::String) — The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
- (::String) — The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
#display_name
def display_name() -> ::String
- (::String) — Required. The human-readable name of the agent, unique within the location.
#display_name=
def display_name=(value) -> ::String
- value (::String) — Required. The human-readable name of the agent, unique within the location.
- (::String) — Required. The human-readable name of the agent, unique within the location.
#enable_multi_language_training
def enable_multi_language_training() -> ::Boolean
- (::Boolean) — Optional. Enable training multi-lingual models for this agent. These models will be trained on all the languages supported by the agent.
#enable_multi_language_training=
def enable_multi_language_training=(value) -> ::Boolean
- value (::Boolean) — Optional. Enable training multi-lingual models for this agent. These models will be trained on all the languages supported by the agent.
- (::Boolean) — Optional. Enable training multi-lingual models for this agent. These models will be trained on all the languages supported by the agent.
#enable_spell_correction
def enable_spell_correction() -> ::Boolean
- (::Boolean) — Indicates if automatic spell correction is enabled in detect intent requests.
#enable_spell_correction=
def enable_spell_correction=(value) -> ::Boolean
- value (::Boolean) — Indicates if automatic spell correction is enabled in detect intent requests.
- (::Boolean) — Indicates if automatic spell correction is enabled in detect intent requests.
#enable_stackdriver_logging
def enable_stackdriver_logging() -> ::Boolean
- (::Boolean) — Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.
#enable_stackdriver_logging=
def enable_stackdriver_logging=(value) -> ::Boolean
- value (::Boolean) — Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.
- (::Boolean) — Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.
#gen_app_builder_settings
def gen_app_builder_settings() -> ::Google::Cloud::Dialogflow::CX::V3::Agent::GenAppBuilderSettings
- (::Google::Cloud::Dialogflow::CX::V3::Agent::GenAppBuilderSettings) — Gen App Builder-related agent-level settings.
#gen_app_builder_settings=
def gen_app_builder_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Agent::GenAppBuilderSettings
- value (::Google::Cloud::Dialogflow::CX::V3::Agent::GenAppBuilderSettings) — Gen App Builder-related agent-level settings.
- (::Google::Cloud::Dialogflow::CX::V3::Agent::GenAppBuilderSettings) — Gen App Builder-related agent-level settings.
#git_integration_settings
def git_integration_settings() -> ::Google::Cloud::Dialogflow::CX::V3::Agent::GitIntegrationSettings
- (::Google::Cloud::Dialogflow::CX::V3::Agent::GitIntegrationSettings) — Git integration settings for this agent.
#git_integration_settings=
def git_integration_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Agent::GitIntegrationSettings
- value (::Google::Cloud::Dialogflow::CX::V3::Agent::GitIntegrationSettings) — Git integration settings for this agent.
- (::Google::Cloud::Dialogflow::CX::V3::Agent::GitIntegrationSettings) — Git integration settings for this agent.
#locked
def locked() -> ::Boolean
- (::Boolean) — Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for [RestoreAgent][].
#locked=
def locked=(value) -> ::Boolean
- value (::Boolean) — Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for [RestoreAgent][].
- (::Boolean) — Indicates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for [RestoreAgent][].
#name
def name() -> ::String
-
(::String) — The unique identifier of the agent.
Required for the
Agents.UpdateAgent
method.
Agents.CreateAgent
populates the name automatically.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
#name=
def name=(value) -> ::String
-
value (::String) — The unique identifier of the agent.
Required for the
Agents.UpdateAgent
method.
Agents.CreateAgent
populates the name automatically.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
-
(::String) — The unique identifier of the agent.
Required for the
Agents.UpdateAgent
method.
Agents.CreateAgent
populates the name automatically.
Format:
projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>
.
#personalization_settings
def personalization_settings() -> ::Google::Cloud::Dialogflow::CX::V3::Agent::PersonalizationSettings
- (::Google::Cloud::Dialogflow::CX::V3::Agent::PersonalizationSettings) — Optional. Settings for end user personalization.
#personalization_settings=
def personalization_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Agent::PersonalizationSettings
- value (::Google::Cloud::Dialogflow::CX::V3::Agent::PersonalizationSettings) — Optional. Settings for end user personalization.
- (::Google::Cloud::Dialogflow::CX::V3::Agent::PersonalizationSettings) — Optional. Settings for end user personalization.
#security_settings
def security_settings() -> ::String
-
(::String) — Name of the
SecuritySettings
reference for the agent. Format:
projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>
.
#security_settings=
def security_settings=(value) -> ::String
-
value (::String) — Name of the
SecuritySettings
reference for the agent. Format:
projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>
.
-
(::String) — Name of the
SecuritySettings
reference for the agent. Format:
projects/<ProjectID>/locations/<LocationID>/securitySettings/<SecuritySettingsID>
.
#speech_to_text_settings
def speech_to_text_settings() -> ::Google::Cloud::Dialogflow::CX::V3::SpeechToTextSettings
- (::Google::Cloud::Dialogflow::CX::V3::SpeechToTextSettings) — Speech recognition related settings.
#speech_to_text_settings=
def speech_to_text_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::SpeechToTextSettings
- value (::Google::Cloud::Dialogflow::CX::V3::SpeechToTextSettings) — Speech recognition related settings.
- (::Google::Cloud::Dialogflow::CX::V3::SpeechToTextSettings) — Speech recognition related settings.
#start_flow
def start_flow() -> ::String
-
(::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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>
.
#start_flow=
def start_flow=(value) -> ::String
-
value (::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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>
.
-
(::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/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>
.
#supported_language_codes
def supported_language_codes() -> ::Array<::String>
-
(::Array<::String>) — The list of all languages supported by the agent (except for the
default_language_code
).
#supported_language_codes=
def supported_language_codes=(value) -> ::Array<::String>
-
value (::Array<::String>) — The list of all languages supported by the agent (except for the
default_language_code
).
-
(::Array<::String>) — The list of all languages supported by the agent (except for the
default_language_code
).
#text_to_speech_settings
def text_to_speech_settings() -> ::Google::Cloud::Dialogflow::CX::V3::TextToSpeechSettings
- (::Google::Cloud::Dialogflow::CX::V3::TextToSpeechSettings) — Settings on instructing the speech synthesizer on how to generate the output audio content.
#text_to_speech_settings=
def text_to_speech_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::TextToSpeechSettings
- value (::Google::Cloud::Dialogflow::CX::V3::TextToSpeechSettings) — Settings on instructing the speech synthesizer on how to generate the output audio content.
- (::Google::Cloud::Dialogflow::CX::V3::TextToSpeechSettings) — Settings on instructing the speech synthesizer on how to generate the output audio content.
#time_zone
def time_zone() -> ::String
- (::String) — Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.
#time_zone=
def time_zone=(value) -> ::String
- value (::String) — Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.
- (::String) — Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.