class Google::Apis::TranslateV3::Glossary
Represents a glossary built from user provided data.
Attributes
Output only. When the glossary creation was finished. Corresponds to the JSON property `endTime` @return [String]
Output only. The number of entries defined in the glossary. Corresponds to the JSON property `entryCount` @return [Fixnum]
Input configuration for glossaries. Corresponds to the JSON property `inputConfig` @return [Google::Apis::TranslateV3::GlossaryInputConfig]
Used with equivalent term set glossaries. Corresponds to the JSON property `languageCodesSet` @return [Google::Apis::TranslateV3::LanguageCodesSet]
Used with unidirectional glossaries. Corresponds to the JSON property `languagePair` @return [Google::Apis::TranslateV3::LanguageCodePair]
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]
Output only. When CreateGlossary was called. Corresponds to the JSON property `submitTime` @return [String]
Public Class Methods
# File lib/google/apis/translate_v3/classes.rb, line 301 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/translate_v3/classes.rb, line 306 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