Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig

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

Serving config for layout parser processor.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig

Returns a new instance of GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfig.



10923
10924
10925
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10923

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

Instance Attribute Details

#chunking_configGoogle::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig

Serving config for chunking. Corresponds to the JSON property chunkingConfig



10921
10922
10923
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10921

def chunking_config
  @chunking_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10928
10929
10930
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 10928

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