LanguageSettings(mapping=None, *, ignore_unknown_fields=False, **kwargs)Language settings of the app.
Attributes |
|
|---|---|
| Name | Description |
default_language_code |
str
Optional. The default language code of the app. |
supported_language_codes |
MutableSequence[str]
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 |
str
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.
|