Class BatchTranslateDocumentResponse

Stored in the google.longrunning.Operation.response][google.longrunning.Operation.response] field returned by BatchTranslateDocument if at least one document is translated successfully.

Attributes
NameDescription
inttotal_pages
Total number of pages to translate in all documents. Documents without clear page definition (such as XLSX) are not counted.
inttranslated_pages
Number of successfully translated pages in all documents. Documents without clear page definition (such as XLSX) are not counted.
intfailed_pages
Number of pages that failed to process in all documents. Documents without clear page definition (such as XLSX) are not counted.
inttotal_billable_pages
Number of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX)
inttotal_characters
Total number of characters (Unicode codepoints) in all documents.
inttranslated_characters
Number of successfully translated characters (Unicode codepoints) in all documents.
intfailed_characters
Number of characters that have failed to process (Unicode codepoints) in all documents.
inttotal_billable_characters
Number of billable characters (Unicode codepoints) in documents without clear page definition, such as XLSX.
google.protobuf.timestamp_pb2.Timestampsubmit_time
Time when the operation was submitted.
google.protobuf.timestamp_pb2.Timestampend_time
The time when the operation is finished and `google.longrunning.Operation.done][google.longrunning.Operation.done]` is set to true.

Inheritance

builtins.object > proto.message.Message > BatchTranslateDocumentResponse