Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry

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

Represents an entry in the list.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry

Returns a new instance of GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry.



2182
2183
2184
# File 'lib/google/apis/documentai_v1/classes.rb', line 2182

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

Instance Attribute Details

#blocksArray<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock>

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



2180
2181
2182
# File 'lib/google/apis/documentai_v1/classes.rb', line 2180

def blocks
  @blocks
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2187
2188
2189
# File 'lib/google/apis/documentai_v1/classes.rb', line 2187

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