Class: Google::Apis::DriveV2::About::AdditionalRoleInfo::RoleSet
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::DriveV2::About::AdditionalRoleInfo::RoleSet
 
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/drive_v2/classes.rb,
 generated/google/apis/drive_v2/representations.rb,
 generated/google/apis/drive_v2/representations.rb
Instance Attribute Summary collapse
- 
  
    
      #additional_roles  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The supported additional roles with the primary role. 
- 
  
    
      #primary_role  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A primary permission role. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ RoleSet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of RoleSet. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ RoleSet
Returns a new instance of RoleSet
| 243 244 245 | # File 'generated/google/apis/drive_v2/classes.rb', line 243 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#additional_roles ⇒ Array<String>
The supported additional roles with the primary role.
Corresponds to the JSON property additionalRoles
| 236 237 238 | # File 'generated/google/apis/drive_v2/classes.rb', line 236 def additional_roles @additional_roles end | 
#primary_role ⇒ String
A primary permission role.
Corresponds to the JSON property primaryRole
| 241 242 243 | # File 'generated/google/apis/drive_v2/classes.rb', line 241 def primary_role @primary_role end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 248 249 250 251 | # File 'generated/google/apis/drive_v2/classes.rb', line 248 def update!(**args) @additional_roles = args[:additional_roles] if args.key?(:additional_roles) @primary_role = args[:primary_role] if args.key?(:primary_role) end |