Class OperationMetadata (2.16.0)

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

Contains metadata for the BatchProcessDocuments operation.

Attributes

NameDescription
state google.cloud.documentai_v1beta2.types.OperationMetadata.State
The state of the current batch processing.
state_message str
A message providing more details about the current state of processing.
create_time google.protobuf.timestamp_pb2.Timestamp
The creation time of the operation.
update_time google.protobuf.timestamp_pb2.Timestamp
The last update time of the operation.

Classes

State

State(value)

Values: STATE_UNSPECIFIED (0): The default value. This value is used if the state is omitted. ACCEPTED (1): Request is received. WAITING (2): Request operation is waiting for scheduling. RUNNING (3): Request is being processed. SUCCEEDED (4): The batch processing completed successfully. CANCELLED (5): The batch processing was cancelled. FAILED (6): The batch processing has failed.