Class: Google::Apis::DocsV1::InsertTableColumnRequest
- Inherits:
-
Object
- Object
- Google::Apis::DocsV1::InsertTableColumnRequest
- 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 column into a table.
Instance Attribute Summary collapse
-
#insert_right ⇒ Boolean
(also: #insert_right?)
Whether to insert new column to the right of 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) ⇒ InsertTableColumnRequest
constructor
A new instance of InsertTableColumnRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InsertTableColumnRequest
Returns a new instance of InsertTableColumnRequest.
2298 2299 2300 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2298 def initialize(**args) update!(**args) end |
Instance Attribute Details
#insert_right ⇒ Boolean Also known as: insert_right?
Whether to insert new column to the right of the reference cell location.
True
: insert to the right.False
: insert to the left. Corresponds to the JSON propertyinsertRight
2290 2291 2292 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2290 def insert_right @insert_right end |
#table_cell_location ⇒ Google::Apis::DocsV1::TableCellLocation
Location of a single cell within a table.
Corresponds to the JSON property tableCellLocation
2296 2297 2298 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2296 def table_cell_location @table_cell_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2303 2304 2305 2306 |
# File 'generated/google/apis/docs_v1/classes.rb', line 2303 def update!(**args) @insert_right = args[:insert_right] if args.key?(:insert_right) @table_cell_location = args[:table_cell_location] if args.key?(:table_cell_location) end |