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

Hold

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

A hold. A hold prevents the specified Google Workspace service from purging data for specific accounts or all members of an organizational unit. To work with Vault resources, the account must have the [required Vault privileges] (https://support.google.com/vault/answer/2799699) and access to the matter. To access a matter, the account must have created the matter, have the matter shared with them, or have the View All Matters privilege.

interface Hold {
accounts?: HeldAccount[];
corpus?:
| "CORPUS_TYPE_UNSPECIFIED"
| "DRIVE"
| "MAIL"
| "GROUPS"
| "HANGOUTS_CHAT"
| "VOICE"
| "CALENDAR";
holdId?: string;
name?: string;
orgUnit?: HeldOrgUnit;
query?: CorpusQuery;
updateTime?: Date;
}

§Properties

§
accounts?: HeldAccount[]
[src]

If set, the hold applies to the specified accounts and orgUnit must be empty.

§
corpus?: "CORPUS_TYPE_UNSPECIFIED" | "DRIVE" | "MAIL" | "GROUPS" | "HANGOUTS_CHAT" | "VOICE" | "CALENDAR"
[src]

The service to be searched.

§
holdId?: string
[src]

The unique immutable ID of the hold. Assigned during creation.

§
name?: string
[src]

The name of the hold.

§

If set, the hold applies to all members of the organizational unit and accounts must be empty. This property is mutable. For Groups holds, set accounts.

§

Service-specific options. If set, CorpusQuery must match CorpusType.

§
updateTime?: Date
[src]

The last time this hold was modified.