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.



1074
1075
1076
# File 'lib/google/apis/translate_v3/classes.rb', line 1074

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



1072
1073
1074
# File 'lib/google/apis/translate_v3/classes.rb', line 1072

def gcs_source
  @gcs_source
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1079
1080
1081
# File 'lib/google/apis/translate_v3/classes.rb', line 1079

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