Cloud Translation V3 API - Class Google::Cloud::Translate::V3::GlossaryTerm (v1.1.0)

Reference documentation and code samples for the Cloud Translation V3 API class Google::Cloud::Translate::V3::GlossaryTerm.

Represents a single glossary term

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#language_code

def language_code() -> ::String
Returns
  • (::String) — The language for this glossary term.

#language_code=

def language_code=(value) -> ::String
Parameter
  • value (::String) — The language for this glossary term.
Returns
  • (::String) — The language for this glossary term.

#text

def text() -> ::String
Returns
  • (::String) — The text for the glossary term.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — The text for the glossary term.
Returns
  • (::String) — The text for the glossary term.