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 LabelLock.

§
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 LabelLock was created.

§

Output only. The user whose credentials were used to create the LabelLock. This will not be present if no user was responsible for creating the LabelLock.

§
readonly deleteTime?: Date
[src]

Output only. A timestamp indicating when this LabelLock was scheduled for deletion. This will be present only if this LabelLock 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 LabelLock.

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

Output only. This LabelLock's state.