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

Membership

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

A membership within the Cloud Identity Groups API. A Membership defines a relationship between a Group and an entity belonging to that Group, referred to as a "member".

interface Membership {
readonly createTime?: Date;
readonly deliverySetting?:
| "DELIVERY_SETTING_UNSPECIFIED"
| "ALL_MAIL"
| "DIGEST"
| "DAILY"
| "NONE"
| "DISABLED";
readonly name?: string;
preferredMemberKey?: EntityKey;
roles?: MembershipRole[];
readonly type?:
| "TYPE_UNSPECIFIED"
| "USER"
| "SERVICE_ACCOUNT"
| "GROUP"
| "SHARED_DRIVE"
| "OTHER";
readonly updateTime?: Date;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. The time when the Membership was created.

§
readonly deliverySetting?: "DELIVERY_SETTING_UNSPECIFIED" | "ALL_MAIL" | "DIGEST" | "DAILY" | "NONE" | "DISABLED"
[src]

Output only. Delivery setting associated with the membership.

§
readonly name?: string
[src]

Output only. The resource name of the Membership. Shall be of the form groups/{group}/memberships/{membership}.

§
preferredMemberKey?: EntityKey
[src]

Required. Immutable. The EntityKey of the member.

§

The MembershipRoles that apply to the Membership. If unspecified, defaults to a single MembershipRole with name MEMBER. Must not contain duplicate MembershipRoles with the same name.

§
readonly type?: "TYPE_UNSPECIFIED" | "USER" | "SERVICE_ACCOUNT" | "GROUP" | "SHARED_DRIVE" | "OTHER"
[src]

Output only. The type of the membership.

§
readonly updateTime?: Date
[src]

Output only. The time when the Membership was last updated.