Permission
import type { Permission } from "https://googleapis.deno.dev/v1/keep:v1.ts";
A single permission on the note. Associates a member
with a role
.
interface Permission {
readonly deleted?: boolean;
email?: string;
readonly family?: Family;
readonly group?: Group;
readonly name?: string;
role?: "ROLE_UNSPECIFIED" | "OWNER" | "WRITER";
readonly user?: User;
}§Properties
§
readonly deleted?: boolean
[src]Output only. Whether this member has been deleted. If the member is recovered, this value is set to false and the recovered member retains the role on the note.
§
email?: string
[src]The email associated with the member. If set on create, the email
field
in the User
or Group
message must either be empty or match this field.
On read, may be unset if the member does not have an associated email.