Class: Google::Apis::SlidesV1::InsertTableRowsRequest
- Inherits:
-
Object
- Object
- Google::Apis::SlidesV1::InsertTableRowsRequest
- 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
Inserts rows into a table.
Instance Attribute Summary collapse
-
#cell_location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
-
#insert_below ⇒ Boolean
(also: #insert_below?)
Whether to insert new rows below the reference cell location.
-
#number ⇒ Fixnum
The number of rows to be inserted.
-
#table_object_id ⇒ String
The table to insert rows into.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InsertTableRowsRequest
constructor
A new instance of InsertTableRowsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InsertTableRowsRequest
Returns a new instance of InsertTableRowsRequest
1374 1375 1376 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1374 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cell_location ⇒ Google::Apis::SlidesV1::TableCellLocation
A location of a single table cell within a table.
Corresponds to the JSON property cellLocation
1354 1355 1356 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1354 def cell_location @cell_location end |
#insert_below ⇒ Boolean Also known as: insert_below?
Whether to insert new rows below the reference cell location.
True
: insert below the cell.False
: insert above the cell. Corresponds to the JSON propertyinsertBelow
1361 1362 1363 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1361 def insert_below @insert_below end |
#number ⇒ Fixnum
The number of rows to be inserted. Maximum 20 per request.
Corresponds to the JSON property number
1367 1368 1369 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1367 def number @number end |
#table_object_id ⇒ String
The table to insert rows into.
Corresponds to the JSON property tableObjectId
1372 1373 1374 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1372 def table_object_id @table_object_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1379 1380 1381 1382 1383 1384 |
# File 'generated/google/apis/slides_v1/classes.rb', line 1379 def update!(**args) @cell_location = args[:cell_location] if args.key?(:cell_location) @insert_below = args[:insert_below] if args.key?(:insert_below) @number = args[:number] if args.key?(:number) @table_object_id = args[:table_object_id] if args.key?(:table_object_id) end |