Class: Google::Apis::SheetsV4::Editors
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SheetsV4::Editors
 
- 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 editors of a protected range.
Instance Attribute Summary collapse
- 
  
    
      #domain_users_can_edit  ⇒ Boolean 
    
    
      (also: #domain_users_can_edit?)
    
  
  
  
  
    
    
  
  
  
  
  
  
    True if anyone in the document's domain has edit access to the protected range. 
- 
  
    
      #groups  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The email addresses of groups with edit access to the protected range. 
- 
  
    
      #users  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The email addresses of users with edit access to the protected range. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Editors 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of Editors. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Editors
Returns a new instance of Editors
| 4372 4373 4374 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4372 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#domain_users_can_edit ⇒ Boolean Also known as: domain_users_can_edit?
True if anyone in the document's domain has edit access to the protected
range.  Domain protection is only supported on documents within a domain.
Corresponds to the JSON property domainUsersCanEdit
| 4359 4360 4361 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4359 def domain_users_can_edit @domain_users_can_edit end | 
#groups ⇒ Array<String>
The email addresses of groups with edit access to the protected range.
Corresponds to the JSON property groups
| 4365 4366 4367 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4365 def groups @groups end | 
#users ⇒ Array<String>
The email addresses of users with edit access to the protected range.
Corresponds to the JSON property users
| 4370 4371 4372 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4370 def users @users end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 4377 4378 4379 4380 4381 | # File 'generated/google/apis/sheets_v4/classes.rb', line 4377 def update!(**args) @domain_users_can_edit = args[:domain_users_can_edit] if args.key?(:domain_users_can_edit) @groups = args[:groups] if args.key?(:groups) @users = args[:users] if args.key?(:users) end |