Class ImportDocumentsRequest (2.17.0)

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

Attributes

NameDescription
dataset str
Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset
batch_documents_import_configs MutableSequence[google.cloud.documentai_v1beta3.types.ImportDocumentsRequest.BatchDocumentsImportConfig]
Required. The Cloud Storage uri containing raw documents that must be imported.

Classes

BatchDocumentsImportConfig

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

Config for importing documents. Each batch can have its own dataset split type.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields