Class: Google::Apis::SheetsV4::DeleteSheetRequest

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DeleteSheetRequest

Returns a new instance of DeleteSheetRequest.



4547
4548
4549
# File 'generated/google/apis/sheets_v4/classes.rb', line 4547

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

Instance Attribute Details

#sheet_idFixnum

The ID of the sheet to delete. Corresponds to the JSON property sheetId

Returns:

  • (Fixnum)


4545
4546
4547
# File 'generated/google/apis/sheets_v4/classes.rb', line 4545

def sheet_id
  @sheet_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4552
4553
4554
# File 'generated/google/apis/sheets_v4/classes.rb', line 4552

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