class Google::Apis::SheetsV4::AddProtectedRangeRequest

Adds a new protected range.

Attributes

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 319
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 324
def update!(**args)
  @protected_range = args[:protected_range] if args.key?(:protected_range)
end