Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptions

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 for Process API

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessOptions

Returns a new instance of GoogleCloudDocumentaiV1ProcessOptions.



4550
4551
4552
# File 'lib/google/apis/documentai_v1/classes.rb', line 4550

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ocr_configGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1OcrConfig

Config for Document OCR. Corresponds to the JSON property ocrConfig



4548
4549
4550
# File 'lib/google/apis/documentai_v1/classes.rb', line 4548

def ocr_config
  @ocr_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4555
4556
4557
# File 'lib/google/apis/documentai_v1/classes.rb', line 4555

def update!(**args)
  @ocr_config = args[:ocr_config] if args.key?(:ocr_config)
end