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

Reference documentation and code samples for the Google Cloud Document Ai V1 Client class ProcessResponse.

Response message for the ProcessDocument method.

Generated from protobuf message google.cloud.documentai.v1.ProcessResponse

Namespace

Google \ Cloud \ DocumentAI \ V1

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.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\Document|null

hasDocument

clearDocument

setDocument

The document payload, will populate fields based on the processor's behavior.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\Document
Returns
TypeDescription
$this

getHumanReviewStatus

The status of human review on the processed document.

Returns
TypeDescription
Google\Cloud\DocumentAI\V1\HumanReviewStatus|null

hasHumanReviewStatus

clearHumanReviewStatus

setHumanReviewStatus

The status of human review on the processed document.

Parameter
NameDescription
var Google\Cloud\DocumentAI\V1\HumanReviewStatus
Returns
TypeDescription
$this