Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig

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

Serving config for layout parser processor.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig

Returns a new instance of GoogleCloudDocumentaiV1ProcessOptionsLayoutConfig.



5159
5160
5161
# File 'lib/google/apis/documentai_v1/classes.rb', line 5159

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

Instance Attribute Details

#chunking_configGoogle::Apis::DocumentaiV1::GoogleCloudDocumentaiV1ProcessOptionsLayoutConfigChunkingConfig

Serving config for chunking. Corresponds to the JSON property chunkingConfig



5157
5158
5159
# File 'lib/google/apis/documentai_v1/classes.rb', line 5157

def chunking_config
  @chunking_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5164
5165
5166
# File 'lib/google/apis/documentai_v1/classes.rb', line 5164

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