Permission
import type { Permission } from "https://googleapis.deno.dev/v1/driveactivity:v2.ts";
The permission setting of an object.
interface Permission {
allowDiscovery?: boolean;
anyone?: Anyone;
domain?: Domain;
group?: Group;
role?:
| "ROLE_UNSPECIFIED"
| "OWNER"
| "ORGANIZER"
| "FILE_ORGANIZER"
| "EDITOR"
| "COMMENTER"
| "VIEWER"
| "PUBLISHED_VIEWER";
user?: User;
}§Properties
§
allowDiscovery?: boolean
[src]If true, the item can be discovered (e.g. in the user's "Shared with me" collection) without needing a link to the item.
§
role?: "ROLE_UNSPECIFIED" | "OWNER" | "ORGANIZER" | "FILE_ORGANIZER" | "EDITOR" | "COMMENTER" | "VIEWER" | "PUBLISHED_VIEWER"
[src]Indicates the Google Drive permissions role. The role determines a user's ability to read, write, and comment on items.