Class BatchTranslateDocumentMetadata (3.15.4)

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

State metadata for the batch translation operation.

Attributes

Name Description
state google.cloud.translate_v3beta1.types.BatchTranslateDocumentMetadata.State
The state of the operation.
total_pages int
Total number of pages to translate in all documents so far. Documents without clear page definition (such as XLSX) are not counted.
translated_pages int
Number of successfully translated pages in all documents so far. Documents without clear page definition (such as XLSX) are not counted.
failed_pages int
Number of pages that failed to process in all documents so far. 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) so far.
total_characters int
Total number of characters (Unicode codepoints) in all documents so far.
translated_characters int
Number of successfully translated characters (Unicode codepoints) in all documents so far.
failed_characters int
Number of characters that have failed to process (Unicode codepoints) in all documents so far.
total_billable_characters int
Number of billable characters (Unicode codepoints) in documents without clear page definition (such as XLSX) so far.
submit_time google.protobuf.timestamp_pb2.Timestamp
Time when the operation was submitted.

Classes

State

State(value)

State of the job.