Dialogflow CX V3 API - Class Google::Cloud::Dialogflow::CX::V3::Agent (v0.7.1)

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, Flows, Fulfillments, Webhooks, 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
Returns

#advanced_settings=

def advanced_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::AdvancedSettings
Parameter
Returns

#avatar_uri

def avatar_uri() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.
Returns
  • (::String) — The URI of the agent's avatar. Avatars are used throughout the Dialogflow console and in the self-hosted Web Demo integration.

#default_language_code

def default_language_code() -> ::String
Returns
  • (::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
Parameter
  • 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.
Returns
  • (::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
Returns
  • (::String) — The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.
Returns
  • (::String) — The description of the agent. The maximum length is 500 characters. If exceeded, the request is rejected.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The human-readable name of the agent, unique within the location.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The human-readable name of the agent, unique within the location.
Returns
  • (::String) — Required. The human-readable name of the agent, unique within the location.

#enable_spell_correction

def enable_spell_correction() -> ::Boolean
Returns
  • (::Boolean) — Indicates if automatic spell correction is enabled in detect intent requests.

#enable_spell_correction=

def enable_spell_correction=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Indicates if automatic spell correction is enabled in detect intent requests.
Returns
  • (::Boolean) — Indicates if automatic spell correction is enabled in detect intent requests.

#enable_stackdriver_logging

def enable_stackdriver_logging() -> ::Boolean
Returns
  • (::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
Parameter
  • value (::Boolean) — Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.
Returns
  • (::Boolean) — Indicates if stackdriver logging is enabled for the agent. Please use agent.advanced_settings instead.

#locked

def locked() -> ::Boolean
Returns
  • (::Boolean) — Indiciates 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
Parameter
  • value (::Boolean) — Indiciates whether the agent is locked for changes. If the agent is locked, modifications to the agent will be rejected except for [RestoreAgent][].
Returns
  • (::Boolean) — Indiciates 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
Returns
  • (::String) — The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.
Returns
  • (::String) — The unique identifier of the agent. Required for the Agents.UpdateAgent method. Agents.CreateAgent populates the name automatically. Format: projects/<Project ID>/locations/<Location ID>/agents/<Agent ID>.

#security_settings

def security_settings() -> ::String
Returns
  • (::String) — Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

#security_settings=

def security_settings=(value) -> ::String
Parameter
  • value (::String) — Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.
Returns
  • (::String) — Name of the SecuritySettings reference for the agent. Format: projects/<Project ID>/locations/<Location ID>/securitySettings/<Security Settings ID>.

#speech_to_text_settings

def speech_to_text_settings() -> ::Google::Cloud::Dialogflow::CX::V3::SpeechToTextSettings
Returns

#speech_to_text_settings=

def speech_to_text_settings=(value) -> ::Google::Cloud::Dialogflow::CX::V3::SpeechToTextSettings
Parameter
Returns

#start_flow

def start_flow() -> ::String
Returns
  • (::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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

#start_flow=

def start_flow=(value) -> ::String
Parameter
  • 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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.
Returns
  • (::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/<Project ID>/locations/<Location ID>/agents/<Agent ID>/flows/<Flow ID>.

#supported_language_codes

def supported_language_codes() -> ::Array<::String>
Returns
  • (::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>
Parameter
  • value (::Array<::String>) — The list of all languages supported by the agent (except for the default_language_code).
Returns
  • (::Array<::String>) — The list of all languages supported by the agent (except for the default_language_code).

#time_zone

def time_zone() -> ::String
Returns
  • (::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
Parameter
  • value (::String) — Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.
Returns
  • (::String) — Required. The time zone of the agent from the time zone database, e.g., America/New_York, Europe/Paris.