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.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ name |
string
Required. The resource name of Processor or ProcessorVersion. Format: |
↳ input_documents |
BatchDocumentsInputConfig
The input documents for the BatchProcessDocuments method. |
↳ document_output_config |
DocumentOutputConfig
The output configuration for the BatchProcessDocuments method. |
↳ skip_human_review |
bool
Whether human review should be skipped for this request. Default to |
↳ process_options |
ProcessOptions
Inference-time options for the process API |
↳ 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}
Returns | |
---|---|
Type | Description |
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}
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getInputDocuments
The input documents for the BatchProcessDocuments method.
Returns | |
---|---|
Type | Description |
BatchDocumentsInputConfig|null |
hasInputDocuments
clearInputDocuments
setInputDocuments
The input documents for the BatchProcessDocuments method.
Parameter | |
---|---|
Name | Description |
var |
BatchDocumentsInputConfig
|
Returns | |
---|---|
Type | Description |
$this |
getDocumentOutputConfig
The output configuration for the BatchProcessDocuments method.
Returns | |
---|---|
Type | Description |
DocumentOutputConfig|null |
hasDocumentOutputConfig
clearDocumentOutputConfig
setDocumentOutputConfig
The output configuration for the BatchProcessDocuments method.
Parameter | |
---|---|
Name | Description |
var |
DocumentOutputConfig
|
Returns | |
---|---|
Type | Description |
$this |
getSkipHumanReview
Whether human review should be skipped for this request. Default to
false
.
Returns | |
---|---|
Type | Description |
bool |
setSkipHumanReview
Whether human review should be skipped for this request. Default to
false
.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |
getProcessOptions
Inference-time options for the process API
Returns | |
---|---|
Type | Description |
ProcessOptions|null |
hasProcessOptions
clearProcessOptions
setProcessOptions
Inference-time options for the process API
Parameter | |
---|---|
Name | Description |
var |
ProcessOptions
|
Returns | |
---|---|
Type | Description |
$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.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\MapField |
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.
Parameter | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |
static::build
Parameter | |
---|---|
Name | Description |
name |
string
Required. The resource name of
Processor or
ProcessorVersion.
Format: |
Returns | |
---|---|
Type | Description |
BatchProcessRequest |