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.



1362
1363
1364
# File 'lib/google/apis/translate_v3/classes.rb', line 1362

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



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

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)


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

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1367
1368
1369
1370
# File 'lib/google/apis/translate_v3/classes.rb', line 1367

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