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

MembershipRole

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

A membership role within the Cloud Identity Groups API. A MembershipRole defines the privileges granted to a Membership.

interface MembershipRole {
expiryDetail?: ExpiryDetail;
name?: string;
restrictionEvaluations?: RestrictionEvaluations;
}

§Properties

§
expiryDetail?: ExpiryDetail
[src]

The expiry details of the MembershipRole. Expiry details are only supported for MEMBER MembershipRoles. May be set if name is MEMBER. Must not be set if name is any other value.

§
name?: string
[src]

The name of the MembershipRole. Must be one of OWNER, MANAGER, MEMBER.

§
restrictionEvaluations?: RestrictionEvaluations
[src]

Evaluations of restrictions applied to parent group on this membership.