Class: Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
- 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 cell in a table row.
Instance Attribute Summary collapse
-
#blocks ⇒ Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock>
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) ⇒ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
constructor
A new instance of GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell
Returns a new instance of GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlockLayoutTableCell.
4778 4779 4780 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4778 def initialize(**args) update!(**args) end |
Instance Attribute Details
#blocks ⇒ Array<Google::Apis::ContentwarehouseV1::GoogleCloudDocumentaiV1DocumentDocumentLayoutDocumentLayoutBlock>
A table cell is a list of blocks. Repeated blocks support further hierarchies
and nested blocks.
Corresponds to the JSON property blocks
4766 4767 4768 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4766 def blocks @blocks end |
#col_span ⇒ Fixnum
How many columns this cell spans.
Corresponds to the JSON property colSpan
4771 4772 4773 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4771 def col_span @col_span end |
#row_span ⇒ Fixnum
How many rows this cell spans.
Corresponds to the JSON property rowSpan
4776 4777 4778 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4776 def row_span @row_span end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4783 4784 4785 4786 4787 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 4783 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 |