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 AdaptiveMtTranslateRequest.Types.GlossaryConfig : IMessage<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IEquatable<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IDeepCloneable<AdaptiveMtTranslateRequest.Types.GlossaryConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Translation v3 API class AdaptiveMtTranslateRequest.Types.GlossaryConfig.

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) \> AdaptiveMtTranslateRequest.Types.GlossaryConfig

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[AdaptiveMtTranslateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.md.txt)[GlossaryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.GlossaryConfig.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[AdaptiveMtTranslateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.md.txt)[GlossaryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.GlossaryConfig.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[AdaptiveMtTranslateRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.md.txt)[GlossaryConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.GlossaryConfig.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.Translate.V3](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.md.txt)

## Assembly

Google.Cloud.Translate.V3.dll

## Constructors

### GlossaryConfig()

    public GlossaryConfig()

### GlossaryConfig(GlossaryConfig)

    public GlossaryConfig(AdaptiveMtTranslateRequest.Types.GlossaryConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `AdaptiveMtTranslateRequestTypesGlossaryConfig` |

## Properties

### ContextualTranslationEnabled

    public bool ContextualTranslationEnabled { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### 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** |
| `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.md.txt)-typed view over the [Glossary](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.AdaptiveMtTranslateRequest.Types.GlossaryConfig.md.txt#Google_Cloud_Translate_V3_AdaptiveMtTranslateRequest_Types_GlossaryConfig_Glossary) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `GlossaryName` |   |

### IgnoreCase

    public bool IgnoreCase { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |