Class: Google::Apis::SlidesV1::MergeTableCellsRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::MergeTableCellsRequest
- 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
Merges cells in a Table.
Instance Attribute Summary collapse
-
#object_id_prop ⇒ String
The object ID of the table.
-
#table_range ⇒ Google::Apis::SlidesV1::TableRange
A table range represents a reference to a subset of a table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MergeTableCellsRequest
constructor
A new instance of MergeTableCellsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ MergeTableCellsRequest
Returns a new instance of MergeTableCellsRequest
1753 1754 1755 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1753 def initialize(**args) update!(**args) end |
Instance Attribute Details
#object_id_prop ⇒ String
The object ID of the table.
Corresponds to the JSON property objectId
1736 1737 1738 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1736 def object_id_prop @object_id_prop end |
#table_range ⇒ Google::Apis::SlidesV1::TableRange
A table range represents a reference to a subset of a table. It's important to note that the cells specified by a table range do not necessarily form a rectangle. For example, let's say we have a 3 x 3 table where all the cells of the last row are merged together. The table looks like this:
[ ]
A table range with location = (0, 0), row span = 3 and column span = 2
specifies the following cells:
x x
[ x ]
Corresponds to the JSON property tableRange
1751 1752 1753 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1751 def table_range @table_range end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1758 1759 1760 1761 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1758 def update!(**args) @object_id_prop = args[:object_id_prop] if args.key?(:object_id_prop) @table_range = args[:table_range] if args.key?(:table_range) end |