Class: Google::Apis::SheetsV4::DeleteNamedRangeRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeleteNamedRangeRequest
- 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
-
#named_range_id ⇒ String
The ID of the named range to delete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteNamedRangeRequest
constructor
A new instance of DeleteNamedRangeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteNamedRangeRequest
Returns a new instance of DeleteNamedRangeRequest
3603 3604 3605 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3603 def initialize(**args) update!(**args) end |
Instance Attribute Details
#named_range_id ⇒ String
The ID of the named range to delete.
Corresponds to the JSON property namedRangeId
3601 3602 3603 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3601 def named_range_id @named_range_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3608 3609 3610 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 3608 def update!(**args) @named_range_id = args[:named_range_id] if args.key?(:named_range_id) end |