# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::GlossaryEntry (v1.10.0)

1.10.0 (latest) 1.9.0 1.8.0 1.7.1 1.6.0 1.5.2 1.4.1 1.3.0 1.2.0 1.1.1 1.0.0 0.12.0 0.11.2 0.10.0 0.9.0 0.8.0 0.7.3 0.6.0 0.5.2 0.4.2 Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::GlossaryEntry.

Represents a single entry in a glossary.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #description

    def description() -> ::String

**Returns**

- (::String) --- Describes the glossary entry.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Describes the glossary entry.
**Returns**

- (::String) --- Describes the glossary entry.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`
**Returns**

- (::String) --- Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`

### #terms_pair

    def terms_pair() -> ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair

**Returns**

- ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsPair)) --- Used for an unidirectional glossary.


  Note: The following fields are mutually exclusive: `terms_pair`, `terms_set`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #terms_pair=

    def terms_pair=(value) -> ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair

**Parameter**

- **value** ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsPair)) --- Used for an unidirectional glossary.


  Note: The following fields are mutually exclusive: `terms_pair`, `terms_set`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsPair)) --- Used for an unidirectional glossary.


  Note: The following fields are mutually exclusive: `terms_pair`, `terms_set`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #terms_set

    def terms_set() -> ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet

**Returns**

- ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsSet)) --- Used for an equivalent term sets glossary.


  Note: The following fields are mutually exclusive: `terms_set`, `terms_pair`. If a field in that set is populated, all other fields in the set will automatically be cleared.

### #terms_set=

    def terms_set=(value) -> ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet

**Parameter**

- **value** ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsSet)) --- Used for an equivalent term sets glossary.


  Note: The following fields are mutually exclusive: `terms_set`, `terms_pair`. If a field in that set is populated, all other fields in the set will automatically be cleared.
**Returns**

- ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsSet)) --- Used for an equivalent term sets glossary.


  Note: The following fields are mutually exclusive: `terms_set`, `terms_pair`. If a field in that set is populated, all other fields in the set will automatically be cleared.