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.



1409
1410
1411
# File 'lib/google/apis/translate_v3/classes.rb', line 1409

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



1400
1401
1402
# File 'lib/google/apis/translate_v3/classes.rb', line 1400

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)


1407
1408
1409
# File 'lib/google/apis/translate_v3/classes.rb', line 1407

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1414
1415
1416
1417
# File 'lib/google/apis/translate_v3/classes.rb', line 1414

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