Class: Google::Apis::SheetsV4::DeleteTableRequest

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

Removes the table with the given ID from the spreadsheet.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteTableRequest

Returns a new instance of DeleteTableRequest.



4998
4999
5000
# File 'lib/google/apis/sheets_v4/classes.rb', line 4998

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

Instance Attribute Details

#table_idString

The ID of the table to delete. Corresponds to the JSON property tableId

Returns:

  • (String)


4996
4997
4998
# File 'lib/google/apis/sheets_v4/classes.rb', line 4996

def table_id
  @table_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5003
5004
5005
# File 'lib/google/apis/sheets_v4/classes.rb', line 5003

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