Class: Google::Apis::SheetsV4::DeleteTableRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeleteTableRequest
- 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
-
#table_id ⇒ String
The ID of the table to delete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteTableRequest
constructor
A new instance of DeleteTableRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_id ⇒ String
The ID of the table to delete.
Corresponds to the JSON property tableId
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 |