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- (::String) — Optional. The default language code of the app.
#default_language_code=
def default_language_code=(value) -> ::String- value (::String) — Optional. The default language code of the app.
- (::String) — Optional. The default language code of the app.
#enable_multilingual_support
def enable_multilingual_support() -> ::Boolean- (::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- value (::Boolean) — Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
- (::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-
(::String) —
Optional. Deprecated: This feature is no longer supported. Use
enable_multilingual_supportinstead 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-
value (::String) —
Optional. Deprecated: This feature is no longer supported. Use
enable_multilingual_supportinstead 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.
-
(::String) —
Optional. Deprecated: This feature is no longer supported. Use
enable_multilingual_supportinstead 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>-
(::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>-
value (::Array<::String>) — Optional. List of languages codes supported by the app, in addition to the
default_language_code.
-
(::Array<::String>) — Optional. List of languages codes supported by the app, in addition to the
default_language_code.