Resource: Change
A change to a file or shared drive.
JSON representation |
---|
{ "kind": string, "removed": boolean, "file": { object ( |
Fields | |
---|---|
kind |
Identifies what kind of resource this is. Value: the fixed string |
removed |
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 which has changed. |
time |
The time of this change (RFC 3339 date-time). |
driveId |
The ID of the shared drive associated with this change. |
type |
Deprecated: Use |
teamDriveId |
Deprecated: Use |
teamDrive |
Deprecated: Use |
changeType |
The type of the change. Possible values are |
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 |
|
---|---|
|
Gets the starting pageToken for listing future changes. |
|
Lists the changes for a user or shared drive. |
|
Subscribes to changes for a user. |