Class: Google::Apis::CloudidentityV1::ModifyMembershipRolesResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/cloudidentity_v1/classes.rb,
lib/google/apis/cloudidentity_v1/representations.rb,
lib/google/apis/cloudidentity_v1/representations.rb

Overview

The response message for MembershipsService.ModifyMembershipRoles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ModifyMembershipRolesResponse

Returns a new instance of ModifyMembershipRolesResponse.



2189
2190
2191
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2189

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#membershipGoogle::Apis::CloudidentityV1::Membership

A membership within the Cloud Identity Groups API. A Membership defines a relationship between a Group and an entity belonging to that Group, referred to as a "member". Corresponds to the JSON property membership



2187
2188
2189
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2187

def membership
  @membership
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2194
2195
2196
# File 'lib/google/apis/cloudidentity_v1/classes.rb', line 2194

def update!(**args)
  @membership = args[:membership] if args.key?(:membership)
end