Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
- 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
Options to control the training of the Custom Document Extraction (CDE) Processor.
Instance Attribute Summary collapse
-
#training_method ⇒ String
Training method to use for CDE training.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
constructor
A new instance of GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions
Returns a new instance of GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions.
12762 12763 12764 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12762 def initialize(**args) update!(**args) end |
Instance Attribute Details
#training_method ⇒ String
Training method to use for CDE training.
Corresponds to the JSON property trainingMethod
12760 12761 12762 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12760 def training_method @training_method end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12767 12768 12769 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 12767 def update!(**args) @training_method = args[:training_method] if args.key?(:training_method) end |