Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_methodString

Training method to use for CDE training. Corresponds to the JSON property trainingMethod

Returns:

  • (String)


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