class Google::Apis::SasportalV1alpha1::SasPortalAssignment

Associates `members` with a `role`.

Attributes

members[RW]

The identities the role is assigned to. It can have the following values: * “ user_email“: An email address that represents a specific Google account. For example: `alice@gmail.com`. * “group_email“: An email address that represents a Google group. For example, `viewers@gmail.com`. Corresponds to the JSON property `members` @return [Array<String>]

role[RW]

Required. Role that is assigned to `members`. Corresponds to the JSON property `role` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sasportal_v1alpha1/classes.rb, line 47
def update!(**args)
  @members = args[:members] if args.key?(:members)
  @role = args[:role] if args.key?(:role)
end