Class: Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest
- Inherits:
-
Object
- Object
- Google::Cloud::Translate::V3::AdaptiveMtTranslateRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/translate/v3/adaptive_mt.rb
Overview
The request for sending an AdaptiveMt translation query.
Instance Attribute Summary collapse
-
#content ⇒ ::Array<::String>
Required.
-
#dataset ⇒ ::String
Required.
-
#parent ⇒ ::String
Required.
Instance Attribute Details
#content ⇒ ::Array<::String>
Returns Required. The content of the input in string format. For now only one sentence per request is supported.
141 142 143 144 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 141 class AdaptiveMtTranslateRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#dataset ⇒ ::String
Returns Required. The resource name for the dataset to use for adaptive MT.
projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}
.
141 142 143 144 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 141 class AdaptiveMtTranslateRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#parent ⇒ ::String
Returns Required. Location to make a regional call.
Format: projects/{project-number-or-id}/locations/{location-id}
.
141 142 143 144 |
# File 'proto_docs/google/cloud/translate/v3/adaptive_mt.rb', line 141 class AdaptiveMtTranslateRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |