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

MatterPermission

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

Users can be matter owners or collaborators. Each matter has only one owner. All others users who can access the matter are collaborators. When an account is purged, its corresponding MatterPermission resources cease to exist.

interface MatterPermission {
accountId?: string;
role?: "ROLE_UNSPECIFIED" | "COLLABORATOR" | "OWNER";
}

§Properties

§
accountId?: string
[src]

The account ID, as provided by the Admin SDK.

§
role?: "ROLE_UNSPECIFIED" | "COLLABORATOR" | "OWNER"
[src]

The user's role for the matter.