class Google::Apis::CloudidentityV1::UpdateMembershipRolesParams

The details of an update to a `MembershipRole`.

Attributes

field_mask[RW]

The fully-qualified names of fields to update. May only contain the field ` expiry_detail.expire_time`. Corresponds to the JSON property `fieldMask` @return [String]

membership_role[RW]

A membership role within the Cloud Identity Groups API. A `MembershipRole` defines the privileges granted to a `Membership`. Corresponds to the JSON property `membershipRole` @return [Google::Apis::CloudidentityV1::MembershipRole]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudidentity_v1/classes.rb, line 1951
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_v1/classes.rb, line 1956
def update!(**args)
  @field_mask = args[:field_mask] if args.key?(:field_mask)
  @membership_role = args[:membership_role] if args.key?(:membership_role)
end