Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::GlossaryEntry::GlossaryTermsPair.
Represents a single entry for an unidirectional glossary.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#source_term
def source_term() -> ::Google::Cloud::Translate::V3::GlossaryTerm
Returns
- (::Google::Cloud::Translate::V3::GlossaryTerm) — The source term is the term that will get match in the text,
#source_term=
def source_term=(value) -> ::Google::Cloud::Translate::V3::GlossaryTerm
Parameter
- value (::Google::Cloud::Translate::V3::GlossaryTerm) — The source term is the term that will get match in the text,
Returns
- (::Google::Cloud::Translate::V3::GlossaryTerm) — The source term is the term that will get match in the text,
#target_term
def target_term() -> ::Google::Cloud::Translate::V3::GlossaryTerm
Returns
- (::Google::Cloud::Translate::V3::GlossaryTerm) — The term that will replace the match source term.
#target_term=
def target_term=(value) -> ::Google::Cloud::Translate::V3::GlossaryTerm
Parameter
- value (::Google::Cloud::Translate::V3::GlossaryTerm) — The term that will replace the match source term.
Returns
- (::Google::Cloud::Translate::V3::GlossaryTerm) — The term that will replace the match source term.