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

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

Request message for batch process document method.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Required. The resource name of Processor or ProcessorVersion. Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

↳ input_documents Google\Cloud\DocumentAI\V1\BatchDocumentsInputConfig

The input documents for batch process.

↳ document_output_config Google\Cloud\DocumentAI\V1\DocumentOutputConfig

The overall output config for batch process.

↳ skip_human_review bool

Whether Human Review feature should be skipped for this request. Default to false.

getName

Required. The resource name of Processor or ProcessorVersion.

Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Returns
TypeDescription
string

setName

Required. The resource name of Processor or ProcessorVersion.

Format: projects/{project}/locations/{location}/processors/{processor}, or projects/{project}/locations/{location}/processors/{processor}/processorVersions/{processorVersion}

Generated from protobuf field string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = {

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getInputDocuments

The input documents for batch process.

Generated from protobuf field .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

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

hasInputDocuments

clearInputDocuments

setInputDocuments

The input documents for batch process.

Generated from protobuf field .google.cloud.documentai.v1.BatchDocumentsInputConfig input_documents = 5;

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

getDocumentOutputConfig

The overall output config for batch process.

Generated from protobuf field .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

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

hasDocumentOutputConfig

clearDocumentOutputConfig

setDocumentOutputConfig

The overall output config for batch process.

Generated from protobuf field .google.cloud.documentai.v1.DocumentOutputConfig document_output_config = 6;

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

getSkipHumanReview

Whether Human Review feature should be skipped for this request. Default to false.

Generated from protobuf field bool skip_human_review = 4;

Returns
TypeDescription
bool

setSkipHumanReview

Whether Human Review feature should be skipped for this request. Default to false.

Generated from protobuf field bool skip_human_review = 4;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this