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

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 Document

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

↳ human_review_status 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
Document|null

hasDocument

clearDocument

setDocument

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

Parameter
Name Description
var Document
Returns
Type Description
$this

getHumanReviewStatus

The status of human review on the processed document.

Returns
Type Description
HumanReviewStatus|null

hasHumanReviewStatus

clearHumanReviewStatus

setHumanReviewStatus

The status of human review on the processed document.

Parameter
Name Description
var HumanReviewStatus
Returns
Type Description
$this