Class: Google::Apis::TranslateV3::ListAdaptiveMtFilesResponse

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

The response for listing all AdaptiveMt files under a given dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAdaptiveMtFilesResponse

Returns a new instance of ListAdaptiveMtFilesResponse.



1411
1412
1413
# File 'lib/google/apis/translate_v3/classes.rb', line 1411

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

Instance Attribute Details

#adaptive_mt_filesArray<Google::Apis::TranslateV3::AdaptiveMtFile>

Output only. The Adaptive MT files. Corresponds to the JSON property adaptiveMtFiles



1402
1403
1404
# File 'lib/google/apis/translate_v3/classes.rb', line 1402

def adaptive_mt_files
  @adaptive_mt_files
end

#next_page_tokenString

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

Returns:

  • (String)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1416
1417
1418
1419
# File 'lib/google/apis/translate_v3/classes.rb', line 1416

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