Class BatchTranslateDocumentMetadata

State metadata for the batch translation operation.

Attributes
NameDescription
google.cloud.translate_v3.types.BatchTranslateDocumentMetadata.Statestate
The state of the operation.
inttotal_pages
Total number of pages to translate in all documents so far. Documents without clear page definition (such as XLSX) are not counted.
inttranslated_pages
Number of successfully translated pages in all documents so far. Documents without clear page definition (such as XLSX) are not counted.
intfailed_pages
Number of pages that failed to process in all documents so far. 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) so far.
inttotal_characters
Total number of characters (Unicode codepoints) in all documents so far.
inttranslated_characters
Number of successfully translated characters (Unicode codepoints) in all documents so far.
intfailed_characters
Number of characters that have failed to process (Unicode codepoints) in all documents so far.
inttotal_billable_characters
Number of billable characters (Unicode codepoints) in documents without clear page definition (such as XLSX) so far.
google.protobuf.timestamp_pb2.Timestampsubmit_time
Time when the operation was submitted.

Inheritance

builtins.object > proto.message.Message > BatchTranslateDocumentMetadata

Classes

State

State(value)

State of the job.