Class: Google::Apis::TranslateV3::ImportDataRequest

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

Request message for ImportData.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportDataRequest

Returns a new instance of ImportDataRequest.



1257
1258
1259
# File 'lib/google/apis/translate_v3/classes.rb', line 1257

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

Instance Attribute Details

#input_configGoogle::Apis::TranslateV3::DatasetInputConfig

Input configuration for datasets. Corresponds to the JSON property inputConfig



1255
1256
1257
# File 'lib/google/apis/translate_v3/classes.rb', line 1255

def input_config
  @input_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1262
1263
1264
# File 'lib/google/apis/translate_v3/classes.rb', line 1262

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