Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/documentai_v1/classes.rb,
lib/google/apis/documentai_v1/representations.rb,
lib/google/apis/documentai_v1/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) ⇒ GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
constructor
A new instance of GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions
Returns a new instance of GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions.
6020 6021 6022 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6020 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
6018 6019 6020 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6018 def training_method @training_method end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6025 6026 6027 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 6025 def update!(**args) @training_method = args[:training_method] if args.key?(:training_method) end |