Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1beta3/classes.rb,
lib/google/apis/documentai_v1beta3/representations.rb,
lib/google/apis/documentai_v1beta3/representations.rb
Overview
The input data used to train a new ProcessorVersion.
Instance Attribute Summary collapse
-
#test_documents ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
The common config to specify a set of documents used as input.
-
#training_documents ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
The common config to specify a set of documents used as input.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
constructor
A new instance of GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData
Returns a new instance of GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestInputData.
12814 12815 12816 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12814 def initialize(**args) update!(**args) end |
Instance Attribute Details
#test_documents ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
The common config to specify a set of documents used as input.
Corresponds to the JSON property testDocuments
12807 12808 12809 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12807 def test_documents @test_documents end |
#training_documents ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3BatchDocumentsInputConfig
The common config to specify a set of documents used as input.
Corresponds to the JSON property trainingDocuments
12812 12813 12814 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12812 def training_documents @training_documents end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12819 12820 12821 12822 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12819 def update!(**args) @test_documents = args[:test_documents] if args.key?(:test_documents) @training_documents = args[:training_documents] if args.key?(:training_documents) end |