Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptions

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessOptions

Returns a new instance of GoogleCloudDocumentaiV1beta3ProcessOptions.



8452
8453
8454
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8452

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

Instance Attribute Details

#ocr_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3OcrConfig

Config for Document OCR. Corresponds to the JSON property ocrConfig



8450
8451
8452
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8450

def ocr_config
  @ocr_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8457
8458
8459
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8457

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