Class: Google::Apis::SlidesV1::InsertTableRowsRequest

Inherits:
Object
  • Object
show all
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 rows 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) ⇒ InsertTableRowsRequest

Returns a new instance of InsertTableRowsRequest



661
662
663
# File 'generated/google/apis/slides_v1/classes.rb', line 661

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

Instance Attribute Details

#cell_locationGoogle::Apis::SlidesV1::TableCellLocation

A location of a single table cell within a table. Corresponds to the JSON property cellLocation



646
647
648
# File 'generated/google/apis/slides_v1/classes.rb', line 646

def cell_location
  @cell_location
end

#insert_belowBoolean Also known as: insert_below?

Whether to insert new rows below the reference cell location.

  • True: insert below the cell.
  • False: insert above the cell. Corresponds to the JSON property insertBelow

Returns:

  • (Boolean)


658
659
660
# File 'generated/google/apis/slides_v1/classes.rb', line 658

def insert_below
  @insert_below
end

#numberFixnum

The number of rows to be inserted. Maximum 20 per request. Corresponds to the JSON property number

Returns:

  • (Fixnum)


641
642
643
# File 'generated/google/apis/slides_v1/classes.rb', line 641

def number
  @number
end

#table_object_idString

The table to insert rows into. Corresponds to the JSON property tableObjectId

Returns:

  • (String)


651
652
653
# File 'generated/google/apis/slides_v1/classes.rb', line 651

def table_object_id
  @table_object_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



666
667
668
669
670
671
# File 'generated/google/apis/slides_v1/classes.rb', line 666

def update!(**args)
  @number = args[:number] if args.key?(:number)
  @cell_location = args[:cell_location] if args.key?(:cell_location)
  @table_object_id = args[:table_object_id] if args.key?(:table_object_id)
  @insert_below = args[:insert_below] if args.key?(:insert_below)
end