Reference documentation and code samples for the Document AI V1beta3 API class Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig.
Config for importing documents. Each batch can have its own dataset split type.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#auto_split_config
def auto_split_config() -> ::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig-
(::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig) — If set, documents will be automatically split into training and test
split category with the specified ratio.
Note: The following fields are mutually exclusive:
auto_split_config,dataset_split. If a field in that set is populated, all other fields in the set will automatically be cleared.
#auto_split_config=
def auto_split_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig-
value (::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig) — If set, documents will be automatically split into training and test
split category with the specified ratio.
Note: The following fields are mutually exclusive:
auto_split_config,dataset_split. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig) — If set, documents will be automatically split into training and test
split category with the specified ratio.
Note: The following fields are mutually exclusive:
auto_split_config,dataset_split. If a field in that set is populated, all other fields in the set will automatically be cleared.
#batch_input_config
def batch_input_config() -> ::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig- (::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig) — The common config to specify a set of documents used as input.
#batch_input_config=
def batch_input_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig- value (::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig) — The common config to specify a set of documents used as input.
- (::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig) — The common config to specify a set of documents used as input.
#dataset_split
def dataset_split() -> ::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType-
(::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Target dataset split where the documents must be stored.
Note: The following fields are mutually exclusive:
dataset_split,auto_split_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#dataset_split=
def dataset_split=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType-
value (::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Target dataset split where the documents must be stored.
Note: The following fields are mutually exclusive:
dataset_split,auto_split_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Target dataset split where the documents must be stored.
Note: The following fields are mutually exclusive:
dataset_split,auto_split_config. If a field in that set is populated, all other fields in the set will automatically be cleared.
#document_type
def document_type() -> ::String-
(::String) — Optional. If set, determines the type of the documents to be imported in
this batch. It can be used to auto-label the documents with a single
entity of the provided type. This field can only be used with a
classifier or splitter processor. Providing this field is mutually
exclusive with
entitiesandauto_labeling_config.
#document_type=
def document_type=(value) -> ::String-
value (::String) — Optional. If set, determines the type of the documents to be imported in
this batch. It can be used to auto-label the documents with a single
entity of the provided type. This field can only be used with a
classifier or splitter processor. Providing this field is mutually
exclusive with
entitiesandauto_labeling_config.
-
(::String) — Optional. If set, determines the type of the documents to be imported in
this batch. It can be used to auto-label the documents with a single
entity of the provided type. This field can only be used with a
classifier or splitter processor. Providing this field is mutually
exclusive with
entitiesandauto_labeling_config.