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
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] method. |
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] method.
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] method.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |