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

GoogleAppsDriveLabelsV2LabelLock

import type { GoogleAppsDriveLabelsV2LabelLock } from "https://googleapis.deno.dev/v1/drivelabels:v2.ts";

A lock that can be applied to a label, field, or choice.

interface GoogleAppsDriveLabelsV2LabelLock {
choiceId?: string;
readonly createTime?: Date;
readonly deleteTime?: Date;
fieldId?: string;
readonly name?: string;
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETING";
}

§Properties

§

Output only. The user's capabilities on this label lock.

§
choiceId?: string
[src]

The ID of the selection field choice that should be locked. If present, field_id must also be present.

§
readonly createTime?: Date
[src]

Output only. The time this label lock was created.

§

Output only. The user whose credentials were used to create the label lock. Not present if no user was responsible for creating the label lock.

§
readonly deleteTime?: Date
[src]

Output only. A timestamp indicating when this label lock was scheduled for deletion. Present only if this label lock is in the DELETING state.

§
fieldId?: string
[src]

The ID of the field that should be locked. Empty if the whole label should be locked.

§
readonly name?: string
[src]

Output only. Resource name of this label lock.

§
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "DELETING"
[src]

Output only. This label lock's state.