Class DocumentTranslation

A translated document message.

Attributes
NameDescription
Sequence[bytes]byte_stream_outputs
The array of translated documents. It is expected to be size 1 for now. We may produce multiple translated documents in the future for other type of file formats.
strmime_type
The translated document's mime type.
strdetected_language_code
The detected language for the input document. If the user did not provide the source language for the input document, this field will have the language code automatically detected. If the source language was passed, auto-detection of the language does not occur and this field is empty.

Inheritance

builtins.object > proto.message.Message > DocumentTranslation