Class: Google::Apis::SheetsV4::DeleteNamedRangeRequest

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

Removes the named range with the given ID from the spreadsheet.

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) ⇒ DeleteNamedRangeRequest

Returns a new instance of DeleteNamedRangeRequest.



4470
4471
4472
# File 'generated/google/apis/sheets_v4/classes.rb', line 4470

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

Instance Attribute Details

#named_range_idString

The ID of the named range to delete. Corresponds to the JSON property namedRangeId

Returns:

  • (String)


4468
4469
4470
# File 'generated/google/apis/sheets_v4/classes.rb', line 4468

def named_range_id
  @named_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4475
4476
4477
# File 'generated/google/apis/sheets_v4/classes.rb', line 4475

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