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

Change

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

A change to a file or shared drive.

interface Change {
changeType?: string;
drive?: Drive;
driveId?: string;
file?: File;
fileId?: string;
kind?: string;
removed?: boolean;
teamDrive?: TeamDrive;
teamDriveId?: string;
time?: Date;
type?: string;
}

§Properties

§
changeType?: string
[src]

The type of the change. Possible values are file and drive.

§
drive?: Drive
[src]

The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.

§
driveId?: string
[src]

The ID of the shared drive associated with this change.

§
file?: File
[src]

The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.

§
fileId?: string
[src]

The ID of the file which has changed.

§
kind?: string
[src]

Identifies what kind of resource this is. Value: the fixed string "drive#change".

§
removed?: boolean
[src]

Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.

§
teamDrive?: TeamDrive
[src]

Deprecated: Use drive instead.

§
teamDriveId?: string
[src]

Deprecated: Use driveId instead.

§
time?: Date
[src]

The time of this change (RFC 3339 date-time).

§
type?: string
[src]

Deprecated: Use changeType instead.