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.



5012
5013
5014
# File 'lib/google/apis/sheets_v4/classes.rb', line 5012

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)


5010
5011
5012
# File 'lib/google/apis/sheets_v4/classes.rb', line 5010

def table_id
  @table_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5017
5018
5019
# File 'lib/google/apis/sheets_v4/classes.rb', line 5017

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