Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
- 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 a list type block.
Instance Attribute Summary collapse
-
#list_entries ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>
List entries that constitute a list block.
-
#type ⇒ String
Type of the list_entries (if exist).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
constructor
A new instance of GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
Returns a new instance of GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.
2161 2162 2163 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2161 def initialize(**args) update!(**args) end |
Instance Attribute Details
#list_entries ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>
List entries that constitute a list block.
Corresponds to the JSON property listEntries
2153 2154 2155 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2153 def list_entries @list_entries end |
#type ⇒ String
Type of the list_entries (if exist). Available options are ordered
and
unordered
.
Corresponds to the JSON property type
2159 2160 2161 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2159 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2166 2167 2168 2169 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 2166 def update!(**args) @list_entries = args[:list_entries] if args.key?(:list_entries) @type = args[:type] if args.key?(:type) end |