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
- (::String) — Describes the glossary entry.
#description=
def description=(value) -> ::String
- value (::String) — Describes the glossary entry.
- (::String) — Describes the glossary entry.
#name
def name() -> ::String
-
(::String) — Identifier. The resource name of the entry.
Format:
projects/*/locations/*/glossaries/*/glossaryEntries/*
#name=
def name=(value) -> ::String
-
value (::String) — Identifier. The resource name of the entry.
Format:
projects/*/locations/*/glossaries/*/glossaryEntries/*
-
(::String) — Identifier. The resource name of the entry.
Format:
projects/*/locations/*/glossaries/*/glossaryEntries/*
#terms_pair
def terms_pair() -> ::Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair
-
(::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
-
value (::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.
-
(::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
-
(::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
-
value (::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.
-
(::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.