Class ReviewDocumentOperationMetadata (2.20.1)

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

The long-running operation metadata for the ReviewDocument method.

Attributes

NameDescription
state google.cloud.documentai_v1beta3.types.ReviewDocumentOperationMetadata.State
Used only when Operation.done is false.
state_message str
A message providing more details about the current state of processing. For example, the error message if the operation is failed.
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.
common_metadata google.cloud.documentai_v1beta3.types.CommonOperationMetadata
The basic metadata of the long-running operation.
question_id str
The Crowd Compute question ID.

Classes

State

State(value)

State of the long-running 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.