Google Cloud Document Ai V1 Client - Class HumanReviewStatus (2.0.0-RC1)

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class HumanReviewStatus.

The status of human review on a processed document.

Generated from protobuf message google.cloud.documentai.v1.HumanReviewStatus

Namespace

Google \ Cloud \ DocumentAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ state int

The state of human review on the processing request.

↳ state_message string

A message providing more details about the human review state.

↳ human_review_operation string

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.

getState

The state of human review on the processing request.

Returns
Type Description
int

setState

The state of human review on the processing request.

Parameter
Name Description
var int
Returns
Type Description
$this

getStateMessage

A message providing more details about the human review state.

Returns
Type Description
string

setStateMessage

A message providing more details about the human review state.

Parameter
Name Description
var string
Returns
Type Description
$this

getHumanReviewOperation

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.

Returns
Type Description
string

setHumanReviewOperation

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.

Parameter
Name Description
var string
Returns
Type Description
$this