Show / Hide Table of Contents

Class ModifyMembershipRolesRequest

The request message for MembershipsService.ModifyMembershipRoles.

Inheritance
System.Object
ModifyMembershipRolesRequest
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudIdentity.v1.Data
Assembly: Google.Apis.CloudIdentity.v1.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
System.Collections.Generic.IList<MembershipRole>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.Collections.Generic.IList<System.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
System.Collections.Generic.IList<UpdateMembershipRolesParams>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top