Class: Google::Apis::TranslateV3::GlossaryInputConfig

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/translate_v3/classes.rb,
lib/google/apis/translate_v3/representations.rb,
lib/google/apis/translate_v3/representations.rb

Overview

Input configuration for glossaries.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GlossaryInputConfig

Returns a new instance of GlossaryInputConfig.



327
328
329
# File 'lib/google/apis/translate_v3/classes.rb', line 327

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#gcs_sourceGoogle::Apis::TranslateV3::GcsSource

The Google Cloud Storage location for the input content. Corresponds to the JSON property gcsSource



325
326
327
# File 'lib/google/apis/translate_v3/classes.rb', line 325

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



332
333
334
# File 'lib/google/apis/translate_v3/classes.rb', line 332

def update!(**args)
  @gcs_source = args[:gcs_source] if args.key?(:gcs_source)
end