Class: Google::Apis::TranslateV3::ListAdaptiveMtDatasetsResponse
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::ListAdaptiveMtDatasetsResponse
- 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
A list of AdaptiveMtDatasets.
Instance Attribute Summary collapse
-
#adaptive_mt_datasets ⇒ Array<Google::Apis::TranslateV3::AdaptiveMtDataset>
Output only.
-
#next_page_token ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAdaptiveMtDatasetsResponse
constructor
A new instance of ListAdaptiveMtDatasetsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAdaptiveMtDatasetsResponse
Returns a new instance of ListAdaptiveMtDatasetsResponse.
1384 1385 1386 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1384 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adaptive_mt_datasets ⇒ Array<Google::Apis::TranslateV3::AdaptiveMtDataset>
Output only. A list of Adaptive MT datasets.
Corresponds to the JSON property adaptiveMtDatasets
1375 1376 1377 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1375 def adaptive_mt_datasets @adaptive_mt_datasets end |
#next_page_token ⇒ String
Optional. A token to retrieve a page of results. Pass this value in the [
ListAdaptiveMtDatasetsRequest.page_token] field in the subsequent call to
ListAdaptiveMtDatasets
method to retrieve the next page of results.
Corresponds to the JSON property nextPageToken
1382 1383 1384 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1382 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1389 1390 1391 1392 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1389 def update!(**args) @adaptive_mt_datasets = args[:adaptive_mt_datasets] if args.key?(:adaptive_mt_datasets) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |