driveactivity.v2 library Null safety

Drive Activity API - v2

Provides a historical view of activity in Google Drive.

For more information, see developers.google.com/drive/activity/

Create an instance of DriveActivityApi to access these resources:

Classes

Action
Information about the action.
ActionDetail
Data describing the type and additional information of an action.
ActivityResource
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.
Assignment
A comment with an assignment.
Comment
A change about comments on an object.
ConsolidationStrategy
How the individual activities are consolidated. [...]
Copy
An object was created by copying an existing object.
Create
An object was created.
DataLeakPreventionChange
A change in the object's data leak prevention status.
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. [...]
DriveActivityApi
Provides a historical view of activity in Google Drive.
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.
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. [...]
KnownUser
A known user.
Legacy
A strategy which consolidates activities using the grouping rules from the legacy V1 Activity API. [...]
Move
An object was moved.
New
An object was created from scratch.
NoConsolidation
A strategy which 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.
SettingsChange
Information about settings changes.
Suggestion
A suggestion.
SystemEvent
Event triggered by system operations instead of end users.
Target
Information about the target of activity.
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.
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.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.