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

Attributes

role_sets[RW]

The supported additional roles per primary role. Corresponds to the JSON property `roleSets` @return [Array<Google::Apis::DriveV2::About::AdditionalRoleInfo::RoleSet>]

type[RW]

The content type that this additional role info applies to. Corresponds to the JSON property `type` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/drive_v2/classes.rb, line 238
def update!(**args)
  @role_sets = args[:role_sets] if args.key?(:role_sets)
  @type = args[:type] if args.key?(:type)
end