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

LabelModification

import type { LabelModification } from "https://googleapis.deno.dev/v1/drive:v3.ts";

A modification to a label on a file. A LabelModification can be used to apply a label to a file, update an existing label on a file, or remove a label from a file.

interface LabelModification {
fieldModifications?: LabelFieldModification[];
kind?: string;
labelId?: string;
removeLabel?: boolean;
}

§Properties

§
fieldModifications?: LabelFieldModification[]
[src]

The list of modifications to this label's fields.

§
kind?: string
[src]

This is always drive#labelModification.

§
labelId?: string
[src]

The ID of the label to modify.

§
removeLabel?: boolean
[src]

If true, the label will be removed from the file.