Class: Google::Apis::DocsV1::InsertTableRowRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::InsertTableRowRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/docs_v1/classes.rb,
lib/google/apis/docs_v1/representations.rb,
lib/google/apis/docs_v1/representations.rb
Overview
Inserts an empty row into a table.
Instance Attribute Summary collapse
-
#insert_below ⇒ Boolean
(also: #insert_below?)
Whether to insert new row below the reference cell location.
-
#table_cell_location ⇒ Google::Apis::DocsV1::TableCellLocation
Location of a single cell within a table.
Instance Method Summary collapse
-
#initialize(**args) ⇒ InsertTableRowRequest
constructor
A new instance of InsertTableRowRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ InsertTableRowRequest
Returns a new instance of InsertTableRowRequest.
2543 2544 2545 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#insert_below ⇒ Boolean Also known as: insert_below?
Whether to insert new row below the reference cell location. - True
: insert
below the cell. - False
: insert above the cell.
Corresponds to the JSON property insertBelow
2535 2536 2537 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2535 def insert_below @insert_below end |
#table_cell_location ⇒ Google::Apis::DocsV1::TableCellLocation
Location of a single cell within a table.
Corresponds to the JSON property tableCellLocation
2541 2542 2543 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2541 def table_cell_location @table_cell_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2548 2549 2550 2551 |
# File 'lib/google/apis/docs_v1/classes.rb', line 2548 def update!(**args) @insert_below = args[:insert_below] if args.key?(:insert_below) @table_cell_location = args[:table_cell_location] if args.key?(:table_cell_location) end |