Class: Google::Apis::SheetsV4::AddProtectedRangeResponse
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::SheetsV4::AddProtectedRangeResponse
 
 
- 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
- 
  
    
      #protected_range  ⇒ Google::Apis::SheetsV4::ProtectedRange 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A protected range.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AddProtectedRangeResponse 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AddProtectedRangeResponse.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AddProtectedRangeResponse
Returns a new instance of AddProtectedRangeResponse
      287 288 289  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 287 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#protected_range ⇒ Google::Apis::SheetsV4::ProtectedRange
A protected range.
Corresponds to the JSON property protectedRange
      285 286 287  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 285 def protected_range @protected_range end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      292 293 294  | 
    
      # File 'generated/google/apis/sheets_v4/classes.rb', line 292 def update!(**args) @protected_range = args[:protected_range] if args.key?(:protected_range) end  |