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
Returns
- (::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig) — If set, documents will be automatically split into training and test split category with the specified ratio.
#auto_split_config=
def auto_split_config=(value) -> ::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig
Parameter
- 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.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig) — If set, documents will be automatically split into training and test split category with the specified ratio.
#batch_input_config
def batch_input_config() -> ::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig
Returns
- (::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
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig) — The common config to specify a set of documents used as input.
Returns
- (::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
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Target dataset split where the documents must be stored.
#dataset_split=
def dataset_split=(value) -> ::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType
Parameter
- value (::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Target dataset split where the documents must be stored.
Returns
- (::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType) — Target dataset split where the documents must be stored.