Class: Google::Apis::TranslateV3::ListAdaptiveMtFilesResponse
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::ListAdaptiveMtFilesResponse
- 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 listing all AdaptiveMt files under a given dataset.
Instance Attribute Summary collapse
-
#adaptive_mt_files ⇒ Array<Google::Apis::TranslateV3::AdaptiveMtFile>
Output only.
-
#next_page_token ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAdaptiveMtFilesResponse
constructor
A new instance of ListAdaptiveMtFilesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAdaptiveMtFilesResponse
Returns a new instance of ListAdaptiveMtFilesResponse.
1381 1382 1383 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1381 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adaptive_mt_files ⇒ Array<Google::Apis::TranslateV3::AdaptiveMtFile>
Output only. The Adaptive MT files.
Corresponds to the JSON property adaptiveMtFiles
1372 1373 1374 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1372 def adaptive_mt_files @adaptive_mt_files end |
#next_page_token ⇒ String
Optional. A token to retrieve a page of results. Pass this value in the
ListAdaptiveMtFilesRequest.page_token field in the subsequent call to
ListAdaptiveMtFiles
method to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
1379 1380 1381 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1379 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1386 1387 1388 1389 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1386 def update!(**args) @adaptive_mt_files = args[:adaptive_mt_files] if args.key?(:adaptive_mt_files) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |