Class: Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
- Inherits:
-
Object
- Object
- Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
- 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 cell in a table row.
Instance Attribute Summary collapse
-
#blocks ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock>
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) ⇒ GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
constructor
A new instance of GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
Returns a new instance of GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell.
7456 7457 7458 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7456 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blocks ⇒ Array<Google::Apis::DocumentaiV1beta3::GoogleCloudDocumentaiV1beta3DocumentDocumentLayoutDocumentLayoutBlock>
A table cell is a list of blocks. Repeated blocks support further hierarchies
and nested blocks.
Corresponds to the JSON property blocks
7444 7445 7446 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7444 def blocks @blocks end |
#col_span ⇒ Fixnum
How many columns this cell spans.
Corresponds to the JSON property colSpan
7449 7450 7451 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7449 def col_span @col_span end |
#row_span ⇒ Fixnum
How many rows this cell spans.
Corresponds to the JSON property rowSpan
7454 7455 7456 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7454 def row_span @row_span end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7461 7462 7463 7464 7465 |
# File 'lib/google/apis/documentai_v1beta3/classes.rb', line 7461 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 |