Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ModifyMembershipRolesRequest

import type { ModifyMembershipRolesRequest } from "https://googleapis.deno.dev/v1/cloudidentity:v1.ts";

The request message for MembershipsService.ModifyMembershipRoles.

interface ModifyMembershipRolesRequest {
addRoles?: MembershipRole[];
removeRoles?: string[];
updateRolesParams?: UpdateMembershipRolesParams[];
}

§Properties

§
addRoles?: MembershipRole[]
[src]

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.

§
removeRoles?: string[]
[src]

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.

§
updateRolesParams?: UpdateMembershipRolesParams[]
[src]

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.