Class BatchProcessRequest (2.33.0)

BatchProcessRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for BatchProcessDocuments.

Attributes

Name Description
name str
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_configs MutableSequence[google.cloud.documentai_v1beta3.types.BatchProcessRequest.BatchInputConfig]
The input config for each single document in the batch process.
output_config google.cloud.documentai_v1beta3.types.BatchProcessRequest.BatchOutputConfig
The overall output config for batch process.
input_documents google.cloud.documentai_v1beta3.types.BatchDocumentsInputConfig
The input documents for the BatchProcessDocuments method.
document_output_config google.cloud.documentai_v1beta3.types.DocumentOutputConfig
The output configuration for the BatchProcessDocuments method.
skip_human_review bool
Whether human review should be skipped for this request. Default to false.
process_options google.cloud.documentai_v1beta3.types.ProcessOptions
Inference-time options for the process API
labels MutableMapping[str, str]
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.

Classes

BatchInputConfig

BatchInputConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The message for input config in batch process.

BatchOutputConfig

BatchOutputConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The output configuration in the BatchProcessDocuments method.

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
Name Description
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.