Class: Google::Apis::SlidesV1::InsertTableColumnsRequest
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SlidesV1::InsertTableColumnsRequest
 
- 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 columns into a table. Other columns in the table will be resized to fit the new column.
Instance Attribute Summary collapse
- 
  
    
      #cell_location  ⇒ Google::Apis::SlidesV1::TableCellLocation 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A location of a single table cell within a table. 
- 
  
    
      #insert_right  ⇒ Boolean 
    
    
      (also: #insert_right?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    Whether to insert new columns to the right of the reference cell location. 
- 
  
    
      #number  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The number of columns to be inserted. 
- 
  
    
      #table_object_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The table to insert columns into. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ InsertTableColumnsRequest 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of InsertTableColumnsRequest. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ InsertTableColumnsRequest
Returns a new instance of InsertTableColumnsRequest
| 1334 1335 1336 | # File 'generated/google/apis/slides_v1/classes.rb', line 1334 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
| 1314 1315 1316 | # File 'generated/google/apis/slides_v1/classes.rb', line 1314 def cell_location @cell_location end | 
#insert_right ⇒ Boolean Also known as: insert_right?
Whether to insert new columns to the right of the reference cell location.
- True: insert to the right.
- False: insert to the left. Corresponds to the JSON property- insertRight
| 1321 1322 1323 | # File 'generated/google/apis/slides_v1/classes.rb', line 1321 def insert_right @insert_right end | 
#number ⇒ Fixnum
The number of columns to be inserted. Maximum 20 per request.
Corresponds to the JSON property number
| 1327 1328 1329 | # File 'generated/google/apis/slides_v1/classes.rb', line 1327 def number @number end | 
#table_object_id ⇒ String
The table to insert columns into.
Corresponds to the JSON property tableObjectId
| 1332 1333 1334 | # File 'generated/google/apis/slides_v1/classes.rb', line 1332 def table_object_id @table_object_id end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 1339 1340 1341 1342 1343 1344 | # File 'generated/google/apis/slides_v1/classes.rb', line 1339 def update!(**args) @cell_location = args[:cell_location] if args.key?(:cell_location) @insert_right = args[:insert_right] if args.key?(:insert_right) @number = args[:number] if args.key?(:number) @table_object_id = args[:table_object_id] if args.key?(:table_object_id) end |