Class: Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
- 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 cell in a table row.
Instance Attribute Summary collapse
-
#blocks ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock>
A table cell is a list of blocks.
-
#col_span ⇒ Fixnum
How many columns this cell spans.
-
#row_span ⇒ Fixnum
How many rows this cell spans.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
constructor
A new instance of GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
Returns a new instance of GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell.
9131 9132 9133 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blocks ⇒ Array<Google::Apis::DocumentaiV1::GoogleCloudDocumentaiV1beta2DocumentDocumentLayoutDocumentLayoutBlock>
A table cell is a list of blocks. Repeated blocks support further hierarchies
and nested blocks.
Corresponds to the JSON property blocks
9119 9120 9121 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9119 def blocks @blocks end |
#col_span ⇒ Fixnum
How many columns this cell spans.
Corresponds to the JSON property colSpan
9124 9125 9126 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9124 def col_span @col_span end |
#row_span ⇒ Fixnum
How many rows this cell spans.
Corresponds to the JSON property rowSpan
9129 9130 9131 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9129 def row_span @row_span end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9136 9137 9138 9139 9140 |
# File 'lib/google/apis/documentai_v1/classes.rb', line 9136 def update!(**args) @blocks = args[:blocks] if args.key?(:blocks) @col_span = args[:col_span] if args.key?(:col_span) @row_span = args[:row_span] if args.key?(:row_span) end |