Class: Google::Apis::SheetsV4::DeleteSheetRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeleteSheetRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sheets_v4/classes.rb,
generated/google/apis/sheets_v4/representations.rb,
generated/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.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteSheetRequest
Returns a new instance of DeleteSheetRequest
3935 3936 3937 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3935 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sheet_id ⇒ Fixnum
The ID of the sheet to delete.
Corresponds to the JSON property sheetId
3933 3934 3935 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3933 def sheet_id @sheet_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3940 3941 3942 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3940 def update!(**args) @sheet_id = args[:sheet_id] if args.key?(:sheet_id) end |