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.
4551 4552 4553 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4551 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
4549 4550 4551 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4549 def ocr_config @ocr_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4556 4557 4558 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 4556 def update!(**args) @ocr_config = args[:ocr_config] if args.key?(:ocr_config) end |