Cloud Translation V3 API - Class Google::Cloud::Translate::V3::Glossary (v0.4.2)

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

Represents a glossary built from user provided data.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#end_time

def end_time() -> ::Google::Protobuf::Timestamp
Returns

#entry_count

def entry_count() -> ::Integer
Returns
  • (::Integer) — Output only. The number of entries defined in the glossary.

#input_config

def input_config() -> ::Google::Cloud::Translate::V3::GlossaryInputConfig
Returns

#input_config=

def input_config=(value) -> ::Google::Cloud::Translate::V3::GlossaryInputConfig
Parameter
Returns

#language_codes_set

def language_codes_set() -> ::Google::Cloud::Translate::V3::Glossary::LanguageCodesSet
Returns

#language_codes_set=

def language_codes_set=(value) -> ::Google::Cloud::Translate::V3::Glossary::LanguageCodesSet
Parameter
Returns

#language_pair

def language_pair() -> ::Google::Cloud::Translate::V3::Glossary::LanguageCodePair
Returns

#language_pair=

def language_pair=(value) -> ::Google::Cloud::Translate::V3::Glossary::LanguageCodePair
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Required. The resource name of the glossary. Glossary names have the form projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Required. The resource name of the glossary. Glossary names have the form projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}.
Returns
  • (::String) — Required. The resource name of the glossary. Glossary names have the form projects/{project-number-or-id}/locations/{location-id}/glossaries/{glossary-id}.

#submit_time

def submit_time() -> ::Google::Protobuf::Timestamp
Returns