driveactivity/v2 library
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.
 - 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.
 - 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.
 - 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.
 - FieldValue
 - Contains a value of a Field.
 - FieldValueChange
 - Change to a Field value.
 - FileComment
 - A comment on a file.
 - Folder
 - 
  This item is deprecated; please see 
DriveFolderinstead. - 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.
 - Move
 - An object was moved.
 - 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 
Driveinstead. - TeamDriveReference
 - 
  This item is deprecated; please see 
DriveReferenceinstead. - Text
 - Wrapper for Text Field value.
 - TextList
 - Wrapper for Text List Field value.
 - TimeRange
 - Information about time ranges.
 - User
 - Information about an end user.
 - UserList
 - Wrapper for UserList Field value.
 
Typedefs
- Administrator = $Empty
 - Empty message representing an administrator.
 - AnonymousUser = $Empty
 - Empty message representing an anonymous user or indicating the authenticated user should be anonymized.
 - Anyone = $Empty
 - Represents any user (including a logged out user).
 - DeletedUser = $Empty
 - A user whose account has since been deleted.
 - DriveFile = $Empty
 - A Drive item which is a file.
 - Edit = $Empty
 - An empty message indicating an object was edited.
 - File = $Shared01
 - 
  This item is deprecated; please see 
DriveFileinstead. - Legacy = $Empty
 - A strategy that consolidates activities using the grouping rules from the legacy V1 Activity API.
 - New = $Empty
 - An object was created from scratch.
 - NoConsolidation = $Empty
 - A strategy that does no consolidation of individual activities.
 - UnknownUser = $Empty
 - A user about whom nothing is currently known.
 - Upload = $Empty
 - An object was uploaded into Drive.
 
Exceptions / Errors
- ApiRequestError
 - Represents a general error reported by the API endpoint.
 - DetailedApiRequestError
 - Represents a specific error reported by the API endpoint.