Gemini Enterprise for Customer Experience V1BETA API - Class Google::Cloud::Ces::V1beta::LanguageSettings (v0.1.0)

Reference documentation and code samples for the Gemini Enterprise for Customer Experience V1BETA API class Google::Cloud::Ces::V1beta::LanguageSettings.

Language settings of the app.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#default_language_code

def default_language_code() -> ::String
Returns
  • (::String) — Optional. The default language code of the app.

#default_language_code=

def default_language_code=(value) -> ::String
Parameter
  • value (::String) — Optional. The default language code of the app.
Returns
  • (::String) — Optional. The default language code of the app.

#enable_multilingual_support

def enable_multilingual_support() -> ::Boolean
Returns
  • (::Boolean) — Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.

#enable_multilingual_support=

def enable_multilingual_support=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
Returns
  • (::Boolean) — Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.

#fallback_action

def fallback_action() -> ::String
Returns
  • (::String) —

    Optional. Deprecated: This feature is no longer supported. Use enable_multilingual_support instead to improve handling of multilingual input. The action to perform when an agent receives input in an unsupported language.

    This can be a predefined action or a custom tool call. Valid values are:

    • A tool's full resource name, which triggers a specific tool execution.
    • A predefined system action, such as "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to terminate the conversation.

#fallback_action=

def fallback_action=(value) -> ::String
Parameter
  • value (::String) —

    Optional. Deprecated: This feature is no longer supported. Use enable_multilingual_support instead to improve handling of multilingual input. The action to perform when an agent receives input in an unsupported language.

    This can be a predefined action or a custom tool call. Valid values are:

    • A tool's full resource name, which triggers a specific tool execution.
    • A predefined system action, such as "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to terminate the conversation.
Returns
  • (::String) —

    Optional. Deprecated: This feature is no longer supported. Use enable_multilingual_support instead to improve handling of multilingual input. The action to perform when an agent receives input in an unsupported language.

    This can be a predefined action or a custom tool call. Valid values are:

    • A tool's full resource name, which triggers a specific tool execution.
    • A predefined system action, such as "escalate" or "exit", which triggers an EndSession signal with corresponding metadata to terminate the conversation.

#supported_language_codes

def supported_language_codes() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. List of languages codes supported by the app, in addition to the default_language_code.

#supported_language_codes=

def supported_language_codes=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. List of languages codes supported by the app, in addition to the default_language_code.
Returns
  • (::Array<::String>) — Optional. List of languages codes supported by the app, in addition to the default_language_code.