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

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 protected range with the given ID.

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

Returns a new instance of DeleteProtectedRangeRequest



3622
3623
3624
# File 'generated/google/apis/sheets_v4/classes.rb', line 3622

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)


3620
3621
3622
# File 'generated/google/apis/sheets_v4/classes.rb', line 3620

def protected_range_id
  @protected_range_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3627
3628
3629
# File 'generated/google/apis/sheets_v4/classes.rb', line 3627

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