Class: Google::Apis::SheetsV4::DeleteSheetRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeleteSheetRequest
- 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
Deletes the requested sheet.
Instance Attribute Summary collapse
-
#sheet_id ⇒ Fixnum
The ID of the sheet to delete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteSheetRequest
constructor
A new instance of DeleteSheetRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeleteSheetRequest
Returns a new instance of DeleteSheetRequest.
4853 4854 4855 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4853 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sheet_id ⇒ Fixnum
The ID of the sheet to delete. If the sheet is of DATA_SOURCE type, the
associated DataSource is also deleted.
Corresponds to the JSON property sheetId
4851 4852 4853 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4851 def sheet_id @sheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4858 4859 4860 |
# File 'lib/google/apis/sheets_v4/classes.rb', line 4858 def update!(**args) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) end |