Class: Google::Apis::TranslateV3::ImportAdaptiveMtFileResponse

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

The response for importing an AdaptiveMtFile

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ImportAdaptiveMtFileResponse

Returns a new instance of ImportAdaptiveMtFileResponse.



1189
1190
1191
# File 'lib/google/apis/translate_v3/classes.rb', line 1189

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

Instance Attribute Details

#adaptive_mt_fileGoogle::Apis::TranslateV3::AdaptiveMtFile

An AdaptiveMtFile. Corresponds to the JSON property adaptiveMtFile



1187
1188
1189
# File 'lib/google/apis/translate_v3/classes.rb', line 1187

def adaptive_mt_file
  @adaptive_mt_file
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1194
1195
1196
# File 'lib/google/apis/translate_v3/classes.rb', line 1194

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