Google Cloud Document Ai V1 Client - Class HumanReviewStatus (1.9.0)

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
NameDescription
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
TypeDescription
int

setState

The state of human review on the processing request.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getStateMessage

A message providing more details about the human review state.

Returns
TypeDescription
string

setStateMessage

A message providing more details about the human review state.

Parameter
NameDescription
var string
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this