Resource: Change
Representation of a change to a file or shared drive.
JSON representation |
---|
{ "id": string, "deleted": boolean, "file": { object ( |
Fields | |
---|---|
id |
The ID of the change. |
deleted |
Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access. |
file |
The updated state of the file. Present if the type is file and the file has not been removed from this list of changes. |
fileId |
The ID of the file associated with this change. |
modificationDate |
The time of this modification. |
kind |
This is always |
type |
Deprecated: Use |
teamDriveId |
Deprecated: Use |
teamDrive |
Deprecated: Use |
changeType |
The type of the change. Possible values are |
selfLink |
A link back to this change. |
driveId |
The ID of the shared drive associated with this change. |
drive |
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. |
Methods |
|
---|---|
|
Deprecated: Use changes.getStartPageToken and changes.list to retrieve recent changes. |
|
Gets the starting pageToken for listing future changes. |
|
Lists the changes for a user or shared drive. |
|
Subscribe to changes for a user. |