Class: Google::Apis::SheetsV4::AddProtectedRangeResponse

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

The result of adding a new protected range.

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

Returns a new instance of AddProtectedRangeResponse.



330
331
332
# File 'generated/google/apis/sheets_v4/classes.rb', line 330

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

Instance Attribute Details

#protected_rangeGoogle::Apis::SheetsV4::ProtectedRange

A protected range. Corresponds to the JSON property protectedRange



328
329
330
# File 'generated/google/apis/sheets_v4/classes.rb', line 328

def protected_range
  @protected_range
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



335
336
337
# File 'generated/google/apis/sheets_v4/classes.rb', line 335

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