Class: Google::Apis::SlidesV1::TableCell
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::TableCell
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/slides_v1/classes.rb,
generated/google/apis/slides_v1/representations.rb,
generated/google/apis/slides_v1/representations.rb
Overview
Properties and contents of each table cell.
Instance Attribute Summary collapse
-
#column_span ⇒ Fixnum
Column span of the cell.
-
#location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
-
#row_span ⇒ Fixnum
Row span of the cell.
-
#table_cell_properties ⇒ Google::Apis::SlidesV1::TableCellProperties
The properties of the TableCell.
-
#text ⇒ Google::Apis::SlidesV1::TextContent
The general text content.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TableCell
constructor
A new instance of TableCell.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TableCell
Returns a new instance of TableCell
3485 3486 3487 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3485 def initialize(**args) update!(**args) end |
Instance Attribute Details
#column_span ⇒ Fixnum
Column span of the cell.
Corresponds to the JSON property columnSpan
3462 3463 3464 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3462 def column_span @column_span end |
#location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
Corresponds to the JSON property location
3467 3468 3469 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3467 def location @location end |
#row_span ⇒ Fixnum
Row span of the cell.
Corresponds to the JSON property rowSpan
3472 3473 3474 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3472 def row_span @row_span end |
#table_cell_properties ⇒ Google::Apis::SlidesV1::TableCellProperties
The properties of the TableCell.
Corresponds to the JSON property tableCellProperties
3477 3478 3479 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3477 def table_cell_properties @table_cell_properties end |
#text ⇒ Google::Apis::SlidesV1::TextContent
The general text content. The text must reside in a compatible shape (e.g.
text box or rectangle) or a table cell in a page.
Corresponds to the JSON property text
3483 3484 3485 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3483 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3490 3491 3492 3493 3494 3495 3496 |
# File 'generated/google/apis/slides_v1/classes.rb', line 3490 def update!(**args) @column_span = args[:column_span] if args.key?(:column_span) @location = args[:location] if args.key?(:location) @row_span = args[:row_span] if args.key?(:row_span) @table_cell_properties = args[:table_cell_properties] if args.key?(:table_cell_properties) @text = args[:text] if args.key?(:text) end |