Notice: important security update for Drive document URLs and resource keys. For more information, refer to Access link-shared files using resource keys


For a list of methods for this resource, see the end of this page.

Resource representations

A change to a file or shared drive.

  "kind": "drive#change",
  "type": string,
  "changeType": string,
  "time": datetime,
  "removed": boolean,
  "fileId": string,
  "file": files Resource,
  "teamDriveId": string,
  "driveId": string,
  "teamDrive": teamdrives Resource,
  "drive": drives Resource
Property name Value Description Notes
kind string Identifies what kind of resource this is. Value: the fixed string "drive#change".
fileId string The ID of the file which has changed.
removed boolean Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
time datetime The time of this change (RFC 3339 date-time).
file nested object The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
type string Deprecated - use changeType instead.
teamDriveId string Deprecated - use driveId instead.
teamDrive nested object Deprecated - use drive instead.
changeType string The type of the change. Possible values are file and drive.
driveId string The ID of the shared drive associated with this change.
drive nested object The updated state of the shared drive. Present if the changeType is drive, the user is still a member of the shared drive, and the shared drive has not been deleted.


Gets the starting pageToken for listing future changes.
Lists the changes for a user or shared drive.
Subscribes to changes for a user.