blob: 505e7afc3f1290365daf5840c17f288a28484234 [file] [log] [blame]
Joe Gregorio075572b2012-07-09 16:53:09 -04001<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)</a></code></p>
79<p class="firstline">Gets a specific change.</p>
80<p class="toc_element">
81 <code><a href="#list">list(includeSubscribed=None, includeDeleted=None, pageToken=None, maxResults=None, startChangeId=None)</a></code></p>
82<p class="firstline">Lists the changes for a user.</p>
83<p class="toc_element">
84 <code><a href="#list_next">list_next(previous_request, previous_response)</a></code></p>
85<p class="firstline">Retrieves the next page of results.</p>
86<h3>Method Details</h3>
87<div class="method">
88 <code class="details" id="get">get(changeId)</code>
89 <pre>Gets a specific change.
90
91Args:
92 changeId: string, The ID of the change. (required)
93
94Returns:
95 An object of the form:
96
97 { # Representation of a change to a file.
98 "kind": "drive#change", # This is always drive#change.
99 "deleted": True or False, # Whether the file has been deleted.
100 "file": { # The metadata for a file. # The updated state of the file. Present if the file has not been deleted.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400101 "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.
Joe Gregorio075572b2012-07-09 16:53:09 -0400102 "thumbnailLink": "A String", # A link to the file's thumbnail.
103 "labels": { # A group of labels for the file.
104 "restricted": True or False, # Whether viewers are prevented from downloading this file.
105 "hidden": True or False, # Whether this file is hidden from the user.
106 "viewed": True or False, # Whether this file has been viewed by this user.
107 "starred": True or False, # Whether this file is starred by the user.
108 "trashed": True or False, # Whether this file has been trashed.
109 },
110 "indexableText": { # Indexable text attributes for the file (can only be written)
Joe Gregorio41be8e82013-03-07 10:31:47 -0500111 "text": "A String", # The text to be indexed for this file.
Joe Gregorio075572b2012-07-09 16:53:09 -0400112 },
Joe Gregorioad8013f2012-08-03 08:44:02 -0400113 "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
Joe Gregorio075572b2012-07-09 16:53:09 -0400114 "etag": "A String", # ETag of the file.
Joe Gregorio41be8e82013-03-07 10:31:47 -0500115 "lastModifyingUserName": "A String", # Name of the last user to modify this file.
Joe Gregorio075572b2012-07-09 16:53:09 -0400116 "writersCanShare": True or False, # Whether writers can share the document with other users.
Joe Gregorio41be8e82013-03-07 10:31:47 -0500117 "owners": [ # The owner(s) of this file.
118 { # The JSON template for a user.
119 "picture": { # The user's profile picture.
120 "url": "A String", # A URL that points to a profile picture of this user.
121 },
122 "kind": "drive#user", # This is always drive#user.
123 "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
124 "displayName": "A String", # A plain text displayable name for this user.
125 "permissionId": "A String", # The user's ID as visible in the permissions collection.
126 },
127 ],
128 "id": "A String", # The ID of the file.
129 "lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
130 "picture": { # The user's profile picture.
131 "url": "A String", # A URL that points to a profile picture of this user.
132 },
133 "kind": "drive#user", # This is always drive#user.
134 "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
135 "displayName": "A String", # A plain text displayable name for this user.
136 "permissionId": "A String", # The user's ID as visible in the permissions collection.
137 },
Joe Gregorio075572b2012-07-09 16:53:09 -0400138 "title": "A String", # The title of this file.
139 "ownerNames": [ # Name(s) of the owner(s) of this file.
140 "A String",
141 ],
142 "sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
Joe Gregorio52a5c532013-01-24 16:19:07 -0500143 "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.
Joe Gregorio075572b2012-07-09 16:53:09 -0400144 "lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
145 "parents": [ # Collection of parent folders which contain this file.
Joe Gregorioe7a0c472012-07-12 11:46:04 -0400146 # Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
Joe Gregorio075572b2012-07-09 16:53:09 -0400147 { # A reference to a file's parent.
148 "selfLink": "A String", # A link back to this reference.
149 "kind": "drive#parentReference", # This is always drive#parentReference.
150 "id": "A String", # The ID of the parent.
151 "isRoot": True or False, # Whether or not the parent is the root folder.
152 "parentLink": "A String", # A link to the parent.
153 },
154 ],
155 "exportLinks": { # Links for exporting Google Docs to specific formats.
Joe Gregoriofa08c2e2012-07-23 16:52:03 -0400156 "a_key": "A String", # A mapping from export format to URL
Joe Gregorio075572b2012-07-09 16:53:09 -0400157 },
Joe Gregorio52a5c532013-01-24 16:19:07 -0500158 "shared": True or False, # Whether the file has been shared.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500159 "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
160 "mimeType": "A String", # The MIME type of the thumbnail.
161 "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
162 },
Joe Gregorioad8013f2012-08-03 08:44:02 -0400163 "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
Joe Gregorio075572b2012-07-09 16:53:09 -0400164 "description": "A String", # A short description of the file.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400165 "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.
Joe Gregorio075572b2012-07-09 16:53:09 -0400166 "editable": True or False, # Whether the file can be edited by the current user.
167 "kind": "drive#file", # The type of file. This is always drive#file.
168 "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
Joe Gregorio41be8e82013-03-07 10:31:47 -0500169 "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
Joe Gregorio075572b2012-07-09 16:53:09 -0400170 "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
Joe Gregorio41be8e82013-03-07 10:31:47 -0500171 "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500172 "iconLink": "A String", # A link to the file's icon.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400173 "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.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500174 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500175 "exposureTime": 3.14, # The length of the exposure, in seconds.
176 "cameraMake": "A String", # The make of the camera used to create the photo.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500177 "maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create the photo (APEX value).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500178 "isoSpeed": 42, # The ISO speed used to create the photo.
179 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500180 "exposureMode": "A String", # The exposure mode used to create the photo.
181 "colorSpace": "A String", # The color space of the photo.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400182 "location": { # Geographic location information stored in the image.
183 "latitude": 3.14, # The latitude stored in the image.
184 "altitude": 3.14, # The altitude stored in the image.
185 "longitude": 3.14, # The longitude stored in the image.
186 },
Joe Gregorio52a5c532013-01-24 16:19:07 -0500187 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
188 "height": 42, # The height of the image in pixels.
189 "lens": "A String", # The lens used to create the photo.
190 "date": "A String", # The date and time the photo was taken (EXIF format timestamp).
191 "width": 42, # The width of the image in pixels.
192 "meteringMode": "A String", # The metering mode used to create the photo.
193 "flashUsed": True or False, # Whether a flash was used to create the photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500194 "aperture": 3.14, # The aperture used to create the photo (f-number).
195 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500196 "sensor": "A String", # The type of sensor used to create the photo.
197 "whiteBalance": "A String", # The white balance mode used to create the photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500198 "cameraModel": "A String", # The model of the camera used to create the photo.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400199 },
Joe Gregorio075572b2012-07-09 16:53:09 -0400200 "embedLink": "A String", # A link for embedding the file.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400201 "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
202 "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.
Joe Gregorio41be8e82013-03-07 10:31:47 -0500203 "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
204 "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
Joe Gregorio075572b2012-07-09 16:53:09 -0400205 "withLink": True or False, # Whether the link is required for this permission.
206 "kind": "drive#permission", # This is always drive#permission.
207 "name": "A String", # The name for this permission.
208 "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
209 "id": "A String", # The ID of the permission.
210 "authKey": "A String", # The authkey parameter required for this permission.
211 "etag": "A String", # The ETag of the permission.
212 "role": "A String", # The primary role for this user. Allowed values are:
213 # - owner
214 # - reader
215 # - writer
216 "photoLink": "A String", # A link to the profile photo, if available.
217 "type": "A String", # The account type. Allowed values are:
218 # - user
219 # - group
220 # - domain
221 # - anyone
222 "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
223 "A String",
224 ],
225 "selfLink": "A String", # A link back to this permission.
226 },
Joe Gregorio41be8e82013-03-07 10:31:47 -0500227 "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
Joe Gregorio075572b2012-07-09 16:53:09 -0400228 "selfLink": "A String", # A link back to this file.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400229 "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.
Joe Gregorio075572b2012-07-09 16:53:09 -0400230 },
231 "id": "A String", # The ID of the change.
232 "selfLink": "A String", # A link back to this change.
233 "fileId": "A String", # The ID of the file associated with this change.
234 }</pre>
235</div>
236
237<div class="method">
238 <code class="details" id="list">list(includeSubscribed=None, includeDeleted=None, pageToken=None, maxResults=None, startChangeId=None)</code>
239 <pre>Lists the changes for a user.
240
241Args:
Joe Gregorio52a5c532013-01-24 16:19:07 -0500242 includeSubscribed: boolean, Whether to include shared files and public files the user has opened. When set to false, the list will include owned files plus any shared or public files the user has explictly added to a folder in Drive.
Joe Gregorio075572b2012-07-09 16:53:09 -0400243 includeDeleted: boolean, Whether to include deleted items.
244 pageToken: string, Page token for changes.
245 maxResults: integer, Maximum number of changes to return.
246 startChangeId: string, Change ID to start listing changes from.
247
248Returns:
249 An object of the form:
250
251 { # A list of changes for a user.
252 "nextPageToken": "A String", # The page token for the next page of changes.
253 "kind": "drive#changeList", # This is always drive#changeList.
254 "items": [ # The actual list of changes.
255 { # Representation of a change to a file.
256 "kind": "drive#change", # This is always drive#change.
257 "deleted": True or False, # Whether the file has been deleted.
258 "file": { # The metadata for a file. # The updated state of the file. Present if the file has not been deleted.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400259 "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.
Joe Gregorio075572b2012-07-09 16:53:09 -0400260 "thumbnailLink": "A String", # A link to the file's thumbnail.
261 "labels": { # A group of labels for the file.
262 "restricted": True or False, # Whether viewers are prevented from downloading this file.
263 "hidden": True or False, # Whether this file is hidden from the user.
264 "viewed": True or False, # Whether this file has been viewed by this user.
265 "starred": True or False, # Whether this file is starred by the user.
266 "trashed": True or False, # Whether this file has been trashed.
267 },
268 "indexableText": { # Indexable text attributes for the file (can only be written)
Joe Gregorio41be8e82013-03-07 10:31:47 -0500269 "text": "A String", # The text to be indexed for this file.
Joe Gregorio075572b2012-07-09 16:53:09 -0400270 },
Joe Gregorioad8013f2012-08-03 08:44:02 -0400271 "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed. This will only be populated if the file is trashed.
Joe Gregorio075572b2012-07-09 16:53:09 -0400272 "etag": "A String", # ETag of the file.
Joe Gregorio41be8e82013-03-07 10:31:47 -0500273 "lastModifyingUserName": "A String", # Name of the last user to modify this file.
Joe Gregorio075572b2012-07-09 16:53:09 -0400274 "writersCanShare": True or False, # Whether writers can share the document with other users.
Joe Gregorio41be8e82013-03-07 10:31:47 -0500275 "owners": [ # The owner(s) of this file.
276 { # The JSON template for a user.
277 "picture": { # The user's profile picture.
278 "url": "A String", # A URL that points to a profile picture of this user.
279 },
280 "kind": "drive#user", # This is always drive#user.
281 "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
282 "displayName": "A String", # A plain text displayable name for this user.
283 "permissionId": "A String", # The user's ID as visible in the permissions collection.
284 },
285 ],
286 "id": "A String", # The ID of the file.
287 "lastModifyingUser": { # The JSON template for a user. # The last user to modify this file.
288 "picture": { # The user's profile picture.
289 "url": "A String", # A URL that points to a profile picture of this user.
290 },
291 "kind": "drive#user", # This is always drive#user.
292 "isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
293 "displayName": "A String", # A plain text displayable name for this user.
294 "permissionId": "A String", # The user's ID as visible in the permissions collection.
295 },
Joe Gregorio075572b2012-07-09 16:53:09 -0400296 "title": "A String", # The title of this file.
297 "ownerNames": [ # Name(s) of the owner(s) of this file.
298 "A String",
299 ],
300 "sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
Joe Gregorio52a5c532013-01-24 16:19:07 -0500301 "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.
Joe Gregorio075572b2012-07-09 16:53:09 -0400302 "lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
303 "parents": [ # Collection of parent folders which contain this file.
Joe Gregorioe7a0c472012-07-12 11:46:04 -0400304 # Setting this field will put the file in all of the provided folders. On insert, if no folders are provided, the file will be placed in the default root folder.
Joe Gregorio075572b2012-07-09 16:53:09 -0400305 { # A reference to a file's parent.
306 "selfLink": "A String", # A link back to this reference.
307 "kind": "drive#parentReference", # This is always drive#parentReference.
308 "id": "A String", # The ID of the parent.
309 "isRoot": True or False, # Whether or not the parent is the root folder.
310 "parentLink": "A String", # A link to the parent.
311 },
312 ],
313 "exportLinks": { # Links for exporting Google Docs to specific formats.
Joe Gregoriofa08c2e2012-07-23 16:52:03 -0400314 "a_key": "A String", # A mapping from export format to URL
Joe Gregorio075572b2012-07-09 16:53:09 -0400315 },
Joe Gregorio52a5c532013-01-24 16:19:07 -0500316 "shared": True or False, # Whether the file has been shared.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500317 "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
318 "mimeType": "A String", # The MIME type of the thumbnail.
319 "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image.
320 },
Joe Gregorioad8013f2012-08-03 08:44:02 -0400321 "originalFilename": "A String", # The original filename if the file was uploaded manually, or the original title if the file was inserted through the API. Note that renames of the title will not change the original filename. This will only be populated on files with content stored in Drive.
Joe Gregorio075572b2012-07-09 16:53:09 -0400322 "description": "A String", # A short description of the file.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400323 "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.
Joe Gregorio075572b2012-07-09 16:53:09 -0400324 "editable": True or False, # Whether the file can be edited by the current user.
325 "kind": "drive#file", # The type of file. This is always drive#file.
326 "quotaBytesUsed": "A String", # The number of quota bytes used by this file.
Joe Gregorio41be8e82013-03-07 10:31:47 -0500327 "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
Joe Gregorio075572b2012-07-09 16:53:09 -0400328 "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
Joe Gregorio41be8e82013-03-07 10:31:47 -0500329 "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500330 "iconLink": "A String", # A link to the file's icon.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400331 "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.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500332 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500333 "exposureTime": 3.14, # The length of the exposure, in seconds.
334 "cameraMake": "A String", # The make of the camera used to create the photo.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500335 "maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create the photo (APEX value).
Joe Gregoriod67010d2012-11-05 08:57:06 -0500336 "isoSpeed": 42, # The ISO speed used to create the photo.
337 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500338 "exposureMode": "A String", # The exposure mode used to create the photo.
339 "colorSpace": "A String", # The color space of the photo.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400340 "location": { # Geographic location information stored in the image.
341 "latitude": 3.14, # The latitude stored in the image.
342 "altitude": 3.14, # The altitude stored in the image.
343 "longitude": 3.14, # The longitude stored in the image.
344 },
Joe Gregorio52a5c532013-01-24 16:19:07 -0500345 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
346 "height": 42, # The height of the image in pixels.
347 "lens": "A String", # The lens used to create the photo.
348 "date": "A String", # The date and time the photo was taken (EXIF format timestamp).
349 "width": 42, # The width of the image in pixels.
350 "meteringMode": "A String", # The metering mode used to create the photo.
351 "flashUsed": True or False, # Whether a flash was used to create the photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500352 "aperture": 3.14, # The aperture used to create the photo (f-number).
353 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500354 "sensor": "A String", # The type of sensor used to create the photo.
355 "whiteBalance": "A String", # The white balance mode used to create the photo.
Joe Gregoriod67010d2012-11-05 08:57:06 -0500356 "cameraModel": "A String", # The model of the camera used to create the photo.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400357 },
Joe Gregorio075572b2012-07-09 16:53:09 -0400358 "embedLink": "A String", # A link for embedding the file.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400359 "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
360 "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.
Joe Gregorio41be8e82013-03-07 10:31:47 -0500361 "downloadUrl": "A String", # Short lived download URL for the file. This is only populated for files with content stored in Drive.
362 "userPermission": { # A permission for a file. # The permissions for the authenticated user on this file.
Joe Gregorio075572b2012-07-09 16:53:09 -0400363 "withLink": True or False, # Whether the link is required for this permission.
364 "kind": "drive#permission", # This is always drive#permission.
365 "name": "A String", # The name for this permission.
366 "value": "A String", # The email address or domain name for the entity. This is not populated in responses.
367 "id": "A String", # The ID of the permission.
368 "authKey": "A String", # The authkey parameter required for this permission.
369 "etag": "A String", # The ETag of the permission.
370 "role": "A String", # The primary role for this user. Allowed values are:
371 # - owner
372 # - reader
373 # - writer
374 "photoLink": "A String", # A link to the profile photo, if available.
375 "type": "A String", # The account type. Allowed values are:
376 # - user
377 # - group
378 # - domain
379 # - anyone
380 "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed.
381 "A String",
382 ],
383 "selfLink": "A String", # A link back to this permission.
384 },
Joe Gregorio41be8e82013-03-07 10:31:47 -0500385 "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
Joe Gregorio075572b2012-07-09 16:53:09 -0400386 "selfLink": "A String", # A link back to this file.
Joe Gregorioad8013f2012-08-03 08:44:02 -0400387 "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.
Joe Gregorio075572b2012-07-09 16:53:09 -0400388 },
389 "id": "A String", # The ID of the change.
390 "selfLink": "A String", # A link back to this change.
391 "fileId": "A String", # The ID of the file associated with this change.
392 },
393 ],
394 "nextLink": "A String", # A link to the next page of changes.
395 "etag": "A String", # The ETag of the list.
396 "largestChangeId": "A String", # The current largest change ID.
397 "selfLink": "A String", # A link back to this list.
398 }</pre>
399</div>
400
401<div class="method">
402 <code class="details" id="list_next">list_next(previous_request, previous_response)</code>
403 <pre>Retrieves the next page of results.
404
405Args:
406 previous_request: The request for the previous page. (required)
407 previous_response: The response from the request for the previous page. (required)
408
409Returns:
410 A request object that you can call 'execute()' on to request the next
411 page. Returns None if there are no more items in the collection.
Joe Gregorio52a5c532013-01-24 16:19:07 -0500412 </pre>
Joe Gregorio075572b2012-07-09 16:53:09 -0400413</div>
414
415</body></html>