Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions
- 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 for Process API
Instance Attribute Summary collapse
-
#ocr_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig
Config for Document OCR.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessOptions
constructor
A new instance of GoogleCloudDocumentaiV1ProcessOptions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessOptions
Returns a new instance of GoogleCloudDocumentaiV1ProcessOptions.
4618 4619 4620 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4618 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ocr_config ⇒ Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig
Config for Document OCR.
Corresponds to the JSON property ocrConfig
4616 4617 4618 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4616 def ocr_config @ocr_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4623 4624 4625 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4623 def update!(**args) @ocr_config = args[:ocr_config] if args.key?(:ocr_config) end |