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

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

Defined Under Namespace

Classes: BatchDocumentsImportConfig

Instance Attribute Summary collapse

Instance Attribute Details

#batch_documents_import_configs::Array<::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig>

Returns Required. The Cloud Storage uri containing raw documents that must be imported.

Returns:



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'proto_docs/google/cloud/documentai/v1beta3/document_service.rb', line 53

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

  # Config for importing documents.
  # Each batch can have its own dataset split type.
  # @!attribute [rw] dataset_split
  #   @return [::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType]
  #     Target dataset split where the documents must be stored.
  # @!attribute [rw] auto_split_config
  #   @return [::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig]
  #     If set, documents will be automatically split into training and test
  #     split category with the specified ratio.
  # @!attribute [rw] batch_input_config
  #   @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig]
  #     The common config to specify a set of documents used as input.
  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
end

#dataset::String

Returns Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset.

Returns:

  • (::String)

    Required. The dataset resource name. Format: projects/{project}/locations/{location}/processors/{processor}/dataset



53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'proto_docs/google/cloud/documentai/v1beta3/document_service.rb', line 53

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

  # Config for importing documents.
  # Each batch can have its own dataset split type.
  # @!attribute [rw] dataset_split
  #   @return [::Google::Cloud::DocumentAI::V1beta3::DatasetSplitType]
  #     Target dataset split where the documents must be stored.
  # @!attribute [rw] auto_split_config
  #   @return [::Google::Cloud::DocumentAI::V1beta3::ImportDocumentsRequest::BatchDocumentsImportConfig::AutoSplitConfig]
  #     If set, documents will be automatically split into training and test
  #     split category with the specified ratio.
  # @!attribute [rw] batch_input_config
  #   @return [::Google::Cloud::DocumentAI::V1beta3::BatchDocumentsInputConfig]
  #     The common config to specify a set of documents used as input.
  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
end