The photos space will sunset in early January 2018. Your users can continue to access Google Photos via the drive space by enabling the Google Photos folder in My Drive in the Drive client settings

Changes

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

Resource representations

Representation of a change to a file or Team Drive.

{
  "kind": "drive#change",
  "id": long,
  "type": string,
  "modificationDate": datetime,
  "deleted": boolean,
  "selfLink": string,
  "fileId": string,
  "file": files Resource,
  "teamDriveId": string,
  "teamDrive": teamdrives Resource
}
Property name Value Description Notes
kind string This is always drive#change.
id long The ID of the change.
fileId string The ID of the file associated with this change.
deleted boolean Whether the file or Team Drive has been removed from this list of changes, for example by deletion or loss of access.
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.
modificationDate datetime The time of this modification.
type string The type of the change. Possible values are file and teamDrive.
teamDriveId string The ID of the Team Drive associated with this change.
teamDrive nested object The updated state of the Team Drive. Present if the type is teamDrive, the user is still a member of the Team Drive, and the Team Drive has not been deleted.

Methods

get
Gets a specific change.
list
Lists the changes for a user or Team Drive.
watch
Watch for all changes to a user's Drive.
getStartPageToken
Gets the starting pageToken for listing future changes.

Send feedback about...

Drive REST API v2
Drive REST API v2