Reference documentation and code samples for the Google Cloud Document Ai V1 Client class BatchProcessRequest.
Request message for BatchProcessDocuments .
Generated from protobuf message google.cloud.documentai.v1.BatchProcessRequest
Namespace
Google \ Cloud \ DocumentAI \ V1Methods
__construct
Constructor.
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
↳ document_output_config
↳ skip_human_review
bool
Whether human review should be skipped for this request. Default to false
.
↳ process_options
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. The labels with user-defined metadata for the request. Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
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}
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}
var
string
$this
getInputDocuments
The input documents for the BatchProcessDocuments method.
hasInputDocuments
clearInputDocuments
setInputDocuments
The input documents for the BatchProcessDocuments method.
$this
getDocumentOutputConfig
The output configuration for the BatchProcessDocuments method.
hasDocumentOutputConfig
clearDocumentOutputConfig
setDocumentOutputConfig
The output configuration for the BatchProcessDocuments method.
$this
getSkipHumanReview
Whether human review should be skipped for this request. Default to false
.
bool
setSkipHumanReview
Whether human review should be skipped for this request. Default to false
.
var
bool
$this
getProcessOptions
Inference-time options for the process API
hasProcessOptions
clearProcessOptions
setProcessOptions
Inference-time options for the process API
$this
getLabels
Optional. The labels with user-defined metadata for the request.
Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
setLabels
Optional. The labels with user-defined metadata for the request.
Label keys and values can be no longer than 63 characters (Unicode codepoints) and can only contain lowercase letters, numeric characters, underscores, and dashes. International characters are allowed. Label values are optional. Label keys must start with a letter.
$this
static::build
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}