Class: Google::Apis::TranslateV3::ListAdaptiveMtSentencesResponse
- Inherits:
-
Object
- Object
- Google::Apis::TranslateV3::ListAdaptiveMtSentencesResponse
- 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
List AdaptiveMt sentences response.
Instance Attribute Summary collapse
-
#adaptive_mt_sentences ⇒ Array<Google::Apis::TranslateV3::AdaptiveMtSentence>
Output only.
-
#next_page_token ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAdaptiveMtSentencesResponse
constructor
A new instance of ListAdaptiveMtSentencesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAdaptiveMtSentencesResponse
Returns a new instance of ListAdaptiveMtSentencesResponse.
1436 1437 1438 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1436 def initialize(**args) update!(**args) end |
Instance Attribute Details
#adaptive_mt_sentences ⇒ Array<Google::Apis::TranslateV3::AdaptiveMtSentence>
Output only. The list of AdaptiveMtSentences.
Corresponds to the JSON property adaptiveMtSentences
1429 1430 1431 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1429 def adaptive_mt_sentences @adaptive_mt_sentences end |
#next_page_token ⇒ String
Optional.
Corresponds to the JSON property nextPageToken
1434 1435 1436 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1434 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1441 1442 1443 1444 |
# File 'lib/google/apis/translate_v3/classes.rb', line 1441 def update!(**args) @adaptive_mt_sentences = args[:adaptive_mt_sentences] if args.key?(:adaptive_mt_sentences) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |