Google Apps Script API
    Preparing search index...

    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;
    }
    Index

    Properties

    fieldModifications: LabelFieldModification[]

    The list of modifications to this label's fields.

    kind: string

    This is always drive#labelModification.

    labelId: string

    The ID of the label to modify.

    removeLabel: boolean

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