Class: Google::Apis::SheetsV4::DeleteProtectedRangeRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sheets_v4/classes.rb,
lib/google/apis/sheets_v4/representations.rb,
lib/google/apis/sheets_v4/representations.rb

Overview

Deletes the protected range with the given ID.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeleteProtectedRangeRequest

Returns a new instance of DeleteProtectedRangeRequest.



4697
4698
4699
# File 'lib/google/apis/sheets_v4/classes.rb', line 4697

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

Instance Attribute Details

#protected_range_idFixnum

The ID of the protected range to delete. Corresponds to the JSON property protectedRangeId

Returns:

  • (Fixnum)


4695
4696
4697
# File 'lib/google/apis/sheets_v4/classes.rb', line 4695

def protected_range_id
  @protected_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4702
4703
4704
# File 'lib/google/apis/sheets_v4/classes.rb', line 4702

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