Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock

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 a list type block.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock

Returns a new instance of GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.



4919
4920
4921
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4919

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

Instance Attribute Details

#list_entriesArray<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>

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



4911
4912
4913
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4911

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)


4917
4918
4919
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4917

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4924
4925
4926
4927
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 4924

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