Class: Google::Apis::CloudidentityV1beta1::ModifyMembershipRolesResponse

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

Overview

The response message for MembershipsService.ModifyMembershipRoles.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ModifyMembershipRolesResponse

Returns a new instance of ModifyMembershipRolesResponse.



1137
1138
1139
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1137

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

Instance Attribute Details

#membershipGoogle::Apis::CloudidentityV1beta1::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



1135
1136
1137
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1135

def membership
  @membership
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1142
1143
1144
# File 'generated/google/apis/cloudidentity_v1beta1/classes.rb', line 1142

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