Class BatchTranslateDocumentResponse (3.9.0)

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

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
total_pages int
Total number of pages to translate in all documents. Documents without clear page definition (such as XLSX) are not counted.
translated_pages int
Number of successfully translated pages in all documents. Documents without clear page definition (such as XLSX) are not counted.
failed_pages int
Number of pages that failed to process in all documents. Documents without clear page definition (such as XLSX) are not counted.
total_billable_pages int
Number of billable pages in documents with clear page definition (such as PDF, DOCX, PPTX)
total_characters int
Total number of characters (Unicode codepoints) in all documents.
translated_characters int
Number of successfully translated characters (Unicode codepoints) in all documents.
failed_characters int
Number of characters that have failed to process (Unicode codepoints) in all documents.
total_billable_characters int
Number of billable characters (Unicode codepoints) in documents without clear page definition, such as XLSX.
submit_time google.protobuf.timestamp_pb2.Timestamp
Time when the operation was submitted.
end_time google.protobuf.timestamp_pb2.Timestamp
The time when the operation is finished and google.longrunning.Operation.done][google.longrunning.Operation.done] is set to true.