Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry

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

Represents an entry in the list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry

Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry.



8204
8205
8206
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8204

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

Instance Attribute Details

#blocksArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock>

A list entry is a list of blocks. Repeated blocks support further hierarchies and nested blocks. Corresponds to the JSON property blocks



8202
8203
8204
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8202

def blocks
  @blocks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8209
8210
8211
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 8209

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