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

DriveActivity

import { DriveActivity } from "https://googleapis.deno.dev/v1/driveactivity:v2.ts";

Provides a historical view of activity in Google Drive.

class DriveActivity {
constructor(client?: CredentialsClient, baseUrl?: string);
async activityQuery(req: QueryDriveActivityRequest): Promise<QueryDriveActivityResponse>;
}
interface DriveActivity {
actions?: Action[];
actors?: Actor[];
primaryActionDetail?: ActionDetail;
targets?: Target[];
timeRange?: TimeRange;
timestamp?: Date;
}

§Constructors

§
new DriveActivity(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§

Query past activity in Google Drive.

§Properties

§
actions?: Action[]
[src]

Details on all actions in this activity.

§
actors?: Actor[]
[src]

All actor(s) responsible for the activity.

§
primaryActionDetail?: ActionDetail
[src]

Key information about the primary action for this activity. This is either representative, or the most important, of all actions in the activity, according to the ConsolidationStrategy in the request.

§
targets?: Target[]
[src]

All Google Drive objects this activity is about (e.g. file, folder, drive). This represents the state of the target immediately after the actions occurred.

§
timeRange?: TimeRange
[src]

The activity occurred over this time range.

§
timestamp?: Date
[src]

The activity occurred at this specific time.