Class AdaptiveMtTranslateRequest (3.15.0)

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

The request for sending an AdaptiveMt translation query.

Attributes

NameDescription
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.