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

Reference documentation and code samples for the Google Cloud Translation v3 API class GlossaryEntry.Types.GlossaryTermsPair.

Represents a single entry for an unidirectional glossary.

## Inheritance

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

## Implements

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

### GlossaryTermsPair()

    public GlossaryTermsPair()

### GlossaryTermsPair(GlossaryTermsPair)

    public GlossaryTermsPair(GlossaryEntry.Types.GlossaryTermsPair other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.GlossaryEntryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.GlossaryEntry.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Translate.V3/latest/Google.Cloud.Translate.V3.GlossaryEntry.Types.GlossaryTermsPair` |

## Properties

### SourceTerm

    public GlossaryTerm SourceTerm { get; set; }

The source term is the term that will get match in the text,

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

### TargetTerm

    public GlossaryTerm TargetTerm { get; set; }

The term that will replace the match source term.

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