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

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

#terms_pair=

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

#terms_set

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

#terms_set=

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