# Google Cloud Translation v3 API - Class Glossary (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 Glossary : IMessage<Glossary>, IEquatable<Glossary>, IDeepCloneable<Glossary>, IBufferMessage, IMessage

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

Represents a glossary built from user-provided data.

## Inheritance

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

## Implements

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

### Glossary()

    public Glossary()

### Glossary(Glossary)

    public Glossary(Glossary other)

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

## Properties

### DisplayName

    public string DisplayName { get; set; }

Optional. The display name of the glossary.

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

### EndTime

    public Timestamp EndTime { get; set; }

Output only. When the glossary creation was finished.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |

### EntryCount

    public int EntryCount { get; set; }

Output only. The number of entries defined in the glossary.

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

### GlossaryName

    public GlossaryName GlossaryName { 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 [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.Glossary#Google_Cloud_Translate_V3_Glossary_Name) 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` |   |

### InputConfig

    public GlossaryInputConfig InputConfig { get; set; }

Required. Provides examples to build the glossary from.
Total glossary must not exceed 10M Unicode codepoints.

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

### LanguageCodesSet

    public Glossary.Types.LanguageCodesSet LanguageCodesSet { get; set; }

Used with equivalent term set glossaries.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.Glossaryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.Glossary.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.Glossary.Types.LanguageCodesSet` |   |

### LanguagePair

    public Glossary.Types.LanguageCodePair LanguagePair { get; set; }

Used with unidirectional glossaries.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.Glossaryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.Glossary.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.Glossary.Types.LanguageCodePair` |   |

### LanguagesCase

    public Glossary.LanguagesOneofCase LanguagesCase { get; }

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

### Name

    public string Name { get; set; }

Required. The resource name of the glossary. Glossary names have the form
`projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}`.

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

### SubmitTime

    public Timestamp SubmitTime { get; set; }

Output only. When CreateGlossary was called.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.WellKnownTypes.Timestamp.html` |   |