Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions
- 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 for Process API
Instance Attribute Summary collapse
-
#ocr_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig
Config for Document OCR.
-
#schema_override ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema
The schema defines the output of the processed document by a processor.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessOptions
constructor
A new instance of GoogleCloudDocumentaiV1beta3ProcessOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessOptions
Returns a new instance of GoogleCloudDocumentaiV1beta3ProcessOptions.
10253 10254 10255 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10253 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ocr_config ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig
Config for Document OCR.
Corresponds to the JSON property ocrConfig
10246 10247 10248 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10246 def ocr_config @ocr_config end |
#schema_override ⇒ Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentSchema
The schema defines the output of the processed document by a processor.
Corresponds to the JSON property schemaOverride
10251 10252 10253 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10251 def schema_override @schema_override end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10258 10259 10260 10261 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10258 def update!(**args) @ocr_config = args[:ocr_config] if args.key?(:ocr_config) @schema_override = args[:schema_override] if args.key?(:schema_override) end |