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

Usage

import * as mod from "https://googleapis.deno.dev/v1/driveactivity:v2.ts";

§Classes

DriveActivity

Provides a historical view of activity in Google Drive.

GoogleAuth

§Variables

auth

§Interfaces

Action

Information about the action.

ActionDetail

Data describing the type and additional information of an action.

Actor

The actor of a Drive activity.

Administrator

Empty message representing an administrator.

AnonymousUser

Empty message representing an anonymous user or indicating the authenticated user should be anonymized.

Anyone

Represents any user (including a logged out user).

ApplicationReference

Activity in applications other than Drive.

AppliedLabelChange

Label changes that were made on the Target.

AppliedLabelChangeDetail

A change made to a Label on the Target.

Assignment

A comment with an assignment.

Comment

A change about comments on an object.

ConsolidationStrategy

How the individual activities are consolidated. If a set of activities is related they can be consolidated into one combined activity, such as one actor performing the same action on multiple targets, or multiple actors performing the same action on a single target. The strategy defines the rules for which activities are related.

Copy

An object was created by copying an existing object.

Create

An object was created.

CredentialsClient

Defines the root interface for all clients that generate credentials for calling Google APIs. All clients should implement this interface.

DataLeakPreventionChange

A change in the object's data leak prevention status.

Date

Wrapper for Date Field value.

Delete

An object was deleted.

DeletedUser

A user whose account has since been deleted.

Domain

Information about a domain.

Drive

Information about a shared drive.

DriveActivity

A single Drive activity comprising one or more Actions by one or more Actors on one or more Targets. Some Action groupings occur spontaneously, such as moving an item into a shared folder triggering a permission change. Other groupings of related Actions, such as multiple Actors editing one item or moving multiple files into a new folder, are controlled by the selection of a ConsolidationStrategy in the QueryDriveActivityRequest.

DriveFile

A Drive item which is a file.

DriveFolder

A Drive item which is a folder.

DriveItem

A Drive item, such as a file or folder.

DriveItemReference

A lightweight reference to a Drive item, such as a file or folder.

DriveReference

A lightweight reference to a shared drive.

Edit

An empty message indicating an object was edited.

FieldValue

Contains a value of a Field.

FieldValueChange

Change to a Field value.

File

This item is deprecated; please see DriveFile instead.

FileComment

A comment on a file.

Folder

This item is deprecated; please see DriveFolder instead.

Group

Information about a group.

Impersonation

Information about an impersonation, where an admin acts on behalf of an end user. Information about the acting admin is not currently available.

Integer

Wrapper for Integer Field value.

KnownUser

A known user.

Legacy

A strategy that consolidates activities using the grouping rules from the legacy V1 Activity API. Similar actions occurring within a window of time can be grouped across multiple targets (such as moving a set of files at once) or multiple actors (such as several users editing the same item). Grouping rules for this strategy are specific to each type of action.

Move

An object was moved.

New

An object was created from scratch.

NoConsolidation

A strategy that does no consolidation of individual activities.

Owner

Information about the owner of a Drive item.

Permission

The permission setting of an object.

PermissionChange

A change of the permission setting on an item.

Post

A regular posted comment.

QueryDriveActivityRequest

The request message for querying Drive activity.

QueryDriveActivityResponse

Response message for querying Drive activity.

Rename

An object was renamed.

Restore

A deleted object was restored.

RestrictionChange

Information about restriction policy changes to a feature.

Selection

Wrapper for Selection Field value as combined value/display_name pair for selected choice.

SelectionList

Wrapper for SelectionList Field value.

SettingsChange

Information about settings changes.

SingleUser

Wrapper for User Field value.

Suggestion

A suggestion.

SystemEvent

Event triggered by system operations instead of end users.

Target

Information about the target of activity. For more information on how activity history is shared with users, see Activity history visibility.

TargetReference

A lightweight reference to the target of activity.

TeamDrive

This item is deprecated; please see Drive instead.

TeamDriveReference

This item is deprecated; please see DriveReference instead.

Text

Wrapper for Text Field value.

TextList

Wrapper for Text List Field value.

TimeRange

Information about time ranges.

UnknownUser

A user about whom nothing is currently known.

Upload

An object was uploaded into Drive.

User

Information about an end user.

UserList

Wrapper for UserList Field value.