View Source GoogleApi.CloudIdentity.V1.Model.ModifyMembershipRolesRequest (google_api_cloud_identity v0.33.0)
The request message for MembershipsService.ModifyMembershipRoles.
Attributes
-
addRoles(type:list(GoogleApi.CloudIdentity.V1.Model.MembershipRole.t), default:nil) - TheMembershipRoles to be added. Adding or removing roles in the same request as updating roles is not supported. Must not be set ifupdate_roles_paramsis set. -
removeRoles(type:list(String.t), default:nil) - Thenames of theMembershipRoles to be removed. Adding or removing roles in the same request as updating roles is not supported. It is not possible to remove theMEMBERMembershipRole. If you wish to delete aMembership, call MembershipsService.DeleteMembership instead. Must not containMEMBER. Must not be set ifupdate_roles_paramsis set. -
updateRolesParams(type:list(GoogleApi.CloudIdentity.V1.Model.UpdateMembershipRolesParams.t), default:nil) - TheMembershipRoles to be updated. Updating roles in the same request as adding or removing roles is not supported. Must not be set if eitheradd_rolesorremove_rolesis set.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.CloudIdentity.V1.Model.ModifyMembershipRolesRequest{ addRoles: [GoogleApi.CloudIdentity.V1.Model.MembershipRole.t()] | nil, removeRoles: [String.t()] | nil, updateRolesParams: [GoogleApi.CloudIdentity.V1.Model.UpdateMembershipRolesParams.t()] | nil }