Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/documentai_v1beta2/classes.rb,
lib/google/apis/documentai_v1beta2/representations.rb,
lib/google/apis/documentai_v1beta2/representations.rb

Overview

Represents a list type block.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock

Returns a new instance of GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.



2400
2401
2402
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 2400

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

Instance Attribute Details

#list_entriesArray<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>

List entries that constitute a list block. Corresponds to the JSON property listEntries



2392
2393
2394
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 2392

def list_entries
  @list_entries
end

#typeString

Type of the list_entries (if exist). Available options are ordered and unordered. Corresponds to the JSON property type

Returns:

  • (String)


2398
2399
2400
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 2398

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2405
2406
2407
2408
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 2405

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