Class: Google::Apis::DocsV1::InsertTableRowRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/docs_v1/classes.rb,
generated/google/apis/docs_v1/representations.rb,
generated/google/apis/docs_v1/representations.rb

Overview

Inserts an empty row into a table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ InsertTableRowRequest

Returns a new instance of InsertTableRowRequest



2190
2191
2192
# File 'generated/google/apis/docs_v1/classes.rb', line 2190

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#insert_belowBoolean 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

Returns:

  • (Boolean)


2182
2183
2184
# File 'generated/google/apis/docs_v1/classes.rb', line 2182

def insert_below
  @insert_below
end

#table_cell_locationGoogle::Apis::DocsV1::TableCellLocation

Location of a single cell within a table. Corresponds to the JSON property tableCellLocation



2188
2189
2190
# File 'generated/google/apis/docs_v1/classes.rb', line 2188

def table_cell_location
  @table_cell_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2195
2196
2197
2198
# File 'generated/google/apis/docs_v1/classes.rb', line 2195

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