public sealed class LanguageSettings : IMessage<LanguageSettings>, IEquatable<LanguageSettings>, IDeepCloneable<LanguageSettings>, IBufferMessage, IMessageReference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class LanguageSettings.
Language settings of the app.
Implements
IMessageLanguageSettings, IEquatableLanguageSettings, IDeepCloneableLanguageSettings, IBufferMessage, IMessageNamespace
Google.Cloud.Ces.V1Assembly
Google.Cloud.Ces.V1.dll
Constructors
LanguageSettings()
public LanguageSettings()LanguageSettings(LanguageSettings)
public LanguageSettings(LanguageSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
LanguageSettings |
Properties
DefaultLanguageCode
public string DefaultLanguageCode { get; set; }Optional. The default language code of the app.
| Property Value | |
|---|---|
| Type | Description |
string |
|
EnableMultilingualSupport
public bool EnableMultilingualSupport { get; set; }Optional. Enables multilingual support. If true, agents in the app will use pre-built instructions to improve handling of multilingual input.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
FallbackAction
public string FallbackAction { get; set; }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][google.cloud.ces.v1.EndSession] signal with corresponding [metadata][google.cloud.ces.v1.EndSession.metadata] to terminate the conversation.
| Property Value | |
|---|---|
| Type | Description |
string |
|
SupportedLanguageCodes
public RepeatedField<string> SupportedLanguageCodes { get; }Optional. List of languages codes supported by the app, in addition to the
default_language_code.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldstring |
|