Class AdaptiveMtTranslateRequest (3.15.5)

AdaptiveMtTranslateRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request for sending an AdaptiveMt translation query.

Attributes

Name Description
parent str
Required. Location to make a regional call. Format: projects/{project-number-or-id}/locations/{location-id}.
dataset str
Required. The resource name for the dataset to use for adaptive MT. projects/{project}/locations/{location-id}/adaptiveMtDatasets/{dataset}
content MutableSequence[str]
Required. The content of the input in string format. For now only one sentence per request is supported.