Class ModifyMembershipRolesRequest
The request message for MembershipsService.ModifyMembershipRoles.
Implements
Inherited Members
Namespace: Google.Apis.CloudIdentity.v1beta1.Data
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class ModifyMembershipRolesRequest : IDirectResponseSchema
Properties
AddRoles
The MembershipRole
s to be added. Adding or removing roles in the same request as updating roles is not
supported. Must not be set if update_roles_params
is set.
Declaration
[JsonProperty("addRoles")]
public virtual IList<MembershipRole> AddRoles { get; set; }
Property Value
Type | Description |
---|---|
IList<MembershipRole> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
RemoveRoles
The name
s of the MembershipRole
s to be removed. Adding or removing roles in the same request as updating
roles is not supported. It is not possible to remove the MEMBER
MembershipRole
. If you wish to delete a
Membership
, call MembershipsService.DeleteMembership instead. Must not contain MEMBER
. Must not be set
if update_roles_params
is set.
Declaration
[JsonProperty("removeRoles")]
public virtual IList<string> RemoveRoles { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
UpdateRolesParams
The MembershipRole
s to be updated. Updating roles in the same request as adding or removing roles is not
supported. Must not be set if either add_roles
or remove_roles
is set.
Declaration
[JsonProperty("updateRolesParams")]
public virtual IList<UpdateMembershipRolesParams> UpdateRolesParams { get; set; }
Property Value
Type | Description |
---|---|
IList<UpdateMembershipRolesParams> |