Reference documentation and code samples for the Google Cloud Ces V1 Client class LanguageSettings.
Language settings of the app.
Generated from protobuf message google.cloud.ces.v1.LanguageSettings
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ default_language_code
string
Optional. The default language code of the app.
↳ supported_language_codes
array
Optional. List of languages codes supported by the app, in addition to the default_language_code
.
↳ enable_multilingual_support
bool
Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
↳ fallback_action
string
Optional. 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.
getDefaultLanguageCode
Optional. The default language code of the app.
string
setDefaultLanguageCode
Optional. The default language code of the app.
var
string
$this
getSupportedLanguageCodes
Optional. List of languages codes supported by the app, in addition to the default_language_code
.
setSupportedLanguageCodes
Optional. List of languages codes supported by the app, in addition to the default_language_code
.
var
string[]
$this
getEnableMultilingualSupport
Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
bool
setEnableMultilingualSupport
Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
var
bool
$this
getFallbackAction
Optional. 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
setFallbackAction
Optional. 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.
var
string
$this

