Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ProcessResponse.
Response message for the process document method.
Generated from protobuf message google.cloud.documentai.v1.ProcessResponse
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ document |
Google\Cloud\DocumentAI\V1\Document
The document payload, will populate fields based on the processor's behavior. |
↳ human_review_status |
Google\Cloud\DocumentAI\V1\HumanReviewStatus
The status of human review on the processed document. |
getDocument
The document payload, will populate fields based on the processor's behavior.
Generated from protobuf field .google.cloud.documentai.v1.Document document = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\Document|null |
hasDocument
clearDocument
setDocument
The document payload, will populate fields based on the processor's behavior.
Generated from protobuf field .google.cloud.documentai.v1.Document document = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\Document
|
Returns | |
---|---|
Type | Description |
$this |
getHumanReviewStatus
The status of human review on the processed document.
Generated from protobuf field .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 3;
Returns | |
---|---|
Type | Description |
Google\Cloud\DocumentAI\V1\HumanReviewStatus|null |
hasHumanReviewStatus
clearHumanReviewStatus
setHumanReviewStatus
The status of human review on the processed document.
Generated from protobuf field .google.cloud.documentai.v1.HumanReviewStatus human_review_status = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\DocumentAI\V1\HumanReviewStatus
|
Returns | |
---|---|
Type | Description |
$this |