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.



1335
1336
1337
# File 'lib/google/apis/translate_v3/classes.rb', line 1335

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



1326
1327
1328
# File 'lib/google/apis/translate_v3/classes.rb', line 1326

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)


1333
1334
1335
# File 'lib/google/apis/translate_v3/classes.rb', line 1333

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1340
1341
1342
1343
# File 'lib/google/apis/translate_v3/classes.rb', line 1340

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