class Google::Apis::CloudidentityV1beta1::MembershipRole

A membership role within the Cloud Identity Groups API. A `MembershipRole` defines the privileges granted to a `Membership`.

Attributes

expiry_detail[RW]

The `MembershipRole` expiry details. Corresponds to the JSON property `expiryDetail` @return [Google::Apis::CloudidentityV1beta1::ExpiryDetail]

name[RW]

The name of the `MembershipRole`. Must be one of `OWNER`, `MANAGER`, `MEMBER`. Corresponds to the JSON property `name` @return [String]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudidentity_v1beta1/classes.rb, line 2114
def update!(**args)
  @expiry_detail = args[:expiry_detail] if args.key?(:expiry_detail)
  @name = args[:name] if args.key?(:name)
end