Google Cloud Document Ai V1 Client - Class IndividualProcessStatus (1.2.2)

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

The status of a each individual document in the batch process.

Generated from protobuf message google.cloud.documentai.v1.BatchProcessMetadata.IndividualProcessStatus

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ input_gcs_source string

The source of the document, same as the [input_gcs_source] field in the request when the batch process started. The batch process is started by take snapshot of that document, since a user can move or change that document during the process.

↳ status Google\Rpc\Status

The status processing the document.

↳ output_gcs_destination string

The output_gcs_destination (in the request as output_gcs_destination) of the processed document if it was successful, otherwise empty.

↳ human_review_status Google\Cloud\DocumentAI\V1\HumanReviewStatus

The status of human review on the processed document.

getInputGcsSource

The source of the document, same as the [input_gcs_source] field in the request when the batch process started. The batch process is started by take snapshot of that document, since a user can move or change that document during the process.

Returns
TypeDescription
string

setInputGcsSource

The source of the document, same as the [input_gcs_source] field in the request when the batch process started. The batch process is started by take snapshot of that document, since a user can move or change that document during the process.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getStatus

The status processing the document.

Returns
TypeDescription
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

The status processing the document.

Parameter
NameDescription
var Google\Rpc\Status
Returns
TypeDescription
$this

getOutputGcsDestination

The output_gcs_destination (in the request as output_gcs_destination) of the processed document if it was successful, otherwise empty.

Returns
TypeDescription
string

setOutputGcsDestination

The output_gcs_destination (in the request as output_gcs_destination) of the processed document if it was successful, otherwise empty.

Parameter
NameDescription
var string
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