Class CommonOperationMetadata (2.23.0)

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

The common metadata for long running operations.

Attributes

NameDescription
state google.cloud.documentai_v1.types.CommonOperationMetadata.State
The state of the operation.
state_message str
A message providing more details about the current state of processing.
resource str
A related resource to this operation.
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)

State of the longrunning operation.

Values: STATE_UNSPECIFIED (0): Unspecified state. RUNNING (1): Operation is still running. CANCELLING (2): Operation is being cancelled. SUCCEEDED (3): Operation succeeded. FAILED (4): Operation failed. CANCELLED (5): Operation is cancelled.