Class: Google::Apis::SheetsV4::AddTableRequest

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

Overview

Adds a new table to the spreadsheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AddTableRequest

Returns a new instance of AddTableRequest.



436
437
438
# File 'lib/google/apis/sheets_v4/classes.rb', line 436

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

Instance Attribute Details

#tableGoogle::Apis::SheetsV4::Table

A table. Corresponds to the JSON property table



434
435
436
# File 'lib/google/apis/sheets_v4/classes.rb', line 434

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



441
442
443
# File 'lib/google/apis/sheets_v4/classes.rb', line 441

def update!(**args)
  @table = args[:table] if args.key?(:table)
end