1.1.0 (latest) 1.0.0

    public sealed class LanguageSettings : IMessage<LanguageSettings>, IEquatable<LanguageSettings>, IDeepCloneable<LanguageSettings>, IBufferMessage, IMessage

Reference documentation and code samples for the Gemini Enterprise for Customer Experience v1 API class LanguageSettings.

Language settings of the app.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> LanguageSettings

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[LanguageSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.LanguageSettings.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[LanguageSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.LanguageSettings.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[LanguageSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.LanguageSettings.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Ces.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Ces.V1/latest/Google.Cloud.Ces.V1.md.txt)

## Assembly

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

    [Obsolete]
    public string FallbackAction { get; set; }

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\]\[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` |   |