Show / Hide Table of Contents

Class ModifyMembershipRolesRequest

The request message for MembershipsService.ModifyMembershipRoles.

Inheritance
object
ModifyMembershipRolesRequest
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudIdentity.v1beta1.Data
Assembly: Google.Apis.CloudIdentity.v1beta1.dll
Syntax
public class ModifyMembershipRolesRequest : IDirectResponseSchema

Properties

AddRoles

The MembershipRoles 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 names of the MembershipRoles 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 MembershipRoles 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>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX