class Google::Apis::TranslateV3beta1::Glossary

Represents a glossary built from user provided data.

Attributes

end_time[RW]

Output only. When the glossary creation was finished. Corresponds to the JSON property `endTime` @return [String]

entry_count[RW]

Output only. The number of entries defined in the glossary. Corresponds to the JSON property `entryCount` @return [Fixnum]

input_config[RW]

Input configuration for glossaries. Corresponds to the JSON property `inputConfig` @return [Google::Apis::TranslateV3beta1::GlossaryInputConfig]

language_codes_set[RW]

Used with equivalent term set glossaries. Corresponds to the JSON property `languageCodesSet` @return [Google::Apis::TranslateV3beta1::LanguageCodesSet]

language_pair[RW]

Used with unidirectional glossaries. Corresponds to the JSON property `languagePair` @return [Google::Apis::TranslateV3beta1::LanguageCodePair]

name[RW]

Required. The resource name of the glossary. Glossary names have the form ` projects/`project-number-or-id`/locations/`location-id`/glossaries/`glossary- id“. Corresponds to the JSON property `name` @return [String]

submit_time[RW]

Output only. When CreateGlossary was called. Corresponds to the JSON property `submitTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/translate_v3beta1/classes.rb, line 503
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/translate_v3beta1/classes.rb, line 508
def update!(**args)
  @end_time = args[:end_time] if args.key?(:end_time)
  @entry_count = args[:entry_count] if args.key?(:entry_count)
  @input_config = args[:input_config] if args.key?(:input_config)
  @language_codes_set = args[:language_codes_set] if args.key?(:language_codes_set)
  @language_pair = args[:language_pair] if args.key?(:language_pair)
  @name = args[:name] if args.key?(:name)
  @submit_time = args[:submit_time] if args.key?(:submit_time)
end