# Google Cloud Translation v3 API - Class TranslateTextGlossaryConfig (3.11.0)

3.11.0 (latest) 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

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

Reference documentation and code samples for the Google Cloud Translation v3 API class TranslateTextGlossaryConfig.

Configures which glossary is used for a specific target language and defines
options for applying that glossary.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[TranslateTextGlossaryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[TranslateTextGlossaryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[TranslateTextGlossaryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## 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.Translate.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3)

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### TranslateTextGlossaryConfig()

    public TranslateTextGlossaryConfig()

### TranslateTextGlossaryConfig(TranslateTextGlossaryConfig)

    public TranslateTextGlossaryConfig(TranslateTextGlossaryConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig` |

## Properties

### ContextualTranslationEnabled

    public bool ContextualTranslationEnabled { get; set; }

Optional. If set to true, the glossary will be used for contextual
translation.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Glossary

    public string Glossary { get; set; }

Required. The `glossary` to be applied for this translation.

The format depends on the glossary:

- User-provided custom glossary: `projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### GlossaryAsGlossaryName

    public GlossaryName GlossaryAsGlossaryName { get; set; }

[GlossaryName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.GlossaryName)-typed view over the [Glossary](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.TranslateTextGlossaryConfig#Google_Cloud_Translate_V3_TranslateTextGlossaryConfig_Glossary) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.GlossaryName` |   |

### IgnoreCase

    public bool IgnoreCase { get; set; }

Optional. Indicates match is case insensitive. The default value is `false`
if missing.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |