Class ReviewDocumentResponse (2.22.0)

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

Response message for the ReviewDocument method.

Attributes

NameDescription
gcs_destination str
The Cloud Storage uri for the human reviewed document if the review is succeeded.
state google.cloud.documentai_v1.types.ReviewDocumentResponse.State
The state of the review operation.
rejection_reason str
The reason why the review is rejected by reviewer.

Classes

State

State(value)

Possible states of the review operation.

Values: STATE_UNSPECIFIED (0): The default value. This value is used if the state is omitted. REJECTED (1): The review operation is rejected by the reviewer. SUCCEEDED (2): The review operation is succeeded.