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.



438
439
440
# File 'lib/google/apis/sheets_v4/classes.rb', line 438

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

Instance Attribute Details

#tableGoogle::Apis::SheetsV4::Table

A table. Corresponds to the JSON property table



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

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



443
444
445
# File 'lib/google/apis/sheets_v4/classes.rb', line 443

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