Class: Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
- 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
-
#list_entries ⇒ Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>
List entries that constitute a list block.
-
#type ⇒ String
Type of the list_entries (if exist).
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
constructor
A new instance of GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock
Returns a new instance of GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListBlock.
4959 4960 4961 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4959 def initialize(**args) update!(**args) end |
Instance Attribute Details
#list_entries ⇒ Array<Google::Apis::DocumentaiV1beta2::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutListEntry>
List entries that constitute a list block.
Corresponds to the JSON property listEntries
4951 4952 4953 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4951 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
4957 4958 4959 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4957 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4964 4965 4966 4967 |
# File 'lib/google/apis/documentai_v1beta2/classes.rb', line 4964 def update!(**args) @list_entries = args[:list_entries] if args.key?(:list_entries) @type = args[:type] if args.key?(:type) end |