1<html><body>
2<style>
3
4body, h1, h2, h3, div, span, p, pre, a {
5  margin: 0;
6  padding: 0;
7  border: 0;
8  font-weight: inherit;
9  font-style: inherit;
10  font-size: 100%;
11  font-family: inherit;
12  vertical-align: baseline;
13}
14
15body {
16  font-size: 13px;
17  padding: 1em;
18}
19
20h1 {
21  font-size: 26px;
22  margin-bottom: 1em;
23}
24
25h2 {
26  font-size: 24px;
27  margin-bottom: 1em;
28}
29
30h3 {
31  font-size: 20px;
32  margin-bottom: 1em;
33  margin-top: 1em;
34}
35
36pre, code {
37  line-height: 1.5;
38  font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39}
40
41pre {
42  margin-top: 0.5em;
43}
44
45h1, h2, h3, p {
46  font-family: Arial, sans serif;
47}
48
49h1, h2, h3 {
50  border-bottom: solid #CCC 1px;
51}
52
53.toc_element {
54  margin-top: 0.5em;
55}
56
57.firstline {
58  margin-left: 2 em;
59}
60
61.method  {
62  margin-top: 1em;
63  border: solid 1px #CCC;
64  padding: 1em;
65  background: #EEE;
66}
67
68.details {
69  font-weight: bold;
70  font-size: 14px;
71}
72
73</style>
74
75<h1><a href="drive_v2.html">Drive API</a> . <a href="drive_v2.changes.html">changes</a></h1>
76<h2>Instance Methods</h2>
77<p class="toc_element">
78  <code><a href="#get">get(changeId, driveId=None, supportsTeamDrives=None, supportsAllDrives=None, teamDriveId=None)</a></code></p>
79<p class="firstline">Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent changes.</p>
80<p class="toc_element">
81  <code><a href="#getStartPageToken">getStartPageToken(driveId=None, supportsTeamDrives=None, supportsAllDrives=None, teamDriveId=None)</a></code></p>
82<p class="firstline">Gets the starting pageToken for listing future changes.</p>
83<p class="toc_element">
84  <code><a href="#list">list(supportsTeamDrives=None, spaces=None, startChangeId=None, pageToken=None, includeSubscribed=None, includeDeleted=None, maxResults=None, teamDriveId=None, includeItemsFromAllDrives=None, includeTeamDriveItems=None, supportsAllDrives=None, driveId=None, includeCorpusRemovals=None)</a></code></p>
85<p class="firstline">Lists the changes for a user or shared drive.</p>
86<p class="toc_element">
87  <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
88<p class="firstline">Retrieves the next page of results.</p>
89<p class="toc_element">
90  <code><a href="#watch">watch(body, supportsTeamDrives=None, spaces=None, startChangeId=None, pageToken=None, includeSubscribed=None, includeDeleted=None, maxResults=None, teamDriveId=None, includeItemsFromAllDrives=None, includeTeamDriveItems=None, supportsAllDrives=None, driveId=None, includeCorpusRemovals=None)</a></code></p>
91<p class="firstline">Subscribe to changes for a user.</p>
92<h3>Method Details</h3>
93<div class="method">
94    <code class="details" id="get">get(changeId, driveId=None, supportsTeamDrives=None, supportsAllDrives=None, teamDriveId=None)</code>
95  <pre>Deprecated - Use changes.getStartPageToken and changes.list to retrieve recent changes.
96
97Args:
98  changeId: string, The ID of the change. (required)
99  driveId: string, The shared drive from which the change will be returned.
100  supportsTeamDrives: boolean, Deprecated use supportsAllDrives instead.
101  supportsAllDrives: boolean, Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
102  teamDriveId: string, Deprecated use driveId instead.
103
104Returns:
105  An object of the form:
106
107    { # Representation of a change to a file or shared drive.
108    "teamDrive": { # Deprecated: use the drive collection instead. # Deprecated - use drive instead.
109      "restrictions": { # A set of restrictions that apply to this Team Drive or items inside this Team Drive.
110        "adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
111        "copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
112        "domainUsersOnly": True or False, # Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
113        "teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
114      },
115      "colorRgb": "A String", # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
116      "backgroundImageLink": "A String", # A short-lived link to this Team Drive's background image.
117      "name": "A String", # The name of this Team Drive.
118      "themeId": "A String", # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.insert request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
119      "kind": "drive#teamDrive", # This is always drive#teamDrive
120      "capabilities": { # Capabilities the current user has on this Team Drive.
121        "canReadRevisions": True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
122        "canCopy": True or False, # Whether the current user can copy files in this Team Drive.
123        "canShare": True or False, # Whether the current user can share files or folders in this Team Drive.
124        "canTrashChildren": True or False, # Whether the current user can trash children from folders in this Team Drive.
125        "canListChildren": True or False, # Whether the current user can list the children of folders in this Team Drive.
126        "canChangeTeamMembersOnlyRestriction": True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
127        "canRename": True or False, # Whether the current user can rename files or folders in this Team Drive.
128        "canChangeCopyRequiresWriterPermissionRestriction": True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
129        "canRenameTeamDrive": True or False, # Whether the current user can rename this Team Drive.
130        "canManageMembers": True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
131        "canDownload": True or False, # Whether the current user can download files in this Team Drive.
132        "canComment": True or False, # Whether the current user can comment on files in this Team Drive.
133        "canChangeTeamDriveBackground": True or False, # Whether the current user can change the background of this Team Drive.
134        "canDeleteTeamDrive": True or False, # Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
135        "canEdit": True or False, # Whether the current user can edit files in this Team Drive
136        "canRemoveChildren": True or False, # Deprecated - use canDeleteChildren or canTrashChildren instead.
137        "canDeleteChildren": True or False, # Whether the current user can delete children from folders in this Team Drive.
138        "canAddChildren": True or False, # Whether the current user can add children to folders in this Team Drive.
139        "canChangeDomainUsersOnlyRestriction": True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
140      },
141      "backgroundImageFile": { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
142        "width": 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.
143        "yCoordinate": 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.
144        "id": "A String", # The ID of an image file in Drive to use for the background image.
145        "xCoordinate": 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
146      },
147      "createdDate": "A String", # The time at which the Team Drive was created (RFC 3339 date-time).
148      "id": "A String", # The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
149    },
150    "kind": "drive#change", # This is always drive#change.
151    "deleted": True or False, # Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
152    "changeType": "A String", # The type of the change. Possible values are file and drive.
153    "drive": { # Representation of a shared 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.
154      "restrictions": { # A set of restrictions that apply to this shared drive or items inside this shared drive.
155        "adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
156        "copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.
157        "domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
158        "driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
159      },
160      "colorRgb": "A String", # The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.
161      "backgroundImageLink": "A String", # A short-lived link to this shared drive's background image.
162      "name": "A String", # The name of this shared drive.
163      "themeId": "A String", # The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.insert request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
164      "kind": "drive#drive", # This is always drive#drive
165      "capabilities": { # Capabilities the current user has on this shared drive.
166        "canReadRevisions": True or False, # Whether the current user can read the revisions resource of files in this shared drive.
167        "canCopy": True or False, # Whether the current user can copy files in this shared drive.
168        "canShare": True or False, # Whether the current user can share files or folders in this shared drive.
169        "canTrashChildren": True or False, # Whether the current user can trash children from folders in this shared drive.
170        "canListChildren": True or False, # Whether the current user can list the children of folders in this shared drive.
171        "canDownload": True or False, # Whether the current user can download files in this shared drive.
172        "canRename": True or False, # Whether the current user can rename files or folders in this shared drive.
173        "canChangeCopyRequiresWriterPermissionRestriction": True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive.
174        "canDeleteDrive": True or False, # Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive.
175        "canManageMembers": True or False, # Whether the current user can add members to this shared drive or remove them or change their role.
176        "canChangeDriveMembersOnlyRestriction": True or False, # Whether the current user can change the driveMembersOnly restriction of this shared drive.
177        "canComment": True or False, # Whether the current user can comment on files in this shared drive.
178        "canChangeDriveBackground": True or False, # Whether the current user can change the background of this shared drive.
179        "canEdit": True or False, # Whether the current user can edit files in this shared drive
180        "canRenameDrive": True or False, # Whether the current user can rename this shared drive.
181        "canDeleteChildren": True or False, # Whether the current user can delete children from folders in this shared drive.
182        "canAddChildren": True or False, # Whether the current user can add children to folders in this shared drive.
183        "canChangeDomainUsersOnlyRestriction": True or False, # Whether the current user can change the domainUsersOnly restriction of this shared drive.
184      },
185      "backgroundImageFile": { # An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
186        "width": 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.
187        "yCoordinate": 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.
188        "id": "A String", # The ID of an image file in Google Drive to use for the background image.
189        "xCoordinate": 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
190      },
191      "createdDate": "A String", # The time at which the shared drive was created (RFC 3339 date-time).
192      "hidden": True or False, # Whether the shared drive is hidden from default view.
193      "id": "A String", # The ID of this shared drive which is also the ID of the top level folder of this shared drive.
194    },
195    "driveId": "A String", # The ID of the shared drive associated with this change.
196    "file": { # The metadata for a 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.
197      "hasThumbnail": True or False, # Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field.
198      "lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
199      "trashedDate": "A String", # The time that the item was trashed (formatted RFC 3339 timestamp). Only populated for items in shared drives.
200      "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
201      "appDataContents": True or False, # Whether this file is in the Application Data folder.
202      "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content.
203      "labels": { # A group of labels for the file.
204        "restricted": True or False, # Deprecated - use copyRequiresWriterPermission instead.
205        "modified": True or False, # Whether the file has been modified by this user.
206        "trashed": True or False, # Whether this file has been trashed. This label applies to all users accessing the file; however, only owners are allowed to see and untrash files.
207        "hidden": True or False, # Deprecated.
208        "starred": True or False, # Whether this file is starred by the user.
209        "viewed": True or False, # Whether this file has been viewed by this user.
210      },
211      "indexableText": { # Indexable text attributes for the file (can only be written)
212        "text": "A String", # The text to be indexed for this file.
213      },
214      "thumbnailVersion": "A String", # The thumbnail version for use in thumbnail cache invalidation.
215      "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
216      "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
217      "lastModifyingUserName": "A String", # Name of the last user to modify this file.
218      "writersCanShare": True or False, # Whether writers can share the document with other users. Not populated for items in shared drives.
219      "owners": [ # The owner(s) of this file. Not populated for items in shared drives.
220        { # Information about a Drive user.
221          "picture": { # The user's profile picture.
222            "url": "A String", # A URL that points to a profile picture of this user.
223          },
224          "kind": "drive#user", # This is always drive#user.
225          "displayName": "A String", # A plain text displayable name for this user.
226          "permissionId": "A String", # The user's ID as visible in the permissions collection.
227          "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
228          "emailAddress": "A String", # The email address of the user.
229        },
230      ],
231      "ownedByMe": True or False, # Whether the file is owned by the current user. Not populated for items in shared drives.
232      "id": "A String", # The ID of the file.
233      "sharingUser": { # Information about a Drive user. # User that shared the item with the current user, if available.
234        "picture": { # The user's profile picture.
235          "url": "A String", # A URL that points to a profile picture of this user.
236        },
237        "kind": "drive#user", # This is always drive#user.
238        "displayName": "A String", # A plain text displayable name for this user.
239        "permissionId": "A String", # The user's ID as visible in the permissions collection.
240        "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
241        "emailAddress": "A String", # The email address of the user.
242      },
243      "trashingUser": { # Information about a Drive user. # If the file has been explicitly trashed, the user who trashed it. Only populated for items in shared drives.
244        "picture": { # The user's profile picture.
245          "url": "A String", # A URL that points to a profile picture of this user.
246        },
247        "kind": "drive#user", # This is always drive#user.
248        "displayName": "A String", # A plain text displayable name for this user.
249        "permissionId": "A String", # The user's ID as visible in the permissions collection.
250        "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
251        "emailAddress": "A String", # The email address of the user.
252      },
253      "downloadUrl": "A String", # Short lived download URL for the file. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
254      "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
255      "lastModifyingUser": { # Information about a Drive user. # The last user to modify this file.
256        "picture": { # The user's profile picture.
257          "url": "A String", # A URL that points to a profile picture of this user.
258        },
259        "kind": "drive#user", # This is always drive#user.
260        "displayName": "A String", # A plain text displayable name for this user.
261        "permissionId": "A String", # The user's ID as visible in the permissions collection.
262        "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
263        "emailAddress": "A String", # The email address of the user.
264      },
265      "copyable": True or False, # Deprecated: use capabilities/canCopy.
266      "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. Not populated for items in shared drives.
267      "markedViewedByMeDate": "A String", # Deprecated.
268      "ownerNames": [ # Name(s) of the owner(s) of this file. Not populated for items in shared drives.
269        "A String",
270      ],
271      "capabilities": { # Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
272        "canMoveItemOutOfDrive": True or False, # Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that is being added.
273        "canUntrash": True or False, # Whether the current user can restore this file from trash.
274        "canMoveItemWithinTeamDrive": True or False, # Deprecated - use canMoveItemWithinDrive instead.
275        "canDeleteChildren": True or False, # Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
276        "canMoveChildrenWithinTeamDrive": True or False, # Deprecated - use canMoveChildrenWithinDrive instead.
277        "canListChildren": True or False, # Whether the current user can list the children of this folder. This is always false when the item is not a folder.
278        "canRename": True or False, # Whether the current user can rename this file.
279        "canReadDrive": True or False, # Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.
280        "canAddChildren": True or False, # Whether the current user can add children to this folder. This is always false when the item is not a folder.
281        "canChangeRestrictedDownload": True or False, # Deprecated
282        "canShare": True or False, # Whether the current user can modify the sharing settings for this file.
283        "canTrashChildren": True or False, # Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
284        "canMoveChildrenWithinDrive": True or False, # Whether the current user can move children of this folder within the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
285        "canReadRevisions": True or False, # Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
286        "canMoveItemWithinDrive": True or False, # Whether the current user can move this item within this shared drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. Only populated for items in shared drives.
287        "canCopy": True or False, # Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
288        "canMoveItemIntoTeamDrive": True or False, # Deprecated - use canMoveItemOutOfDrive instead.
289        "canMoveItemOutOfTeamDrive": True or False, # Deprecated - use canMoveItemOutOfDrive instead.
290        "canComment": True or False, # Whether the current user can comment on this file.
291        "canMoveChildrenOutOfDrive": True or False, # Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
292        "canTrash": True or False, # Whether the current user can move this file to trash.
293        "canDelete": True or False, # Whether the current user can delete this file.
294        "canMoveTeamDriveItem": True or False, # Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
295        "canDownload": True or False, # Whether the current user can download this file.
296        "canChangeCopyRequiresWriterPermission": True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this file.
297        "canMoveChildrenOutOfTeamDrive": True or False, # Deprecated - use canMoveChildrenOutOfDrive instead.
298        "canRemoveChildren": True or False, # Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use canDeleteChildren or canTrashChildren instead.
299        "canReadTeamDrive": True or False, # Deprecated - use canReadDrive instead.
300        "canEdit": True or False, # Whether the current user can edit this file.
301      },
302      "sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
303      "webViewLink": "A String", # A link only available on public folders for viewing their static web assets (HTML, CSS, JS, etc) via Google Drive's Website Hosting.
304      "etag": "A String", # ETag of the file.
305      "parents": [ # Collection of parent folders which contain this file.
306          # If not specified as part of an insert request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests can also use the addParents and removeParents parameters to modify the parents list.
307        { # A reference to a file's parent.
308          "selfLink": "A String", # A link back to this reference.
309          "kind": "drive#parentReference", # This is always drive#parentReference.
310          "id": "A String", # The ID of the parent.
311          "isRoot": True or False, # Whether or not the parent is the root folder.
312          "parentLink": "A String", # A link to the parent.
313        },
314      ],
315      "exportLinks": { # Links for exporting Google Docs to specific formats.
316        "a_key": "A String", # A mapping from export format to URL
317      },
318      "shareable": True or False, # Deprecated: use capabilities/canShare.
319      "copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download this file, should be disabled for readers and commenters.
320      "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
321      "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
322        "a_key": "A String",
323      },
324      "canReadRevisions": True or False, # Deprecated: use capabilities/canReadRevisions.
325      "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
326        "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
327        "exposureTime": 3.14, # The length of the exposure, in seconds.
328        "cameraMake": "A String", # The make of the camera used to create the photo.
329        "maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create the photo (APEX value).
330        "isoSpeed": 42, # The ISO speed used to create the photo.
331        "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
332        "exposureMode": "A String", # The exposure mode used to create the photo.
333        "colorSpace": "A String", # The color space of the photo.
334        "location": { # Geographic location information stored in the image.
335          "latitude": 3.14, # The latitude stored in the image.
336          "altitude": 3.14, # The altitude stored in the image.
337          "longitude": 3.14, # The longitude stored in the image.
338        },
339        "subjectDistance": 42, # The distance to the subject of the photo, in meters.
340        "height": 42, # The height of the image in pixels.
341        "lens": "A String", # The lens used to create the photo.
342        "date": "A String", # The date and time the photo was taken (EXIF format timestamp).
343        "width": 42, # The width of the image in pixels.
344        "meteringMode": "A String", # The metering mode used to create the photo.
345        "flashUsed": True or False, # Whether a flash was used to create the photo.
346        "aperture": 3.14, # The aperture used to create the photo (f-number).
347        "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
348        "sensor": "A String", # The type of sensor used to create the photo.
349        "whiteBalance": "A String", # The white balance mode used to create the photo.
350        "cameraModel": "A String", # The model of the camera used to create the photo.
351      },
352      "description": "A String", # A short description of the file.
353      "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
354      "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
355        "width": 42, # The width of the video in pixels.
356        "durationMillis": "A String", # The duration of the video in milliseconds.
357        "height": 42, # The height of the video in pixels.
358      },
359      "editable": True or False, # Deprecated: use capabilities/canEdit.
360      "kind": "drive#file", # The type of file. This is always drive#file.
361      "canComment": True or False, # Deprecated: use capabilities/canComment.
362      "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
363      "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
364      "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
365      "teamDriveId": "A String", # Deprecated - use driveId instead.
366      "properties": [ # The list of properties.
367        { # A key-value pair attached to a file that is either public or private to an application.
368            # The following limits apply to file properties:
369            # - Maximum of 100 properties total per file
370            # - Maximum of 30 private properties per app
371            # - Maximum of 30 public properties
372            # - Maximum of 124 bytes size limit on (key + value) string in UTF-8 encoding for a single property.
373          "kind": "drive#property", # This is always drive#property.
374          "value": "A String", # The value of this property.
375          "etag": "A String", # ETag of the property.
376          "visibility": "A String", # The visibility of this property. Allowed values are PRIVATE and PUBLIC. (Default: PRIVATE)
377          "key": "A String", # The key of this property.
378          "selfLink": "A String", # The link back to this property.
379        },
380      ],
381      "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
382      "iconLink": "A String", # A link to the file's icon.
383      "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
384      "embedLink": "A String", # A link for embedding the file.
385      "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
386      "shared": True or False, # Whether the file has been shared. Not populated for items in shared drives.
387      "title": "A String", # The title of this file. Note that for immutable items such as the top level folders of shared drives, My Drive root folder, and Application Data folder the title is constant.
388      "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
389      "thumbnail": { # A thumbnail for the file. This will only be used if a standard thumbnail cannot be generated.
390        "mimeType": "A String", # The MIME type of the thumbnail.
391        "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
392      },
393      "driveId": "A String", # ID of the shared drive the file resides in. Only populated for items in shared drives.
394      "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
395        "withLink": True or False, # Whether the link is required for this permission.
396        "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
397        "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
398          {
399            "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
400                # - organizer
401                # - fileOrganizer
402                # - writer
403                # - reader
404            "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the shared drive.
405            "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
406                # - file
407                # - member
408            "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
409              "A String",
410            ],
411            "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
412          },
413        ],
414        "name": "A String", # The name for this permission.
415        "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
416          {
417            "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
418            "role": "A String", # Deprecated - use permissionDetails/role instead.
419            "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
420              "A String",
421            ],
422            "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
423            "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
424          },
425        ],
426        "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
427        "kind": "drive#permission", # This is always drive#permission.
428        "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
429        "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
430        "authKey": "A String", # Deprecated.
431        "etag": "A String", # The ETag of the permission.
432        "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
433        "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
434            # - They can only be set on user and group permissions
435            # - The date must be in the future
436            # - The date cannot be more than a year in the future
437            # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
438        "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
439            # - owner
440            # - organizer
441            # - fileOrganizer
442            # - writer
443            # - reader
444        "type": "A String", # The account type. Allowed values are:
445            # - user
446            # - group
447            # - domain
448            # - anyone
449        "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
450          "A String",
451        ],
452        "selfLink": "A String", # A link back to this permission.
453        "photoLink": "A String", # A link to the profile photo, if available.
454      },
455      "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
456        "A String",
457      ],
458      "permissionIds": [ # List of permission IDs for users with access to this file.
459        "A String",
460      ],
461      "originalFilename": "A String", # The original filename of the uploaded content if available, or else the original value of the title field. This is only available for files with binary content in Google Drive.
462      "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
463      "hasAugmentedPermissions": True or False, # Whether any users are granted file access directly on this file. This field is only populated for items in shared drives.
464      "permissions": [ # The list of permissions for users with access to this file. Not populated for items in shared drives.
465        { # A permission for a file.
466          "withLink": True or False, # Whether the link is required for this permission.
467          "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
468          "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
469            {
470              "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
471                  # - organizer
472                  # - fileOrganizer
473                  # - writer
474                  # - reader
475              "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the shared drive.
476              "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
477                  # - file
478                  # - member
479              "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
480                "A String",
481              ],
482              "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
483            },
484          ],
485          "name": "A String", # The name for this permission.
486          "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
487            {
488              "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
489              "role": "A String", # Deprecated - use permissionDetails/role instead.
490              "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
491                "A String",
492              ],
493              "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
494              "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
495            },
496          ],
497          "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
498          "kind": "drive#permission", # This is always drive#permission.
499          "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
500          "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
501          "authKey": "A String", # Deprecated.
502          "etag": "A String", # The ETag of the permission.
503          "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
504          "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
505              # - They can only be set on user and group permissions
506              # - The date must be in the future
507              # - The date cannot be more than a year in the future
508              # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
509          "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
510              # - owner
511              # - organizer
512              # - fileOrganizer
513              # - writer
514              # - reader
515          "type": "A String", # The account type. Allowed values are:
516              # - user
517              # - group
518              # - domain
519              # - anyone
520          "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
521            "A String",
522          ],
523          "selfLink": "A String", # A link back to this permission.
524          "photoLink": "A String", # A link to the profile photo, if available.
525        },
526      ],
527      "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
528      "selfLink": "A String", # A link back to this file.
529      "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
530    },
531    "modificationDate": "A String", # The time of this modification.
532    "teamDriveId": "A String", # Deprecated - use driveId instead.
533    "type": "A String", # Deprecated - use changeType instead.
534    "id": "A String", # The ID of the change.
535    "selfLink": "A String", # A link back to this change.
536    "fileId": "A String", # The ID of the file associated with this change.
537  }</pre>
538</div>
539
540<div class="method">
541    <code class="details" id="getStartPageToken">getStartPageToken(driveId=None, supportsTeamDrives=None, supportsAllDrives=None, teamDriveId=None)</code>
542  <pre>Gets the starting pageToken for listing future changes.
543
544Args:
545  driveId: string, The ID of the shared drive for which the starting pageToken for listing future changes from that shared drive will be returned.
546  supportsTeamDrives: boolean, Deprecated use supportsAllDrives instead.
547  supportsAllDrives: boolean, Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
548  teamDriveId: string, Deprecated use driveId instead.
549
550Returns:
551  An object of the form:
552
553    {
554    "kind": "drive#startPageToken", # Identifies what kind of resource this is. Value: the fixed string "drive#startPageToken".
555    "startPageToken": "A String", # The starting page token for listing changes.
556  }</pre>
557</div>
558
559<div class="method">
560    <code class="details" id="list">list(supportsTeamDrives=None, spaces=None, startChangeId=None, pageToken=None, includeSubscribed=None, includeDeleted=None, maxResults=None, teamDriveId=None, includeItemsFromAllDrives=None, includeTeamDriveItems=None, supportsAllDrives=None, driveId=None, includeCorpusRemovals=None)</code>
561  <pre>Lists the changes for a user or shared drive.
562
563Args:
564  supportsTeamDrives: boolean, Deprecated use supportsAllDrives instead.
565  spaces: string, A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.
566  startChangeId: string, Deprecated - use pageToken instead.
567  pageToken: string, The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.
568  includeSubscribed: boolean, Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.
569  includeDeleted: boolean, Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.
570  maxResults: integer, Maximum number of changes to return.
571  teamDriveId: string, Deprecated use driveId instead.
572  includeItemsFromAllDrives: boolean, Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.
573  includeTeamDriveItems: boolean, Deprecated use includeItemsFromAllDrives instead.
574  supportsAllDrives: boolean, Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
575  driveId: string, The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.
576  includeCorpusRemovals: boolean, Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.
577
578Returns:
579  An object of the form:
580
581    { # A list of changes for a user.
582    "nextPageToken": "A String", # The page token for the next page of changes. This will be absent if the end of the changes list has been reached. If the token is rejected for any reason, it should be discarded, and pagination should be restarted from the first page of results.
583    "kind": "drive#changeList", # This is always drive#changeList.
584    "items": [ # The list of changes. If nextPageToken is populated, then this list may be incomplete and an additional page of results should be fetched.
585      { # Representation of a change to a file or shared drive.
586        "teamDrive": { # Deprecated: use the drive collection instead. # Deprecated - use drive instead.
587          "restrictions": { # A set of restrictions that apply to this Team Drive or items inside this Team Drive.
588            "adminManagedRestrictions": True or False, # Whether administrative privileges on this Team Drive are required to modify restrictions.
589            "copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this Team Drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this Team Drive.
590            "domainUsersOnly": True or False, # Whether access to this Team Drive and items inside this Team Drive is restricted to users of the domain to which this Team Drive belongs. This restriction may be overridden by other sharing policies controlled outside of this Team Drive.
591            "teamMembersOnly": True or False, # Whether access to items inside this Team Drive is restricted to members of this Team Drive.
592          },
593          "colorRgb": "A String", # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
594          "backgroundImageLink": "A String", # A short-lived link to this Team Drive's background image.
595          "name": "A String", # The name of this Team Drive.
596          "themeId": "A String", # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.insert request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
597          "kind": "drive#teamDrive", # This is always drive#teamDrive
598          "capabilities": { # Capabilities the current user has on this Team Drive.
599            "canReadRevisions": True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
600            "canCopy": True or False, # Whether the current user can copy files in this Team Drive.
601            "canShare": True or False, # Whether the current user can share files or folders in this Team Drive.
602            "canTrashChildren": True or False, # Whether the current user can trash children from folders in this Team Drive.
603            "canListChildren": True or False, # Whether the current user can list the children of folders in this Team Drive.
604            "canChangeTeamMembersOnlyRestriction": True or False, # Whether the current user can change the teamMembersOnly restriction of this Team Drive.
605            "canRename": True or False, # Whether the current user can rename files or folders in this Team Drive.
606            "canChangeCopyRequiresWriterPermissionRestriction": True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this Team Drive.
607            "canRenameTeamDrive": True or False, # Whether the current user can rename this Team Drive.
608            "canManageMembers": True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
609            "canDownload": True or False, # Whether the current user can download files in this Team Drive.
610            "canComment": True or False, # Whether the current user can comment on files in this Team Drive.
611            "canChangeTeamDriveBackground": True or False, # Whether the current user can change the background of this Team Drive.
612            "canDeleteTeamDrive": True or False, # Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
613            "canEdit": True or False, # Whether the current user can edit files in this Team Drive
614            "canRemoveChildren": True or False, # Deprecated - use canDeleteChildren or canTrashChildren instead.
615            "canDeleteChildren": True or False, # Whether the current user can delete children from folders in this Team Drive.
616            "canAddChildren": True or False, # Whether the current user can add children to folders in this Team Drive.
617            "canChangeDomainUsersOnlyRestriction": True or False, # Whether the current user can change the domainUsersOnly restriction of this Team Drive.
618          },
619          "backgroundImageFile": { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
620            "width": 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.
621            "yCoordinate": 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.
622            "id": "A String", # The ID of an image file in Drive to use for the background image.
623            "xCoordinate": 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
624          },
625          "createdDate": "A String", # The time at which the Team Drive was created (RFC 3339 date-time).
626          "id": "A String", # The ID of this Team Drive which is also the ID of the top level folder of this Team Drive.
627        },
628        "kind": "drive#change", # This is always drive#change.
629        "deleted": True or False, # Whether the file or shared drive has been removed from this list of changes, for example by deletion or loss of access.
630        "changeType": "A String", # The type of the change. Possible values are file and drive.
631        "drive": { # Representation of a shared 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.
632          "restrictions": { # A set of restrictions that apply to this shared drive or items inside this shared drive.
633            "adminManagedRestrictions": True or False, # Whether administrative privileges on this shared drive are required to modify restrictions.
634            "copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download files inside this shared drive, should be disabled for readers and commenters. When this restriction is set to true, it will override the similarly named field to true for any file inside this shared drive.
635            "domainUsersOnly": True or False, # Whether access to this shared drive and items inside this shared drive is restricted to users of the domain to which this shared drive belongs. This restriction may be overridden by other sharing policies controlled outside of this shared drive.
636            "driveMembersOnly": True or False, # Whether access to items inside this shared drive is restricted to its members.
637          },
638          "colorRgb": "A String", # The color of this shared drive as an RGB hex string. It can only be set on a drive.drives.update request that does not set themeId.
639          "backgroundImageLink": "A String", # A short-lived link to this shared drive's background image.
640          "name": "A String", # The name of this shared drive.
641          "themeId": "A String", # The ID of the theme from which the background image and color will be set. The set of possible driveThemes can be retrieved from a drive.about.get response. When not specified on a drive.drives.insert request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
642          "kind": "drive#drive", # This is always drive#drive
643          "capabilities": { # Capabilities the current user has on this shared drive.
644            "canReadRevisions": True or False, # Whether the current user can read the revisions resource of files in this shared drive.
645            "canCopy": True or False, # Whether the current user can copy files in this shared drive.
646            "canShare": True or False, # Whether the current user can share files or folders in this shared drive.
647            "canTrashChildren": True or False, # Whether the current user can trash children from folders in this shared drive.
648            "canListChildren": True or False, # Whether the current user can list the children of folders in this shared drive.
649            "canDownload": True or False, # Whether the current user can download files in this shared drive.
650            "canRename": True or False, # Whether the current user can rename files or folders in this shared drive.
651            "canChangeCopyRequiresWriterPermissionRestriction": True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this shared drive.
652            "canDeleteDrive": True or False, # Whether the current user can delete this shared drive. Attempting to delete the shared drive may still fail if there are untrashed items inside the shared drive.
653            "canManageMembers": True or False, # Whether the current user can add members to this shared drive or remove them or change their role.
654            "canChangeDriveMembersOnlyRestriction": True or False, # Whether the current user can change the driveMembersOnly restriction of this shared drive.
655            "canComment": True or False, # Whether the current user can comment on files in this shared drive.
656            "canChangeDriveBackground": True or False, # Whether the current user can change the background of this shared drive.
657            "canEdit": True or False, # Whether the current user can edit files in this shared drive
658            "canRenameDrive": True or False, # Whether the current user can rename this shared drive.
659            "canDeleteChildren": True or False, # Whether the current user can delete children from folders in this shared drive.
660            "canAddChildren": True or False, # Whether the current user can add children to folders in this shared drive.
661            "canChangeDomainUsersOnlyRestriction": True or False, # Whether the current user can change the domainUsersOnly restriction of this shared drive.
662          },
663          "backgroundImageFile": { # An image file and cropping parameters from which a background image for this shared drive is set. This is a write only field; it can only be set on drive.drives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
664            "width": 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.
665            "yCoordinate": 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.
666            "id": "A String", # The ID of an image file in Google Drive to use for the background image.
667            "xCoordinate": 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
668          },
669          "createdDate": "A String", # The time at which the shared drive was created (RFC 3339 date-time).
670          "hidden": True or False, # Whether the shared drive is hidden from default view.
671          "id": "A String", # The ID of this shared drive which is also the ID of the top level folder of this shared drive.
672        },
673        "driveId": "A String", # The ID of the shared drive associated with this change.
674        "file": { # The metadata for a 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.
675          "hasThumbnail": True or False, # Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field.
676          "lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
677          "trashedDate": "A String", # The time that the item was trashed (formatted RFC 3339 timestamp). Only populated for items in shared drives.
678          "version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
679          "appDataContents": True or False, # Whether this file is in the Application Data folder.
680          "thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content.
681          "labels": { # A group of labels for the file.
682            "restricted": True or False, # Deprecated - use copyRequiresWriterPermission instead.
683            "modified": True or False, # Whether the file has been modified by this user.
684            "trashed": True or False, # Whether this file has been trashed. This label applies to all users accessing the file; however, only owners are allowed to see and untrash files.
685            "hidden": True or False, # Deprecated.
686            "starred": True or False, # Whether this file is starred by the user.
687            "viewed": True or False, # Whether this file has been viewed by this user.
688          },
689          "indexableText": { # Indexable text attributes for the file (can only be written)
690            "text": "A String", # The text to be indexed for this file.
691          },
692          "thumbnailVersion": "A String", # The thumbnail version for use in thumbnail cache invalidation.
693          "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
694          "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
695          "lastModifyingUserName": "A String", # Name of the last user to modify this file.
696          "writersCanShare": True or False, # Whether writers can share the document with other users. Not populated for items in shared drives.
697          "owners": [ # The owner(s) of this file. Not populated for items in shared drives.
698            { # Information about a Drive user.
699              "picture": { # The user's profile picture.
700                "url": "A String", # A URL that points to a profile picture of this user.
701              },
702              "kind": "drive#user", # This is always drive#user.
703              "displayName": "A String", # A plain text displayable name for this user.
704              "permissionId": "A String", # The user's ID as visible in the permissions collection.
705              "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
706              "emailAddress": "A String", # The email address of the user.
707            },
708          ],
709          "ownedByMe": True or False, # Whether the file is owned by the current user. Not populated for items in shared drives.
710          "id": "A String", # The ID of the file.
711          "sharingUser": { # Information about a Drive user. # User that shared the item with the current user, if available.
712            "picture": { # The user's profile picture.
713              "url": "A String", # A URL that points to a profile picture of this user.
714            },
715            "kind": "drive#user", # This is always drive#user.
716            "displayName": "A String", # A plain text displayable name for this user.
717            "permissionId": "A String", # The user's ID as visible in the permissions collection.
718            "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
719            "emailAddress": "A String", # The email address of the user.
720          },
721          "trashingUser": { # Information about a Drive user. # If the file has been explicitly trashed, the user who trashed it. Only populated for items in shared drives.
722            "picture": { # The user's profile picture.
723              "url": "A String", # A URL that points to a profile picture of this user.
724            },
725            "kind": "drive#user", # This is always drive#user.
726            "displayName": "A String", # A plain text displayable name for this user.
727            "permissionId": "A String", # The user's ID as visible in the permissions collection.
728            "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
729            "emailAddress": "A String", # The email address of the user.
730          },
731          "downloadUrl": "A String", # Short lived download URL for the file. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
732          "mimeType": "A String", # The MIME type of the file. This is only mutable on update when uploading new content. This field can be left blank, and the mimetype will be determined from the uploaded content's MIME type.
733          "lastModifyingUser": { # Information about a Drive user. # The last user to modify this file.
734            "picture": { # The user's profile picture.
735              "url": "A String", # A URL that points to a profile picture of this user.
736            },
737            "kind": "drive#user", # This is always drive#user.
738            "displayName": "A String", # A plain text displayable name for this user.
739            "permissionId": "A String", # The user's ID as visible in the permissions collection.
740            "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
741            "emailAddress": "A String", # The email address of the user.
742          },
743          "copyable": True or False, # Deprecated: use capabilities/canCopy.
744          "folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette. Not populated for items in shared drives.
745          "markedViewedByMeDate": "A String", # Deprecated.
746          "ownerNames": [ # Name(s) of the owner(s) of this file. Not populated for items in shared drives.
747            "A String",
748          ],
749          "capabilities": { # Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
750            "canMoveItemOutOfDrive": True or False, # Whether the current user can move this item outside of this drive by changing its parent. Note that a request to change the parent of the item may still fail depending on the new parent that is being added.
751            "canUntrash": True or False, # Whether the current user can restore this file from trash.
752            "canMoveItemWithinTeamDrive": True or False, # Deprecated - use canMoveItemWithinDrive instead.
753            "canDeleteChildren": True or False, # Whether the current user can delete children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
754            "canMoveChildrenWithinTeamDrive": True or False, # Deprecated - use canMoveChildrenWithinDrive instead.
755            "canListChildren": True or False, # Whether the current user can list the children of this folder. This is always false when the item is not a folder.
756            "canRename": True or False, # Whether the current user can rename this file.
757            "canReadDrive": True or False, # Whether the current user can read the shared drive to which this file belongs. Only populated for items in shared drives.
758            "canAddChildren": True or False, # Whether the current user can add children to this folder. This is always false when the item is not a folder.
759            "canChangeRestrictedDownload": True or False, # Deprecated
760            "canShare": True or False, # Whether the current user can modify the sharing settings for this file.
761            "canTrashChildren": True or False, # Whether the current user can trash children of this folder. This is false when the item is not a folder. Only populated for items in shared drives.
762            "canMoveChildrenWithinDrive": True or False, # Whether the current user can move children of this folder within the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
763            "canReadRevisions": True or False, # Whether the current user can read the revisions resource of this file. For a shared drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
764            "canMoveItemWithinDrive": True or False, # Whether the current user can move this item within this shared drive. Note that a request to change the parent of the item may still fail depending on the new parent that is being added. Only populated for items in shared drives.
765            "canCopy": True or False, # Whether the current user can copy this file. For an item in a shared drive, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
766            "canMoveItemIntoTeamDrive": True or False, # Deprecated - use canMoveItemOutOfDrive instead.
767            "canMoveItemOutOfTeamDrive": True or False, # Deprecated - use canMoveItemOutOfDrive instead.
768            "canComment": True or False, # Whether the current user can comment on this file.
769            "canMoveChildrenOutOfDrive": True or False, # Whether the current user can move children of this folder outside of the shared drive. This is false when the item is not a folder. Only populated for items in shared drives.
770            "canTrash": True or False, # Whether the current user can move this file to trash.
771            "canDelete": True or False, # Whether the current user can delete this file.
772            "canMoveTeamDriveItem": True or False, # Deprecated - use canMoveItemWithinDrive or canMoveItemOutOfDrive instead.
773            "canDownload": True or False, # Whether the current user can download this file.
774            "canChangeCopyRequiresWriterPermission": True or False, # Whether the current user can change the copyRequiresWriterPermission restriction of this file.
775            "canMoveChildrenOutOfTeamDrive": True or False, # Deprecated - use canMoveChildrenOutOfDrive instead.
776            "canRemoveChildren": True or False, # Whether the current user can remove children from this folder. This is always false when the item is not a folder. For a folder in a shared drive, use canDeleteChildren or canTrashChildren instead.
777            "canReadTeamDrive": True or False, # Deprecated - use canReadDrive instead.
778            "canEdit": True or False, # Whether the current user can edit this file.
779          },
780          "sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
781          "webViewLink": "A String", # A link only available on public folders for viewing their static web assets (HTML, CSS, JS, etc) via Google Drive's Website Hosting.
782          "etag": "A String", # ETag of the file.
783          "parents": [ # Collection of parent folders which contain this file.
784              # If not specified as part of an insert request, the file will be placed directly in the user's My Drive folder. If not specified as part of a copy request, the file will inherit any discoverable parents of the source file. Update requests can also use the addParents and removeParents parameters to modify the parents list.
785            { # A reference to a file's parent.
786              "selfLink": "A String", # A link back to this reference.
787              "kind": "drive#parentReference", # This is always drive#parentReference.
788              "id": "A String", # The ID of the parent.
789              "isRoot": True or False, # Whether or not the parent is the root folder.
790              "parentLink": "A String", # A link to the parent.
791            },
792          ],
793          "exportLinks": { # Links for exporting Google Docs to specific formats.
794            "a_key": "A String", # A mapping from export format to URL
795          },
796          "shareable": True or False, # Deprecated: use capabilities/canShare.
797          "copyRequiresWriterPermission": True or False, # Whether the options to copy, print, or download this file, should be disabled for readers and commenters.
798          "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
799          "openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
800            "a_key": "A String",
801          },
802          "canReadRevisions": True or False, # Deprecated: use capabilities/canReadRevisions.
803          "imageMediaMetadata": { # Metadata about image media. This will only be present for image types, and its contents will depend on what can be parsed from the image content.
804            "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
805            "exposureTime": 3.14, # The length of the exposure, in seconds.
806            "cameraMake": "A String", # The make of the camera used to create the photo.
807            "maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create the photo (APEX value).
808            "isoSpeed": 42, # The ISO speed used to create the photo.
809            "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
810            "exposureMode": "A String", # The exposure mode used to create the photo.
811            "colorSpace": "A String", # The color space of the photo.
812            "location": { # Geographic location information stored in the image.
813              "latitude": 3.14, # The latitude stored in the image.
814              "altitude": 3.14, # The altitude stored in the image.
815              "longitude": 3.14, # The longitude stored in the image.
816            },
817            "subjectDistance": 42, # The distance to the subject of the photo, in meters.
818            "height": 42, # The height of the image in pixels.
819            "lens": "A String", # The lens used to create the photo.
820            "date": "A String", # The date and time the photo was taken (EXIF format timestamp).
821            "width": 42, # The width of the image in pixels.
822            "meteringMode": "A String", # The metering mode used to create the photo.
823            "flashUsed": True or False, # Whether a flash was used to create the photo.
824            "aperture": 3.14, # The aperture used to create the photo (f-number).
825            "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
826            "sensor": "A String", # The type of sensor used to create the photo.
827            "whiteBalance": "A String", # The white balance mode used to create the photo.
828            "cameraModel": "A String", # The model of the camera used to create the photo.
829          },
830          "description": "A String", # A short description of the file.
831          "webContentLink": "A String", # A link for downloading the content of the file in a browser using cookie based authentication. In cases where the content is shared publicly, the content can be downloaded without any credentials.
832          "videoMediaMetadata": { # Metadata about video media. This will only be present for video types.
833            "width": 42, # The width of the video in pixels.
834            "durationMillis": "A String", # The duration of the video in milliseconds.
835            "height": 42, # The height of the video in pixels.
836          },
837          "editable": True or False, # Deprecated: use capabilities/canEdit.
838          "kind": "drive#file", # The type of file. This is always drive#file.
839          "canComment": True or False, # Deprecated: use capabilities/canComment.
840          "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
841          "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
842          "createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
843          "teamDriveId": "A String", # Deprecated - use driveId instead.
844          "properties": [ # The list of properties.
845            { # A key-value pair attached to a file that is either public or private to an application.
846                # The following limits apply to file properties:
847                # - Maximum of 100 properties total per file
848                # - Maximum of 30 private properties per app
849                # - Maximum of 30 public properties
850                # - Maximum of 124 bytes size limit on (key + value) string in UTF-8 encoding for a single property.
851              "kind": "drive#property", # This is always drive#property.
852              "value": "A String", # The value of this property.
853              "etag": "A String", # ETag of the property.
854              "visibility": "A String", # The visibility of this property. Allowed values are PRIVATE and PUBLIC. (Default: PRIVATE)
855              "key": "A String", # The key of this property.
856              "selfLink": "A String", # The link back to this property.
857            },
858          ],
859          "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
860          "iconLink": "A String", # A link to the file's icon.
861          "defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
862          "embedLink": "A String", # A link for embedding the file.
863          "alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
864          "shared": True or False, # Whether the file has been shared. Not populated for items in shared drives.
865          "title": "A String", # The title of this file. Note that for immutable items such as the top level folders of shared drives, My Drive root folder, and Application Data folder the title is constant.
866          "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp). Note that setting modifiedDate will also update the modifiedByMe date for the user which set the date.
867          "thumbnail": { # A thumbnail for the file. This will only be used if a standard thumbnail cannot be generated.
868            "mimeType": "A String", # The MIME type of the thumbnail.
869            "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
870          },
871          "driveId": "A String", # ID of the shared drive the file resides in. Only populated for items in shared drives.
872          "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
873            "withLink": True or False, # Whether the link is required for this permission.
874            "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
875            "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
876              {
877                "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
878                    # - organizer
879                    # - fileOrganizer
880                    # - writer
881                    # - reader
882                "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the shared drive.
883                "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
884                    # - file
885                    # - member
886                "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
887                  "A String",
888                ],
889                "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
890              },
891            ],
892            "name": "A String", # The name for this permission.
893            "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
894              {
895                "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
896                "role": "A String", # Deprecated - use permissionDetails/role instead.
897                "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
898                  "A String",
899                ],
900                "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
901                "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
902              },
903            ],
904            "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
905            "kind": "drive#permission", # This is always drive#permission.
906            "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
907            "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
908            "authKey": "A String", # Deprecated.
909            "etag": "A String", # The ETag of the permission.
910            "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
911            "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
912                # - They can only be set on user and group permissions
913                # - The date must be in the future
914                # - The date cannot be more than a year in the future
915                # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
916            "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
917                # - owner
918                # - organizer
919                # - fileOrganizer
920                # - writer
921                # - reader
922            "type": "A String", # The account type. Allowed values are:
923                # - user
924                # - group
925                # - domain
926                # - anyone
927            "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
928              "A String",
929            ],
930            "selfLink": "A String", # A link back to this permission.
931            "photoLink": "A String", # A link to the profile photo, if available.
932          },
933          "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
934            "A String",
935          ],
936          "permissionIds": [ # List of permission IDs for users with access to this file.
937            "A String",
938          ],
939          "originalFilename": "A String", # The original filename of the uploaded content if available, or else the original value of the title field. This is only available for files with binary content in Google Drive.
940          "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
941          "hasAugmentedPermissions": True or False, # Whether any users are granted file access directly on this file. This field is only populated for items in shared drives.
942          "permissions": [ # The list of permissions for users with access to this file. Not populated for items in shared drives.
943            { # A permission for a file.
944              "withLink": True or False, # Whether the link is required for this permission.
945              "domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
946              "permissionDetails": [ # Details of whether the permissions on this shared drive item are inherited or directly on this item. This is an output-only field which is present only for shared drive items.
947                {
948                  "role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
949                      # - organizer
950                      # - fileOrganizer
951                      # - writer
952                      # - reader
953                  "inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the shared drive.
954                  "permissionType": "A String", # The permission type for this user. While new values may be added in future, the following are currently possible:
955                      # - file
956                      # - member
957                  "additionalRoles": [ # Additional roles for this user. Only commenter is currently possible, though more may be supported in the future.
958                    "A String",
959                  ],
960                  "inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
961                },
962              ],
963              "name": "A String", # The name for this permission.
964              "teamDrivePermissionDetails": [ # Deprecated - use permissionDetails instead.
965                {
966                  "inheritedFrom": "A String", # Deprecated - use permissionDetails/inheritedFrom instead.
967                  "role": "A String", # Deprecated - use permissionDetails/role instead.
968                  "additionalRoles": [ # Deprecated - use permissionDetails/additionalRoles instead.
969                    "A String",
970                  ],
971                  "teamDrivePermissionType": "A String", # Deprecated - use permissionDetails/permissionType instead.
972                  "inherited": True or False, # Deprecated - use permissionDetails/inherited instead.
973                },
974              ],
975              "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
976              "kind": "drive#permission", # This is always drive#permission.
977              "value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
978              "id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
979              "authKey": "A String", # Deprecated.
980              "etag": "A String", # The ETag of the permission.
981              "emailAddress": "A String", # The email address of the user or group this permission refers to. This is an output-only field which is present when the permission type is user or group.
982              "expirationDate": "A String", # The time at which this permission will expire (RFC 3339 date-time). Expiration dates have the following restrictions:
983                  # - They can only be set on user and group permissions
984                  # - The date must be in the future
985                  # - The date cannot be more than a year in the future
986                  # - The date can only be set on drive.permissions.update or drive.permissions.patch requests
987              "role": "A String", # The primary role for this user. While new values may be supported in the future, the following are currently allowed:
988                  # - owner
989                  # - organizer
990                  # - fileOrganizer
991                  # - writer
992                  # - reader
993              "type": "A String", # The account type. Allowed values are:
994                  # - user
995                  # - group
996                  # - domain
997                  # - anyone
998              "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed, though more may be supported in the future.
999                "A String",
1000              ],
1001              "selfLink": "A String", # A link back to this permission.
1002              "photoLink": "A String", # A link to the profile photo, if available.
1003            },
1004          ],
1005          "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Google Drive; it is not populated for Google Docs or shortcut files.
1006          "selfLink": "A String", # A link back to this file.
1007          "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp). This is only mutable on update when the setModifiedDate parameter is set.
1008        },
1009        "modificationDate": "A String", # The time of this modification.
1010        "teamDriveId": "A String", # Deprecated - use driveId instead.
1011        "type": "A String", # Deprecated - use changeType instead.
1012        "id": "A String", # The ID of the change.
1013        "selfLink": "A String", # A link back to this change.
1014        "fileId": "A String", # The ID of the file associated with this change.
1015      },
1016    ],
1017    "nextLink": "A String", # A link to the next page of changes.
1018    "etag": "A String", # The ETag of the list.
1019    "newStartPageToken": "A String", # The starting page token for future changes. This will be present only if the end of the current changes list has been reached.
1020    "largestChangeId": "A String", # The current largest change ID.
1021    "selfLink": "A String", # A link back to this list.
1022  }</pre>
1023</div>
1024
1025<div class="method">
1026    <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
1027  <pre>Retrieves the next page of results.
1028
1029Args:
1030  previous_request: The request for the previous page. (required)
1031  previous_response: The response from the request for the previous page. (required)
1032
1033Returns:
1034  A request object that you can call 'execute()' on to request the next
1035  page. Returns None if there are no more items in the collection.
1036    </pre>
1037</div>
1038
1039<div class="method">
1040    <code class="details" id="watch">watch(body, supportsTeamDrives=None, spaces=None, startChangeId=None, pageToken=None, includeSubscribed=None, includeDeleted=None, maxResults=None, teamDriveId=None, includeItemsFromAllDrives=None, includeTeamDriveItems=None, supportsAllDrives=None, driveId=None, includeCorpusRemovals=None)</code>
1041  <pre>Subscribe to changes for a user.
1042
1043Args:
1044  body: object, The request body. (required)
1045    The object takes the form of:
1046
1047{ # An notification channel used to watch for resource changes.
1048    "resourceUri": "A String", # A version-specific identifier for the watched resource.
1049    "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
1050    "resourceId": "A String", # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
1051    "payload": True or False, # A Boolean value to indicate whether payload is wanted. Optional.
1052    "token": "A String", # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
1053    "params": { # Additional parameters controlling delivery channel behavior. Optional.
1054      "a_key": "A String", # Declares a new parameter by name.
1055    },
1056    "expiration": "A String", # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
1057    "address": "A String", # The address where notifications are delivered for this channel.
1058    "type": "A String", # The type of delivery mechanism used for this channel.
1059    "id": "A String", # A UUID or similar unique string that identifies this channel.
1060  }
1061
1062  supportsTeamDrives: boolean, Deprecated use supportsAllDrives instead.
1063  spaces: string, A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.
1064  startChangeId: string, Deprecated - use pageToken instead.
1065  pageToken: string, The token for continuing a previous list request on the next page. This should be set to the value of 'nextPageToken' from the previous response or to the response from the getStartPageToken method.
1066  includeSubscribed: boolean, Whether to include changes outside the My Drive hierarchy in the result. When set to false, changes to files such as those in the Application Data folder or shared files which have not been added to My Drive will be omitted from the result.
1067  includeDeleted: boolean, Whether to include changes indicating that items have been removed from the list of changes, for example by deletion or loss of access.
1068  maxResults: integer, Maximum number of changes to return.
1069  teamDriveId: string, Deprecated use driveId instead.
1070  includeItemsFromAllDrives: boolean, Deprecated - Whether both My Drive and shared drive items should be included in results. This parameter will only be effective until June 1, 2020. Afterwards shared drive items will be included in the results.
1071  includeTeamDriveItems: boolean, Deprecated use includeItemsFromAllDrives instead.
1072  supportsAllDrives: boolean, Deprecated - Whether the requesting application supports both My Drives and shared drives. This parameter will only be effective until June 1, 2020. Afterwards all applications are assumed to support shared drives.
1073  driveId: string, The shared drive from which changes will be returned. If specified the change IDs will be reflective of the shared drive; use the combined drive ID and change ID as an identifier.
1074  includeCorpusRemovals: boolean, Whether changes should include the file resource if the file is still accessible by the user at the time of the request, even when a file was removed from the list of changes and there will be no further change entries for this file.
1075
1076Returns:
1077  An object of the form:
1078
1079    { # An notification channel used to watch for resource changes.
1080      "resourceUri": "A String", # A version-specific identifier for the watched resource.
1081      "kind": "api#channel", # Identifies this as a notification channel used to watch for changes to a resource. Value: the fixed string "api#channel".
1082      "resourceId": "A String", # An opaque ID that identifies the resource being watched on this channel. Stable across different API versions.
1083      "payload": True or False, # A Boolean value to indicate whether payload is wanted. Optional.
1084      "token": "A String", # An arbitrary string delivered to the target address with each notification delivered over this channel. Optional.
1085      "params": { # Additional parameters controlling delivery channel behavior. Optional.
1086        "a_key": "A String", # Declares a new parameter by name.
1087      },
1088      "expiration": "A String", # Date and time of notification channel expiration, expressed as a Unix timestamp, in milliseconds. Optional.
1089      "address": "A String", # The address where notifications are delivered for this channel.
1090      "type": "A String", # The type of delivery mechanism used for this channel.
1091      "id": "A String", # A UUID or similar unique string that identifies this channel.
1092    }</pre>
1093</div>
1094
1095</body></html>