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.
1362 1363 1364 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1362 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
1353 1354 1355 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1353 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
1360 1361 1362 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1360 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1367 1368 1369 1370 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1367 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 |