Class: Google::Apis::TranslateV3::ListAdaptiveMtDatasetsResponse

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

A list of AdaptiveMtDatasets.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAdaptiveMtDatasetsResponse

Returns a new instance of ListAdaptiveMtDatasetsResponse.



1354
1355
1356
# File 'lib/google/apis/translate_v3/classes.rb', line 1354

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

Instance Attribute Details

#adaptive_mt_datasetsArray<Google::Apis::TranslateV3::AdaptiveMtDataset>

Output only. A list of Adaptive MT datasets. Corresponds to the JSON property adaptiveMtDatasets



1345
1346
1347
# File 'lib/google/apis/translate_v3/classes.rb', line 1345

def adaptive_mt_datasets
  @adaptive_mt_datasets
end

#next_page_tokenString

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

Returns:

  • (String)


1352
1353
1354
# File 'lib/google/apis/translate_v3/classes.rb', line 1352

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1359
1360
1361
1362
# File 'lib/google/apis/translate_v3/classes.rb', line 1359

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