class Google::Apis::DriveV2::About::AdditionalRoleInfo::RoleSet

Attributes

additional_roles[RW]

The supported additional roles with the primary role. Corresponds to the JSON property `additionalRoles` @return [Array<String>]

primary_role[RW]

A primary permission role. Corresponds to the JSON property `primaryRole` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/drive_v2/classes.rb, line 230
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/drive_v2/classes.rb, line 235
def update!(**args)
  @additional_roles = args[:additional_roles] if args.key?(:additional_roles)
  @primary_role = args[:primary_role] if args.key?(:primary_role)
end