Class: Google::Apis::SheetsV4::DeleteProtectedRangeRequest
- Inherits:
-
Object
- Object
- Google::Apis::SheetsV4::DeleteProtectedRangeRequest
- 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 protected range with the given ID.
Instance Attribute Summary collapse
-
#protected_range_id ⇒ Fixnum
The ID of the protected range to delete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeleteProtectedRangeRequest
constructor
A new instance of DeleteProtectedRangeRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DeleteProtectedRangeRequest
Returns a new instance of DeleteProtectedRangeRequest
1784 1785 1786 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1784 def initialize(**args) update!(**args) end |
Instance Attribute Details
#protected_range_id ⇒ Fixnum
The ID of the protected range to delete.
Corresponds to the JSON property protectedRangeId
1782 1783 1784 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1782 def protected_range_id @protected_range_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1789 1790 1791 |
# File 'generated/google/apis/sheets_v4/classes.rb', line 1789 def update!(**args) @protected_range_id = args[:protected_range_id] if args.key?(:protected_range_id) end |