Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ReviewDocumentResponse.
Response message for review document method.
Generated from protobuf message google.cloud.documentai.v1.ReviewDocumentResponse
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ gcs_destination |
string
The Cloud Storage uri for the human reviewed document if the review is succeeded. |
↳ state |
int
The state of the review operation. |
↳ rejection_reason |
string
The reason why the review is rejected by reviewer. |
getGcsDestination
The Cloud Storage uri for the human reviewed document if the review is succeeded.
Generated from protobuf field string gcs_destination = 1;
Returns | |
---|---|
Type | Description |
string |
setGcsDestination
The Cloud Storage uri for the human reviewed document if the review is succeeded.
Generated from protobuf field string gcs_destination = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getState
The state of the review operation.
Generated from protobuf field .google.cloud.documentai.v1.ReviewDocumentResponse.State state = 2;
Returns | |
---|---|
Type | Description |
int |
setState
The state of the review operation.
Generated from protobuf field .google.cloud.documentai.v1.ReviewDocumentResponse.State state = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getRejectionReason
The reason why the review is rejected by reviewer.
Generated from protobuf field string rejection_reason = 3;
Returns | |
---|---|
Type | Description |
string |
setRejectionReason
The reason why the review is rejected by reviewer.
Generated from protobuf field string rejection_reason = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |