Google Cloud Document Ai V1 Client - Class ProcessResponse (1.14.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
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.

Returns
Type Description
Google\Cloud\DocumentAI\V1\Document|null

hasDocument

clearDocument

setDocument

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

Parameter
Name Description
var Google\Cloud\DocumentAI\V1\Document
Returns
Type Description
$this

getHumanReviewStatus

The status of human review on the processed document.

Returns
Type Description
Google\Cloud\DocumentAI\V1\HumanReviewStatus|null

hasHumanReviewStatus

clearHumanReviewStatus

setHumanReviewStatus

The status of human review on the processed document.

Parameter
Name Description
var Google\Cloud\DocumentAI\V1\HumanReviewStatus
Returns
Type Description
$this