Class: Google::Apis::DocsV1::InsertTableColumnRequest

Inherits:
Object
  • Object
show all
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 column into a table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InsertTableColumnRequest



2819
2820
2821
# File 'lib/google/apis/docs_v1/classes.rb', line 2819

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

Instance Attribute Details

#insert_rightBoolean 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 property insertRight



2811
2812
2813
# File 'lib/google/apis/docs_v1/classes.rb', line 2811

def insert_right
  @insert_right
end

#table_cell_locationGoogle::Apis::DocsV1::TableCellLocation

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



2817
2818
2819
# File 'lib/google/apis/docs_v1/classes.rb', line 2817

def table_cell_location
  @table_cell_location
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2824
2825
2826
2827
# File 'lib/google/apis/docs_v1/classes.rb', line 2824

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