Google Cloud Document Ai V1 Client - Class ProcessResponse (1.0.1)

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
NameDescription
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
TypeDescription
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
NameDescription
var Google\Cloud\DocumentAI\V1\Document
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\DocumentAI\V1\HumanReviewStatus
Returns
TypeDescription
$this