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) — Used for an unidirectional glossary.
#terms_pair=
def terms_pair=(value) -> ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair
Parameter
- value (::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair) — Used for an unidirectional glossary.
Returns
- (::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair) — Used for an unidirectional glossary.
#terms_set
def terms_set() -> ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet
Returns
- (::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet) — Used for an equivalent term sets glossary.
#terms_set=
def terms_set=(value) -> ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet
Parameter
- value (::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet) — Used for an equivalent term sets glossary.
Returns
- (::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsSet) — Used for an equivalent term sets glossary.