class Google::Apis::SheetsV4::UpdateProtectedRangeRequest
Updates an existing protected range with the specified protectedRangeId.
Attributes
fields[RW]
The fields that should be updated. At least one field must be specified. The root `protectedRange` is implied and should not be specified. A single `“*”` can be used as short-hand for listing every field. Corresponds to the JSON property `fields` @return [String]
protected_range[RW]
A protected range. Corresponds to the JSON property `protectedRange` @return [Google::Apis::SheetsV4::ProtectedRange]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/sheets_v4/classes.rb, line 10814 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/sheets_v4/classes.rb, line 10819 def update!(**args) @fields = args[:fields] if args.key?(:fields) @protected_range = args[:protected_range] if args.key?(:protected_range) end