Class: Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/documentai/v1beta3/document_service.rb

Overview

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

Defined Under Namespace

Classes: AutoSplitConfig

Instance Attribute Summary collapse

Instance Attribute Details

#auto_split_config::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig

Returns 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.

Returns:



73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'proto_docs/google/cloud/documentai/v1beta3/document_service.rb', line 73

class BatchDocumentsImportConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The config for auto-split.
  # @!attribute [rw] training_split_ratio
  #   @return [::Float]
  #     Ratio of training dataset split.
  class AutoSplitConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#batch_input_config::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig

Returns The common config to specify a set of documents used as input.

Returns:



73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'proto_docs/google/cloud/documentai/v1beta3/document_service.rb', line 73

class BatchDocumentsImportConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The config for auto-split.
  # @!attribute [rw] training_split_ratio
  #   @return [::Float]
  #     Ratio of training dataset split.
  class AutoSplitConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#dataset_split::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType

Returns 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.

Returns:

  • (::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.



73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'proto_docs/google/cloud/documentai/v1beta3/document_service.rb', line 73

class BatchDocumentsImportConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # The config for auto-split.
  # @!attribute [rw] training_split_ratio
  #   @return [::Float]
  #     Ratio of training dataset split.
  class AutoSplitConfig
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end