# Constants
View the activity record of files in your Google Drive.
View and add to the activity record of files in your Google Drive.
# Structs
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.
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.
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.
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.
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.
Move: An object was moved.
New1: 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.
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.