Class HumanReviewStatus (2.12.0)

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

The status of human review on a processed document.

Attributes

NameDescription
state google.cloud.documentai_v1.types.HumanReviewStatus.State
The state of human review on the processing request.
state_message str
A message providing more details about the human review state.
human_review_operation str
The name of the operation triggered by the processed document. This field is populated only when the [state] is [HUMAN_REVIEW_IN_PROGRESS]. It has the same response type and metadata as the long running operation returned by [ReviewDocument] method.

Classes

State

State(value)

The final state of human review on a processed document.

Values: STATE_UNSPECIFIED (0): Human review state is unspecified. Most likely due to an internal error. SKIPPED (1): Human review is skipped for the document. This can happen because human review is not enabled on the processor or the processing request has been set to skip this document. VALIDATION_PASSED (2): Human review validation is triggered and passed, so no review is needed. IN_PROGRESS (3): Human review validation is triggered and the document is under review. ERROR (4): Some error happened during triggering human review, see the [state_message] for details.