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.
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.
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.
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.
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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Cloud Translation V3 API - Class Google::Cloud::Translate::V3::GlossaryEntry (v1.5.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.5.2 (latest)](/ruby/docs/reference/google-cloud-translate-v3/latest/Google-Cloud-Translate-V3-GlossaryEntry)\n- [1.5.1](/ruby/docs/reference/google-cloud-translate-v3/1.5.1/Google-Cloud-Translate-V3-GlossaryEntry)\n- [1.4.1](/ruby/docs/reference/google-cloud-translate-v3/1.4.1/Google-Cloud-Translate-V3-GlossaryEntry)\n- [1.3.0](/ruby/docs/reference/google-cloud-translate-v3/1.3.0/Google-Cloud-Translate-V3-GlossaryEntry)\n- [1.2.0](/ruby/docs/reference/google-cloud-translate-v3/1.2.0/Google-Cloud-Translate-V3-GlossaryEntry)\n- [1.1.1](/ruby/docs/reference/google-cloud-translate-v3/1.1.1/Google-Cloud-Translate-V3-GlossaryEntry)\n- [1.0.0](/ruby/docs/reference/google-cloud-translate-v3/1.0.0/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.12.0](/ruby/docs/reference/google-cloud-translate-v3/0.12.0/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.11.2](/ruby/docs/reference/google-cloud-translate-v3/0.11.2/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.10.0](/ruby/docs/reference/google-cloud-translate-v3/0.10.0/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.9.0](/ruby/docs/reference/google-cloud-translate-v3/0.9.0/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.8.0](/ruby/docs/reference/google-cloud-translate-v3/0.8.0/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.7.3](/ruby/docs/reference/google-cloud-translate-v3/0.7.3/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.6.0](/ruby/docs/reference/google-cloud-translate-v3/0.6.0/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.5.2](/ruby/docs/reference/google-cloud-translate-v3/0.5.2/Google-Cloud-Translate-V3-GlossaryEntry)\n- [0.4.2](/ruby/docs/reference/google-cloud-translate-v3/0.4.2/Google-Cloud-Translate-V3-GlossaryEntry) \nReference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::GlossaryEntry.\n\nRepresents a single entry in a glossary. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #description\n\n def description() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Describes the glossary entry.\n\n### #description=\n\n def description=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Describes the glossary entry. \n**Returns**\n\n- (::String) --- Describes the glossary entry.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*` \n**Returns**\n\n- (::String) --- Identifier. The resource name of the entry. Format: `projects/*/locations/*/glossaries/*/glossaryEntries/*`\n\n### #terms_pair\n\n def terms_pair() -\u003e ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair\n\n**Returns**\n\n- ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair](./Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsPair)) --- Used for an unidirectional glossary.\n\n\n 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.\n\n### #terms_pair=\n\n def terms_pair=(value) -\u003e ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair](./Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsPair)) --- Used for an unidirectional glossary.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair](./Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsPair)) --- Used for an unidirectional glossary.\n\n\n 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.\n\n### #terms_set\n\n def terms_set() -\u003e ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet\n\n**Returns**\n\n- ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet](./Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsSet)) --- Used for an equivalent term sets glossary.\n\n\n 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.\n\n### #terms_set=\n\n def terms_set=(value) -\u003e ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet\n\n**Parameter**\n\n- **value** ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet](./Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsSet)) --- Used for an equivalent term sets glossary.\n\n\nNote: 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. \n**Returns**\n\n- ([::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet](./Google-Cloud-Translate-V3-GlossaryEntry-GlossaryTermsSet)) --- Used for an equivalent term sets glossary.\n\n\n 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."]]