Class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock

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

Overview

Represents a list type block.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock

Returns a new instance of GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.



4671
4672
4673
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4671

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

Instance Attribute Details

#list_entriesArray<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>

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



4663
4664
4665
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4663

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)


4669
4670
4671
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4669

def type
  @type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4676
4677
4678
4679
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4676

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