Lines Matching full:the

85 …tly deletes a file owned by the user without moving it to the trash. If the target is a folder, al…
88 <p class="firstline">Permanently deletes all of the user's trashed files.</p>
91 <p class="firstline">Exports a Google Doc to the requested MIME type and returns the exported conte…
94 <p class="firstline">Exports a Google Doc to the requested MIME type and returns the exported conte…
109 <p class="firstline">Retrieves the next page of results.</p>
125 fileId: string, The ID of the file. (required)
126 body: object, The request body. (required)
127 The object takes the form of:
129 { # The metadata for a file.
131 "mimeType": "A String", # The MIME type of the file.
132 …detect an appropriate value from uploaded content if no value is provided. The value cannot be cha…
133 …h a Google Doc MIME type, the uploaded content will be imported if possible. The supported import …
134 …"modifiedByMeTime": "A String", # The last time the file was modified by the user (RFC 3339 date-t…
135 …ved link to the file's thumbnail, if available. Typically lasts on the order of hours. Only popula…
136 …"thumbnailVersion": "A String", # The thumbnail version for use in client-contructable thumbnail U…
137 …"explicitlyTrashed": True or False, # Whether the file has been explicitly trashed, as opposed to …
138 "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
139 …"writersCanShare": True or False, # Whether users with only writer permission can modify the file'…
140 "ownedByMe": True or False, # Whether the user owns the file.
141 …"viewedByMeTime": "A String", # The last time the file was viewed by the user (RFC 3339 date-time).
142 "id": "A String", # The ID of the file.
143 …"sharingUser": { # Information about a Drive user. # The user who shared the file with the request…
144 "me": True or False, # Whether this user is the requesting user.
145 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
147 "permissionId": "A String", # The user's ID as visible in Permission resources.
148 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
149 "photoLink": "A String", # A link to the user's profile photo, if available.
151 …"size": "A String", # The size of the file's content in bytes. This is only applicable to files wi…
153 "width": 42, # The width of the video in pixels.
154 "durationMillis": "A String", # The duration of the video in milliseconds.
155 "height": 42, # The height of the video in pixels.
157 "lastModifyingUser": { # Information about a Drive user. # The last user to modify the file.
158 "me": True or False, # Whether this user is the requesting user.
159 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
161 "permissionId": "A String", # The user's ID as visible in Permission resources.
162 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
163 "photoLink": "A String", # A link to the user's profile photo, if available.
165 …": "A String", # The color for a folder as an RGB hex string. The supported colors are published i…
166 # If an unsupported color is specified, the closest color in the palette will be used instead.
167 …"appProperties": { # A collection of arbitrary key-value pairs which are private to the requesting…
171 "capabilities": { # Capabilities the current user has on the file.
172 …canReadRevisions": True or False, # Whether the current user has read access to the Revisions reso…
173 "canCopy": True or False, # Whether the user can copy the file.
174 …"canShare": True or False, # Whether the user can modify the file's permissions and sharing settin…
175 "canEdit": True or False, # Whether the user can edit the file's content.
176 "canComment": True or False, # Whether the user can comment on the file.
178 …"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in …
179 …reasing version number for the file. This reflects every change made to the file on the server, ev…
180 "parents": [ # The IDs of the parent folders which contain the file.
181 …quest, the file will be placed directly in the My Drive folder. Update requests must use the addPa…
184 …"sharedWithMeTime": "A String", # The time at which the file was shared with the user, if applicab…
185 "shared": True or False, # Whether the file has been shared.
186 …"permissions": [ # The full list of permissions for the file. This is only available if the reques…
187 …{ # A permission for a file. A permission grants a user, group, domain or the world access to a fi…
188 "domain": "A String", # The domain to which this permission refers.
190 …"allowFileDiscovery": True or False, # Whether the permission allows the file to be discovered thr…
191 …"kind": "drive#permission", # Identifies what kind of resource this is. Value: the fixed string "d…
192 …"emailAddress": "A String", # The email address of the user or group to which this permission refe…
193 "photoLink": "A String", # A link to the user's profile photo, if available.
194 "role": "A String", # The role granted by this permission. Valid values are:
199 …"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time).
200 "type": "A String", # The type of the grantee. Valid values are:
205 …"id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is…
208 …"fullFileExtension": "A String", # The full file extension extracted from the name field. May cont…
209 …# This is automatically updated when the name field changes, however it is not cleared if the new …
210 …ginalFilename": "A String", # The original filename of the uploaded content if available, or else
211 …r False, # Whether users with only reader or commenter permission can copy the file's content. Thi…
212 "description": "A String", # A short description of the file.
213 "modifiedTime": "A String", # The last time the file was modified by anyone (RFC 3339 date-time).
214 # Note that setting modifiedTime will also update modifiedByMeTime for the user.
215 "viewedByMe": True or False, # Whether the file has been viewed by this user.
216 "modifiedByMe": True or False, # Whether the file has been modified by this user.
217 …"owners": [ # The owners of the file. Currently, only certain legacy files may have more than one …
219 "me": True or False, # Whether this user is the requesting user.
220 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
222 "permissionId": "A String", # The user's ID as visible in Permission resources.
223 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
224 "photoLink": "A String", # A link to the user's profile photo, if available.
227 "createdTime": "A String", # The time at which the file was created (RFC 3339 date-time).
228 …"quotaBytesUsed": "A String", # The number of storage quota bytes used by the file. This includes
233 …"md5Checksum": "A String", # The MD5 checksum for the content of the file. This is only applicable…
234 "iconLink": "A String", # A static, unauthenticated link to the file's icon.
236 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
237 "exposureTime": 3.14, # The length of the exposure, in seconds.
238 "cameraMake": "A String", # The make of the camera used to create the photo.
239 …"maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create t…
240 "width": 42, # The width of the image in pixels.
241 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
242 "exposureMode": "A String", # The exposure mode used to create the photo.
243 "colorSpace": "A String", # The color space of the photo.
244 "location": { # Geographic location information stored in the image.
245 "latitude": 3.14, # The latitude stored in the image.
246 "altitude": 3.14, # The altitude stored in the image.
247 "longitude": 3.14, # The longitude stored in the image.
249 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
250 "height": 42, # The height of the image in pixels.
251 "lens": "A String", # The lens used to create the photo.
252 "isoSpeed": 42, # The ISO speed used to create the photo.
253 "meteringMode": "A String", # The metering mode used to create the photo.
254 "flashUsed": True or False, # Whether a flash was used to create the photo.
255 "time": "A String", # The date and time the photo was taken (EXIF DateTime).
256 "aperture": 3.14, # The aperture used to create the photo (f-number).
257 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
258 "sensor": "A String", # The type of sensor used to create the photo.
259 "whiteBalance": "A String", # The white balance mode used to create the photo.
260 "cameraModel": "A String", # The model of the camera used to create the photo.
262 …"kind": "drive#file", # Identifies what kind of resource this is. Value: the fixed string "drive#f…
263 "name": "A String", # The name of the file. This is not necessarily unique within a folder.
264 …"webContentLink": "A String", # A link for downloading the content of the file in a browser. This …
265 …"spaces": [ # The list of spaces which contain the file. The currently supported values are 'drive…
268the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may …
269 …"contentHints": { # Additional information about the content of the file. These fields are never p…
270 …"indexableText": "A String", # Text to be indexed for the file to improve fullText queries. This i…
271 …"thumbnail": { # A thumbnail for the file. This will only be used if Drive cannot generate a stand…
272 "mimeType": "A String", # The MIME type of the thumbnail.
273 "image": "A String", # The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
276 …"fileExtension": "A String", # The final component of fullFileExtension. This is only available fo…
277 "starred": True or False, # Whether the user has starred the file.
278 …"headRevisionId": "A String", # The ID of the file's head revision. This is currently only availab…
281 …keepRevisionForever: boolean, Whether to set the 'keepForever' field in the new head revision. Thi…
282the domain's default visibility settings for the created file. Domain administrators can choose to…
286 An object of the form:
288 { # The metadata for a file.
290 "mimeType": "A String", # The MIME type of the file.
291 …detect an appropriate value from uploaded content if no value is provided. The value cannot be cha…
292 …h a Google Doc MIME type, the uploaded content will be imported if possible. The supported import …
293 …"modifiedByMeTime": "A String", # The last time the file was modified by the user (RFC 3339 date-t…
294 …ved link to the file's thumbnail, if available. Typically lasts on the order of hours. Only popula…
295 …"thumbnailVersion": "A String", # The thumbnail version for use in client-contructable thumbnail U…
296 …"explicitlyTrashed": True or False, # Whether the file has been explicitly trashed, as opposed to …
297 … "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
298 …"writersCanShare": True or False, # Whether users with only writer permission can modify the file'…
299 "ownedByMe": True or False, # Whether the user owns the file.
300 …"viewedByMeTime": "A String", # The last time the file was viewed by the user (RFC 3339 date-time).
301 "id": "A String", # The ID of the file.
302 …"sharingUser": { # Information about a Drive user. # The user who shared the file with the request…
303 "me": True or False, # Whether this user is the requesting user.
304 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
306 "permissionId": "A String", # The user's ID as visible in Permission resources.
307 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
308 "photoLink": "A String", # A link to the user's profile photo, if available.
310 …"size": "A String", # The size of the file's content in bytes. This is only applicable to files wi…
312 "width": 42, # The width of the video in pixels.
313 "durationMillis": "A String", # The duration of the video in milliseconds.
314 "height": 42, # The height of the video in pixels.
316 "lastModifyingUser": { # Information about a Drive user. # The last user to modify the file.
317 "me": True or False, # Whether this user is the requesting user.
318 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
320 "permissionId": "A String", # The user's ID as visible in Permission resources.
321 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
322 "photoLink": "A String", # A link to the user's profile photo, if available.
324 …": "A String", # The color for a folder as an RGB hex string. The supported colors are published i…
325 … # If an unsupported color is specified, the closest color in the palette will be used instead.
326 …"appProperties": { # A collection of arbitrary key-value pairs which are private to the requesting…
330 "capabilities": { # Capabilities the current user has on the file.
331 …canReadRevisions": True or False, # Whether the current user has read access to the Revisions reso…
332 "canCopy": True or False, # Whether the user can copy the file.
333 …"canShare": True or False, # Whether the user can modify the file's permissions and sharing settin…
334 "canEdit": True or False, # Whether the user can edit the file's content.
335 "canComment": True or False, # Whether the user can comment on the file.
337 …"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in …
338 …reasing version number for the file. This reflects every change made to the file on the server, ev…
339 "parents": [ # The IDs of the parent folders which contain the file.
340 …quest, the file will be placed directly in the My Drive folder. Update requests must use the addPa…
343 …"sharedWithMeTime": "A String", # The time at which the file was shared with the user, if applicab…
344 "shared": True or False, # Whether the file has been shared.
345 …"permissions": [ # The full list of permissions for the file. This is only available if the reques…
346 …{ # A permission for a file. A permission grants a user, group, domain or the world access to a fi…
347 "domain": "A String", # The domain to which this permission refers.
349 …"allowFileDiscovery": True or False, # Whether the permission allows the file to be discovered thr…
350 …"kind": "drive#permission", # Identifies what kind of resource this is. Value: the fixed string "d…
351 …"emailAddress": "A String", # The email address of the user or group to which this permission refe…
352 "photoLink": "A String", # A link to the user's profile photo, if available.
353 "role": "A String", # The role granted by this permission. Valid values are:
358 …"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time).
359 "type": "A String", # The type of the grantee. Valid values are:
364 …"id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is…
367 …"fullFileExtension": "A String", # The full file extension extracted from the name field. May cont…
368 …# This is automatically updated when the name field changes, however it is not cleared if the new …
369 …ginalFilename": "A String", # The original filename of the uploaded content if available, or else
370 …r False, # Whether users with only reader or commenter permission can copy the file's content. Thi…
371 "description": "A String", # A short description of the file.
372 … "modifiedTime": "A String", # The last time the file was modified by anyone (RFC 3339 date-time).
373 # Note that setting modifiedTime will also update modifiedByMeTime for the user.
374 "viewedByMe": True or False, # Whether the file has been viewed by this user.
375 "modifiedByMe": True or False, # Whether the file has been modified by this user.
376 …"owners": [ # The owners of the file. Currently, only certain legacy files may have more than one …
378 "me": True or False, # Whether this user is the requesting user.
379 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
381 "permissionId": "A String", # The user's ID as visible in Permission resources.
382 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
383 "photoLink": "A String", # A link to the user's profile photo, if available.
386 "createdTime": "A String", # The time at which the file was created (RFC 3339 date-time).
387 …"quotaBytesUsed": "A String", # The number of storage quota bytes used by the file. This includes
392 …"md5Checksum": "A String", # The MD5 checksum for the content of the file. This is only applicable…
393 "iconLink": "A String", # A static, unauthenticated link to the file's icon.
395 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
396 "exposureTime": 3.14, # The length of the exposure, in seconds.
397 "cameraMake": "A String", # The make of the camera used to create the photo.
398 …"maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create t…
399 "width": 42, # The width of the image in pixels.
400 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
401 "exposureMode": "A String", # The exposure mode used to create the photo.
402 "colorSpace": "A String", # The color space of the photo.
403 "location": { # Geographic location information stored in the image.
404 "latitude": 3.14, # The latitude stored in the image.
405 "altitude": 3.14, # The altitude stored in the image.
406 "longitude": 3.14, # The longitude stored in the image.
408 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
409 "height": 42, # The height of the image in pixels.
410 "lens": "A String", # The lens used to create the photo.
411 "isoSpeed": 42, # The ISO speed used to create the photo.
412 "meteringMode": "A String", # The metering mode used to create the photo.
413 "flashUsed": True or False, # Whether a flash was used to create the photo.
414 "time": "A String", # The date and time the photo was taken (EXIF DateTime).
415 "aperture": 3.14, # The aperture used to create the photo (f-number).
416 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
417 "sensor": "A String", # The type of sensor used to create the photo.
418 "whiteBalance": "A String", # The white balance mode used to create the photo.
419 "cameraModel": "A String", # The model of the camera used to create the photo.
421 …"kind": "drive#file", # Identifies what kind of resource this is. Value: the fixed string "drive#f…
422 "name": "A String", # The name of the file. This is not necessarily unique within a folder.
423 …"webContentLink": "A String", # A link for downloading the content of the file in a browser. This …
424 …"spaces": [ # The list of spaces which contain the file. The currently supported values are 'drive…
427the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may …
428 …"contentHints": { # Additional information about the content of the file. These fields are never p…
429 …"indexableText": "A String", # Text to be indexed for the file to improve fullText queries. This i…
430 …"thumbnail": { # A thumbnail for the file. This will only be used if Drive cannot generate a stand…
431 "mimeType": "A String", # The MIME type of the thumbnail.
432 "image": "A String", # The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
435 …"fileExtension": "A String", # The final component of fullFileExtension. This is only available fo…
436 "starred": True or False, # Whether the user has starred the file.
437 …"headRevisionId": "A String", # The ID of the file's head revision. This is currently only availab…
446 body: object, The request body.
447 The object takes the form of:
449 { # The metadata for a file.
451 "mimeType": "A String", # The MIME type of the file.
452 …detect an appropriate value from uploaded content if no value is provided. The value cannot be cha…
453 …h a Google Doc MIME type, the uploaded content will be imported if possible. The supported import …
454 …"modifiedByMeTime": "A String", # The last time the file was modified by the user (RFC 3339 date-t…
455 …ved link to the file's thumbnail, if available. Typically lasts on the order of hours. Only popula…
456 …"thumbnailVersion": "A String", # The thumbnail version for use in client-contructable thumbnail U…
457 …"explicitlyTrashed": True or False, # Whether the file has been explicitly trashed, as opposed to …
458 "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
459 …"writersCanShare": True or False, # Whether users with only writer permission can modify the file'…
460 "ownedByMe": True or False, # Whether the user owns the file.
461 …"viewedByMeTime": "A String", # The last time the file was viewed by the user (RFC 3339 date-time).
462 "id": "A String", # The ID of the file.
463 …"sharingUser": { # Information about a Drive user. # The user who shared the file with the request…
464 "me": True or False, # Whether this user is the requesting user.
465 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
467 "permissionId": "A String", # The user's ID as visible in Permission resources.
468 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
469 "photoLink": "A String", # A link to the user's profile photo, if available.
471 …"size": "A String", # The size of the file's content in bytes. This is only applicable to files wi…
473 "width": 42, # The width of the video in pixels.
474 "durationMillis": "A String", # The duration of the video in milliseconds.
475 "height": 42, # The height of the video in pixels.
477 "lastModifyingUser": { # Information about a Drive user. # The last user to modify the file.
478 "me": True or False, # Whether this user is the requesting user.
479 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
481 "permissionId": "A String", # The user's ID as visible in Permission resources.
482 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
483 "photoLink": "A String", # A link to the user's profile photo, if available.
485 …": "A String", # The color for a folder as an RGB hex string. The supported colors are published i…
486 # If an unsupported color is specified, the closest color in the palette will be used instead.
487 …"appProperties": { # A collection of arbitrary key-value pairs which are private to the requesting…
491 "capabilities": { # Capabilities the current user has on the file.
492 …canReadRevisions": True or False, # Whether the current user has read access to the Revisions reso…
493 "canCopy": True or False, # Whether the user can copy the file.
494 …"canShare": True or False, # Whether the user can modify the file's permissions and sharing settin…
495 "canEdit": True or False, # Whether the user can edit the file's content.
496 "canComment": True or False, # Whether the user can comment on the file.
498 …"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in …
499 …reasing version number for the file. This reflects every change made to the file on the server, ev…
500 "parents": [ # The IDs of the parent folders which contain the file.
501 …quest, the file will be placed directly in the My Drive folder. Update requests must use the addPa…
504 …"sharedWithMeTime": "A String", # The time at which the file was shared with the user, if applicab…
505 "shared": True or False, # Whether the file has been shared.
506 …"permissions": [ # The full list of permissions for the file. This is only available if the reques…
507 …{ # A permission for a file. A permission grants a user, group, domain or the world access to a fi…
508 "domain": "A String", # The domain to which this permission refers.
510 …"allowFileDiscovery": True or False, # Whether the permission allows the file to be discovered thr…
511 …"kind": "drive#permission", # Identifies what kind of resource this is. Value: the fixed string "d…
512 …"emailAddress": "A String", # The email address of the user or group to which this permission refe…
513 "photoLink": "A String", # A link to the user's profile photo, if available.
514 "role": "A String", # The role granted by this permission. Valid values are:
519 …"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time).
520 "type": "A String", # The type of the grantee. Valid values are:
525 …"id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is…
528 …"fullFileExtension": "A String", # The full file extension extracted from the name field. May cont…
529 …# This is automatically updated when the name field changes, however it is not cleared if the new …
530 …ginalFilename": "A String", # The original filename of the uploaded content if available, or else
531 …r False, # Whether users with only reader or commenter permission can copy the file's content. Thi…
532 "description": "A String", # A short description of the file.
533 "modifiedTime": "A String", # The last time the file was modified by anyone (RFC 3339 date-time).
534 # Note that setting modifiedTime will also update modifiedByMeTime for the user.
535 "viewedByMe": True or False, # Whether the file has been viewed by this user.
536 "modifiedByMe": True or False, # Whether the file has been modified by this user.
537 …"owners": [ # The owners of the file. Currently, only certain legacy files may have more than one …
539 "me": True or False, # Whether this user is the requesting user.
540 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
542 "permissionId": "A String", # The user's ID as visible in Permission resources.
543 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
544 "photoLink": "A String", # A link to the user's profile photo, if available.
547 "createdTime": "A String", # The time at which the file was created (RFC 3339 date-time).
548 …"quotaBytesUsed": "A String", # The number of storage quota bytes used by the file. This includes
553 …"md5Checksum": "A String", # The MD5 checksum for the content of the file. This is only applicable…
554 "iconLink": "A String", # A static, unauthenticated link to the file's icon.
556 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
557 "exposureTime": 3.14, # The length of the exposure, in seconds.
558 "cameraMake": "A String", # The make of the camera used to create the photo.
559 …"maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create t…
560 "width": 42, # The width of the image in pixels.
561 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
562 "exposureMode": "A String", # The exposure mode used to create the photo.
563 "colorSpace": "A String", # The color space of the photo.
564 "location": { # Geographic location information stored in the image.
565 "latitude": 3.14, # The latitude stored in the image.
566 "altitude": 3.14, # The altitude stored in the image.
567 "longitude": 3.14, # The longitude stored in the image.
569 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
570 "height": 42, # The height of the image in pixels.
571 "lens": "A String", # The lens used to create the photo.
572 "isoSpeed": 42, # The ISO speed used to create the photo.
573 "meteringMode": "A String", # The metering mode used to create the photo.
574 "flashUsed": True or False, # Whether a flash was used to create the photo.
575 "time": "A String", # The date and time the photo was taken (EXIF DateTime).
576 "aperture": 3.14, # The aperture used to create the photo (f-number).
577 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
578 "sensor": "A String", # The type of sensor used to create the photo.
579 "whiteBalance": "A String", # The white balance mode used to create the photo.
580 "cameraModel": "A String", # The model of the camera used to create the photo.
582 …"kind": "drive#file", # Identifies what kind of resource this is. Value: the fixed string "drive#f…
583 "name": "A String", # The name of the file. This is not necessarily unique within a folder.
584 …"webContentLink": "A String", # A link for downloading the content of the file in a browser. This …
585 …"spaces": [ # The list of spaces which contain the file. The currently supported values are 'drive…
588the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may …
589 …"contentHints": { # Additional information about the content of the file. These fields are never p…
590 …"indexableText": "A String", # Text to be indexed for the file to improve fullText queries. This i…
591 …"thumbnail": { # A thumbnail for the file. This will only be used if Drive cannot generate a stand…
592 "mimeType": "A String", # The MIME type of the thumbnail.
593 "image": "A String", # The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
596 …"fileExtension": "A String", # The final component of fullFileExtension. This is only available fo…
597 "starred": True or False, # Whether the user has starred the file.
598 …"headRevisionId": "A String", # The ID of the file's head revision. This is currently only availab…
601 …media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
602 …keepRevisionForever: boolean, Whether to set the 'keepForever' field in the new head revision. Thi…
603 …media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload …
604 useContentAsIndexableText: boolean, Whether to use the uploaded content as indexable text.
605the domain's default visibility settings for the created file. Domain administrators can choose to…
609 An object of the form:
611 { # The metadata for a file.
613 "mimeType": "A String", # The MIME type of the file.
614 …detect an appropriate value from uploaded content if no value is provided. The value cannot be cha…
615 …h a Google Doc MIME type, the uploaded content will be imported if possible. The supported import …
616 …"modifiedByMeTime": "A String", # The last time the file was modified by the user (RFC 3339 date-t…
617 …ved link to the file's thumbnail, if available. Typically lasts on the order of hours. Only popula…
618 …"thumbnailVersion": "A String", # The thumbnail version for use in client-contructable thumbnail U…
619 …"explicitlyTrashed": True or False, # Whether the file has been explicitly trashed, as opposed to …
620 … "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
621 …"writersCanShare": True or False, # Whether users with only writer permission can modify the file'…
622 "ownedByMe": True or False, # Whether the user owns the file.
623 …"viewedByMeTime": "A String", # The last time the file was viewed by the user (RFC 3339 date-time).
624 "id": "A String", # The ID of the file.
625 …"sharingUser": { # Information about a Drive user. # The user who shared the file with the request…
626 "me": True or False, # Whether this user is the requesting user.
627 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
629 "permissionId": "A String", # The user's ID as visible in Permission resources.
630 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
631 "photoLink": "A String", # A link to the user's profile photo, if available.
633 …"size": "A String", # The size of the file's content in bytes. This is only applicable to files wi…
635 "width": 42, # The width of the video in pixels.
636 "durationMillis": "A String", # The duration of the video in milliseconds.
637 "height": 42, # The height of the video in pixels.
639 "lastModifyingUser": { # Information about a Drive user. # The last user to modify the file.
640 "me": True or False, # Whether this user is the requesting user.
641 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
643 "permissionId": "A String", # The user's ID as visible in Permission resources.
644 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
645 "photoLink": "A String", # A link to the user's profile photo, if available.
647 …": "A String", # The color for a folder as an RGB hex string. The supported colors are published i…
648 … # If an unsupported color is specified, the closest color in the palette will be used instead.
649 …"appProperties": { # A collection of arbitrary key-value pairs which are private to the requesting…
653 "capabilities": { # Capabilities the current user has on the file.
654 …canReadRevisions": True or False, # Whether the current user has read access to the Revisions reso…
655 "canCopy": True or False, # Whether the user can copy the file.
656 …"canShare": True or False, # Whether the user can modify the file's permissions and sharing settin…
657 "canEdit": True or False, # Whether the user can edit the file's content.
658 "canComment": True or False, # Whether the user can comment on the file.
660 …"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in …
661 …reasing version number for the file. This reflects every change made to the file on the server, ev…
662 "parents": [ # The IDs of the parent folders which contain the file.
663 …quest, the file will be placed directly in the My Drive folder. Update requests must use the addPa…
666 …"sharedWithMeTime": "A String", # The time at which the file was shared with the user, if applicab…
667 "shared": True or False, # Whether the file has been shared.
668 …"permissions": [ # The full list of permissions for the file. This is only available if the reques…
669 …{ # A permission for a file. A permission grants a user, group, domain or the world access to a fi…
670 "domain": "A String", # The domain to which this permission refers.
672 …"allowFileDiscovery": True or False, # Whether the permission allows the file to be discovered thr…
673 …"kind": "drive#permission", # Identifies what kind of resource this is. Value: the fixed string "d…
674 …"emailAddress": "A String", # The email address of the user or group to which this permission refe…
675 "photoLink": "A String", # A link to the user's profile photo, if available.
676 "role": "A String", # The role granted by this permission. Valid values are:
681 …"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time).
682 "type": "A String", # The type of the grantee. Valid values are:
687 …"id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is…
690 …"fullFileExtension": "A String", # The full file extension extracted from the name field. May cont…
691 …# This is automatically updated when the name field changes, however it is not cleared if the new …
692 …ginalFilename": "A String", # The original filename of the uploaded content if available, or else
693 …r False, # Whether users with only reader or commenter permission can copy the file's content. Thi…
694 "description": "A String", # A short description of the file.
695 … "modifiedTime": "A String", # The last time the file was modified by anyone (RFC 3339 date-time).
696 # Note that setting modifiedTime will also update modifiedByMeTime for the user.
697 "viewedByMe": True or False, # Whether the file has been viewed by this user.
698 "modifiedByMe": True or False, # Whether the file has been modified by this user.
699 …"owners": [ # The owners of the file. Currently, only certain legacy files may have more than one …
701 "me": True or False, # Whether this user is the requesting user.
702 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
704 "permissionId": "A String", # The user's ID as visible in Permission resources.
705 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
706 "photoLink": "A String", # A link to the user's profile photo, if available.
709 "createdTime": "A String", # The time at which the file was created (RFC 3339 date-time).
710 …"quotaBytesUsed": "A String", # The number of storage quota bytes used by the file. This includes
715 …"md5Checksum": "A String", # The MD5 checksum for the content of the file. This is only applicable…
716 "iconLink": "A String", # A static, unauthenticated link to the file's icon.
718 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
719 "exposureTime": 3.14, # The length of the exposure, in seconds.
720 "cameraMake": "A String", # The make of the camera used to create the photo.
721 …"maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create t…
722 "width": 42, # The width of the image in pixels.
723 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
724 "exposureMode": "A String", # The exposure mode used to create the photo.
725 "colorSpace": "A String", # The color space of the photo.
726 "location": { # Geographic location information stored in the image.
727 "latitude": 3.14, # The latitude stored in the image.
728 "altitude": 3.14, # The altitude stored in the image.
729 "longitude": 3.14, # The longitude stored in the image.
731 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
732 "height": 42, # The height of the image in pixels.
733 "lens": "A String", # The lens used to create the photo.
734 "isoSpeed": 42, # The ISO speed used to create the photo.
735 "meteringMode": "A String", # The metering mode used to create the photo.
736 "flashUsed": True or False, # Whether a flash was used to create the photo.
737 "time": "A String", # The date and time the photo was taken (EXIF DateTime).
738 "aperture": 3.14, # The aperture used to create the photo (f-number).
739 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
740 "sensor": "A String", # The type of sensor used to create the photo.
741 "whiteBalance": "A String", # The white balance mode used to create the photo.
742 "cameraModel": "A String", # The model of the camera used to create the photo.
744 …"kind": "drive#file", # Identifies what kind of resource this is. Value: the fixed string "drive#f…
745 "name": "A String", # The name of the file. This is not necessarily unique within a folder.
746 …"webContentLink": "A String", # A link for downloading the content of the file in a browser. This …
747 …"spaces": [ # The list of spaces which contain the file. The currently supported values are 'drive…
750the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may …
751 …"contentHints": { # Additional information about the content of the file. These fields are never p…
752 …"indexableText": "A String", # Text to be indexed for the file to improve fullText queries. This i…
753 …"thumbnail": { # A thumbnail for the file. This will only be used if Drive cannot generate a stand…
754 "mimeType": "A String", # The MIME type of the thumbnail.
755 "image": "A String", # The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
758 …"fileExtension": "A String", # The final component of fullFileExtension. This is only available fo…
759 "starred": True or False, # Whether the user has starred the file.
760 …"headRevisionId": "A String", # The ID of the file's head revision. This is currently only availab…
766 …tly deletes a file owned by the user without moving it to the trash. If the target is a folder, al…
769 fileId: string, The ID of the file. (required)
775 <pre>Permanently deletes all of the user's trashed files.
783 <pre>Exports a Google Doc to the requested MIME type and returns the exported content.
786 fileId: string, The ID of the file. (required)
787 mimeType: string, The MIME type of the format requested for this export. (required)
793 <pre>Exports a Google Doc to the requested MIME type and returns the exported content.
796 fileId: string, The ID of the file. (required)
797 mimeType: string, The MIME type of the format requested for this export. (required)
806 count: integer, The number of IDs to return.
807 …space: string, The space in which the IDs can be used to create new files. Supported values are 'd…
810 An object of the form:
813 …"kind": "drive#generatedIds", # Identifies what kind of resource this is. Value: the fixed string …
814 "ids": [ # The IDs generated for the requesting user in the specified space.
817 "space": "A String", # The type of file that can be created with these IDs.
826 fileId: string, The ID of the file. (required)
827 …acknowledgeAbuse: boolean, Whether the user is acknowledging the risk of downloading known malware…
830 An object of the form:
832 { # The metadata for a file.
834 "mimeType": "A String", # The MIME type of the file.
835 …detect an appropriate value from uploaded content if no value is provided. The value cannot be cha…
836 …h a Google Doc MIME type, the uploaded content will be imported if possible. The supported import …
837 …"modifiedByMeTime": "A String", # The last time the file was modified by the user (RFC 3339 date-t…
838 …ved link to the file's thumbnail, if available. Typically lasts on the order of hours. Only popula…
839 …"thumbnailVersion": "A String", # The thumbnail version for use in client-contructable thumbnail U…
840 …"explicitlyTrashed": True or False, # Whether the file has been explicitly trashed, as opposed to …
841 … "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
842 …"writersCanShare": True or False, # Whether users with only writer permission can modify the file'…
843 "ownedByMe": True or False, # Whether the user owns the file.
844 …"viewedByMeTime": "A String", # The last time the file was viewed by the user (RFC 3339 date-time).
845 "id": "A String", # The ID of the file.
846 …"sharingUser": { # Information about a Drive user. # The user who shared the file with the request…
847 "me": True or False, # Whether this user is the requesting user.
848 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
850 "permissionId": "A String", # The user's ID as visible in Permission resources.
851 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
852 "photoLink": "A String", # A link to the user's profile photo, if available.
854 …"size": "A String", # The size of the file's content in bytes. This is only applicable to files wi…
856 "width": 42, # The width of the video in pixels.
857 "durationMillis": "A String", # The duration of the video in milliseconds.
858 "height": 42, # The height of the video in pixels.
860 "lastModifyingUser": { # Information about a Drive user. # The last user to modify the file.
861 "me": True or False, # Whether this user is the requesting user.
862 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
864 "permissionId": "A String", # The user's ID as visible in Permission resources.
865 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
866 "photoLink": "A String", # A link to the user's profile photo, if available.
868 …": "A String", # The color for a folder as an RGB hex string. The supported colors are published i…
869 … # If an unsupported color is specified, the closest color in the palette will be used instead.
870 …"appProperties": { # A collection of arbitrary key-value pairs which are private to the requesting…
874 "capabilities": { # Capabilities the current user has on the file.
875 …canReadRevisions": True or False, # Whether the current user has read access to the Revisions reso…
876 "canCopy": True or False, # Whether the user can copy the file.
877 …"canShare": True or False, # Whether the user can modify the file's permissions and sharing settin…
878 "canEdit": True or False, # Whether the user can edit the file's content.
879 "canComment": True or False, # Whether the user can comment on the file.
881 …"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in …
882 …reasing version number for the file. This reflects every change made to the file on the server, ev…
883 "parents": [ # The IDs of the parent folders which contain the file.
884 …quest, the file will be placed directly in the My Drive folder. Update requests must use the addPa…
887 …"sharedWithMeTime": "A String", # The time at which the file was shared with the user, if applicab…
888 "shared": True or False, # Whether the file has been shared.
889 …"permissions": [ # The full list of permissions for the file. This is only available if the reques…
890 …{ # A permission for a file. A permission grants a user, group, domain or the world access to a fi…
891 "domain": "A String", # The domain to which this permission refers.
893 …"allowFileDiscovery": True or False, # Whether the permission allows the file to be discovered thr…
894 …"kind": "drive#permission", # Identifies what kind of resource this is. Value: the fixed string "d…
895 …"emailAddress": "A String", # The email address of the user or group to which this permission refe…
896 "photoLink": "A String", # A link to the user's profile photo, if available.
897 "role": "A String", # The role granted by this permission. Valid values are:
902 …"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time).
903 "type": "A String", # The type of the grantee. Valid values are:
908 …"id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is…
911 …"fullFileExtension": "A String", # The full file extension extracted from the name field. May cont…
912 …# This is automatically updated when the name field changes, however it is not cleared if the new …
913 …ginalFilename": "A String", # The original filename of the uploaded content if available, or else
914 …r False, # Whether users with only reader or commenter permission can copy the file's content. Thi…
915 "description": "A String", # A short description of the file.
916 … "modifiedTime": "A String", # The last time the file was modified by anyone (RFC 3339 date-time).
917 # Note that setting modifiedTime will also update modifiedByMeTime for the user.
918 "viewedByMe": True or False, # Whether the file has been viewed by this user.
919 "modifiedByMe": True or False, # Whether the file has been modified by this user.
920 …"owners": [ # The owners of the file. Currently, only certain legacy files may have more than one …
922 "me": True or False, # Whether this user is the requesting user.
923 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
925 "permissionId": "A String", # The user's ID as visible in Permission resources.
926 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
927 "photoLink": "A String", # A link to the user's profile photo, if available.
930 "createdTime": "A String", # The time at which the file was created (RFC 3339 date-time).
931 …"quotaBytesUsed": "A String", # The number of storage quota bytes used by the file. This includes
936 …"md5Checksum": "A String", # The MD5 checksum for the content of the file. This is only applicable…
937 "iconLink": "A String", # A static, unauthenticated link to the file's icon.
939 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
940 "exposureTime": 3.14, # The length of the exposure, in seconds.
941 "cameraMake": "A String", # The make of the camera used to create the photo.
942 …"maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create t…
943 "width": 42, # The width of the image in pixels.
944 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
945 "exposureMode": "A String", # The exposure mode used to create the photo.
946 "colorSpace": "A String", # The color space of the photo.
947 "location": { # Geographic location information stored in the image.
948 "latitude": 3.14, # The latitude stored in the image.
949 "altitude": 3.14, # The altitude stored in the image.
950 "longitude": 3.14, # The longitude stored in the image.
952 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
953 "height": 42, # The height of the image in pixels.
954 "lens": "A String", # The lens used to create the photo.
955 "isoSpeed": 42, # The ISO speed used to create the photo.
956 "meteringMode": "A String", # The metering mode used to create the photo.
957 "flashUsed": True or False, # Whether a flash was used to create the photo.
958 "time": "A String", # The date and time the photo was taken (EXIF DateTime).
959 "aperture": 3.14, # The aperture used to create the photo (f-number).
960 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
961 "sensor": "A String", # The type of sensor used to create the photo.
962 "whiteBalance": "A String", # The white balance mode used to create the photo.
963 "cameraModel": "A String", # The model of the camera used to create the photo.
965 …"kind": "drive#file", # Identifies what kind of resource this is. Value: the fixed string "drive#f…
966 "name": "A String", # The name of the file. This is not necessarily unique within a folder.
967 …"webContentLink": "A String", # A link for downloading the content of the file in a browser. This …
968 …"spaces": [ # The list of spaces which contain the file. The currently supported values are 'drive…
971the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may …
972 …"contentHints": { # Additional information about the content of the file. These fields are never p…
973 …"indexableText": "A String", # Text to be indexed for the file to improve fullText queries. This i…
974 …"thumbnail": { # A thumbnail for the file. This will only be used if Drive cannot generate a stand…
975 "mimeType": "A String", # The MIME type of the thumbnail.
976 "image": "A String", # The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
979 …"fileExtension": "A String", # The final component of fullFileExtension. This is only available fo…
980 "starred": True or False, # Whether the user has starred the file.
981 …"headRevisionId": "A String", # The ID of the file's head revision. This is currently only availab…
990 fileId: string, The ID of the file. (required)
991 …acknowledgeAbuse: boolean, Whether the user is acknowledging the risk of downloading known malware…
994 The media object as a string.
1004the 'desc' modifier. Example usage: ?orderBy=folder,modifiedTime desc,name. Please note that there…
1005 …q: string, A query for filtering the file results. See the "Search for Files" guide for supported …
1006 pageSize: integer, The maximum number of files to return per page.
1007 …ken: string, The token for continuing a previous list request on the next page. This should be set…
1008 …spaces: string, A comma-separated list of spaces to query within the corpus. Supported values are …
1009 corpus: string, The source of files to list.
1011 domain - Files shared to the user's domain.
1012 user - Files owned by or shared to the user.
1015 An object of the form:
1018 "files": [ # The page of files.
1019 { # The metadata for a file.
1021 "mimeType": "A String", # The MIME type of the file.
1022 …detect an appropriate value from uploaded content if no value is provided. The value cannot be cha…
1023 …h a Google Doc MIME type, the uploaded content will be imported if possible. The supported import …
1024 …"modifiedByMeTime": "A String", # The last time the file was modified by the user (RFC 3339 date-t…
1025 …ved link to the file's thumbnail, if available. Typically lasts on the order of hours. Only popula…
1026 …"thumbnailVersion": "A String", # The thumbnail version for use in client-contructable thumbnail U…
1027 …"explicitlyTrashed": True or False, # Whether the file has been explicitly trashed, as opposed to …
1028 … "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
1029 …are": True or False, # Whether users with only writer permission can modify the file's permissions.
1030 "ownedByMe": True or False, # Whether the user owns the file.
1031 …"viewedByMeTime": "A String", # The last time the file was viewed by the user (RFC 3339 date-time).
1032 "id": "A String", # The ID of the file.
1033 …"sharingUser": { # Information about a Drive user. # The user who shared the file with the request…
1034 "me": True or False, # Whether this user is the requesting user.
1035 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1037 "permissionId": "A String", # The user's ID as visible in Permission resources.
1038 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1039 "photoLink": "A String", # A link to the user's profile photo, if available.
1041 …"size": "A String", # The size of the file's content in bytes. This is only applicable to files wi…
1043 "width": 42, # The width of the video in pixels.
1044 "durationMillis": "A String", # The duration of the video in milliseconds.
1045 "height": 42, # The height of the video in pixels.
1047 "lastModifyingUser": { # Information about a Drive user. # The last user to modify the file.
1048 "me": True or False, # Whether this user is the requesting user.
1049 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1051 "permissionId": "A String", # The user's ID as visible in Permission resources.
1052 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1053 "photoLink": "A String", # A link to the user's profile photo, if available.
1055 …": "A String", # The color for a folder as an RGB hex string. The supported colors are published i…
1056 … # If an unsupported color is specified, the closest color in the palette will be used instead.
1057 …"appProperties": { # A collection of arbitrary key-value pairs which are private to the requesting…
1061 "capabilities": { # Capabilities the current user has on the file.
1062 …canReadRevisions": True or False, # Whether the current user has read access to the Revisions reso…
1063 "canCopy": True or False, # Whether the user can copy the file.
1064 …"canShare": True or False, # Whether the user can modify the file's permissions and sharing settin…
1065 "canEdit": True or False, # Whether the user can edit the file's content.
1066 "canComment": True or False, # Whether the user can comment on the file.
1068 …"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in …
1069 …reasing version number for the file. This reflects every change made to the file on the server, ev…
1070 "parents": [ # The IDs of the parent folders which contain the file.
1071 …quest, the file will be placed directly in the My Drive folder. Update requests must use the addPa…
1074 …"sharedWithMeTime": "A String", # The time at which the file was shared with the user, if applicab…
1075 "shared": True or False, # Whether the file has been shared.
1076 …"permissions": [ # The full list of permissions for the file. This is only available if the reques…
1077 …{ # A permission for a file. A permission grants a user, group, domain or the world access to a fi…
1078 "domain": "A String", # The domain to which this permission refers.
1080 …"allowFileDiscovery": True or False, # Whether the permission allows the file to be discovered thr…
1081 …"kind": "drive#permission", # Identifies what kind of resource this is. Value: the fixed string "d…
1082 …"emailAddress": "A String", # The email address of the user or group to which this permission refe…
1083 "photoLink": "A String", # A link to the user's profile photo, if available.
1084 "role": "A String", # The role granted by this permission. Valid values are:
1089 …"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time).
1090 "type": "A String", # The type of the grantee. Valid values are:
1095 …"id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is…
1098 …"fullFileExtension": "A String", # The full file extension extracted from the name field. May cont…
1099 …# This is automatically updated when the name field changes, however it is not cleared if the new …
1100 …ginalFilename": "A String", # The original filename of the uploaded content if available, or else
1101 …r False, # Whether users with only reader or commenter permission can copy the file's content. Thi…
1102 "description": "A String", # A short description of the file.
1103 … "modifiedTime": "A String", # The last time the file was modified by anyone (RFC 3339 date-time).
1104 # Note that setting modifiedTime will also update modifiedByMeTime for the user.
1105 "viewedByMe": True or False, # Whether the file has been viewed by this user.
1106 "modifiedByMe": True or False, # Whether the file has been modified by this user.
1107 …"owners": [ # The owners of the file. Currently, only certain legacy files may have more than one …
1109 "me": True or False, # Whether this user is the requesting user.
1110 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1112 "permissionId": "A String", # The user's ID as visible in Permission resources.
1113 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1114 "photoLink": "A String", # A link to the user's profile photo, if available.
1117 "createdTime": "A String", # The time at which the file was created (RFC 3339 date-time).
1118 …"quotaBytesUsed": "A String", # The number of storage quota bytes used by the file. This includes
1123 …"md5Checksum": "A String", # The MD5 checksum for the content of the file. This is only applicable…
1124 "iconLink": "A String", # A static, unauthenticated link to the file's icon.
1126 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
1127 "exposureTime": 3.14, # The length of the exposure, in seconds.
1128 "cameraMake": "A String", # The make of the camera used to create the photo.
1129 …"maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create t…
1130 "width": 42, # The width of the image in pixels.
1131 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
1132 "exposureMode": "A String", # The exposure mode used to create the photo.
1133 "colorSpace": "A String", # The color space of the photo.
1134 "location": { # Geographic location information stored in the image.
1135 "latitude": 3.14, # The latitude stored in the image.
1136 "altitude": 3.14, # The altitude stored in the image.
1137 "longitude": 3.14, # The longitude stored in the image.
1139 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
1140 "height": 42, # The height of the image in pixels.
1141 "lens": "A String", # The lens used to create the photo.
1142 "isoSpeed": 42, # The ISO speed used to create the photo.
1143 "meteringMode": "A String", # The metering mode used to create the photo.
1144 "flashUsed": True or False, # Whether a flash was used to create the photo.
1145 "time": "A String", # The date and time the photo was taken (EXIF DateTime).
1146 "aperture": 3.14, # The aperture used to create the photo (f-number).
1147 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
1148 "sensor": "A String", # The type of sensor used to create the photo.
1149 "whiteBalance": "A String", # The white balance mode used to create the photo.
1150 "cameraModel": "A String", # The model of the camera used to create the photo.
1152 …"kind": "drive#file", # Identifies what kind of resource this is. Value: the fixed string "drive#f…
1153 "name": "A String", # The name of the file. This is not necessarily unique within a folder.
1154 …"webContentLink": "A String", # A link for downloading the content of the file in a browser. This …
1155 …"spaces": [ # The list of spaces which contain the file. The currently supported values are 'drive…
1158the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may …
1159 …"contentHints": { # Additional information about the content of the file. These fields are never p…
1160 …"indexableText": "A String", # Text to be indexed for the file to improve fullText queries. This i…
1161 …"thumbnail": { # A thumbnail for the file. This will only be used if Drive cannot generate a stand…
1162 "mimeType": "A String", # The MIME type of the thumbnail.
1163 … "image": "A String", # The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
1166 …"fileExtension": "A String", # The final component of fullFileExtension. This is only available fo…
1167 "starred": True or False, # Whether the user has starred the file.
1168 …"headRevisionId": "A String", # The ID of the file's head revision. This is currently only availab…
1171 …"nextPageToken": "A String", # The page token for the next page of files. This will be absent if t…
1172 …"kind": "drive#fileList", # Identifies what kind of resource this is. Value: the fixed string "dri…
1178 <pre>Retrieves the next page of results.
1181 previous_request: The request for the previous page. (required)
1182 previous_response: The response from the request for the previous page. (required)
1185 A request object that you can call 'execute()' on to request the next
1186 page. Returns None if there are no more items in the collection.
1195 fileId: string, The ID of the file. (required)
1196 body: object, The request body.
1197 The object takes the form of:
1199 { # The metadata for a file.
1201 "mimeType": "A String", # The MIME type of the file.
1202 …detect an appropriate value from uploaded content if no value is provided. The value cannot be cha…
1203 …h a Google Doc MIME type, the uploaded content will be imported if possible. The supported import …
1204 …"modifiedByMeTime": "A String", # The last time the file was modified by the user (RFC 3339 date-t…
1205 …ved link to the file's thumbnail, if available. Typically lasts on the order of hours. Only popula…
1206 …"thumbnailVersion": "A String", # The thumbnail version for use in client-contructable thumbnail U…
1207 …"explicitlyTrashed": True or False, # Whether the file has been explicitly trashed, as opposed to …
1208 "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
1209 …"writersCanShare": True or False, # Whether users with only writer permission can modify the file'…
1210 "ownedByMe": True or False, # Whether the user owns the file.
1211 …"viewedByMeTime": "A String", # The last time the file was viewed by the user (RFC 3339 date-time).
1212 "id": "A String", # The ID of the file.
1213 …"sharingUser": { # Information about a Drive user. # The user who shared the file with the request…
1214 "me": True or False, # Whether this user is the requesting user.
1215 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1217 "permissionId": "A String", # The user's ID as visible in Permission resources.
1218 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1219 "photoLink": "A String", # A link to the user's profile photo, if available.
1221 …"size": "A String", # The size of the file's content in bytes. This is only applicable to files wi…
1223 "width": 42, # The width of the video in pixels.
1224 "durationMillis": "A String", # The duration of the video in milliseconds.
1225 "height": 42, # The height of the video in pixels.
1227 "lastModifyingUser": { # Information about a Drive user. # The last user to modify the file.
1228 "me": True or False, # Whether this user is the requesting user.
1229 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1231 "permissionId": "A String", # The user's ID as visible in Permission resources.
1232 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1233 "photoLink": "A String", # A link to the user's profile photo, if available.
1235 …": "A String", # The color for a folder as an RGB hex string. The supported colors are published i…
1236 # If an unsupported color is specified, the closest color in the palette will be used instead.
1237 …"appProperties": { # A collection of arbitrary key-value pairs which are private to the requesting…
1241 "capabilities": { # Capabilities the current user has on the file.
1242 …canReadRevisions": True or False, # Whether the current user has read access to the Revisions reso…
1243 "canCopy": True or False, # Whether the user can copy the file.
1244 …"canShare": True or False, # Whether the user can modify the file's permissions and sharing settin…
1245 "canEdit": True or False, # Whether the user can edit the file's content.
1246 "canComment": True or False, # Whether the user can comment on the file.
1248 …"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in …
1249 …reasing version number for the file. This reflects every change made to the file on the server, ev…
1250 "parents": [ # The IDs of the parent folders which contain the file.
1251 …quest, the file will be placed directly in the My Drive folder. Update requests must use the addPa…
1254 …"sharedWithMeTime": "A String", # The time at which the file was shared with the user, if applicab…
1255 "shared": True or False, # Whether the file has been shared.
1256 …"permissions": [ # The full list of permissions for the file. This is only available if the reques…
1257 …{ # A permission for a file. A permission grants a user, group, domain or the world access to a fi…
1258 "domain": "A String", # The domain to which this permission refers.
1260 …"allowFileDiscovery": True or False, # Whether the permission allows the file to be discovered thr…
1261 …"kind": "drive#permission", # Identifies what kind of resource this is. Value: the fixed string "d…
1262 …"emailAddress": "A String", # The email address of the user or group to which this permission refe…
1263 "photoLink": "A String", # A link to the user's profile photo, if available.
1264 "role": "A String", # The role granted by this permission. Valid values are:
1269 …"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time).
1270 "type": "A String", # The type of the grantee. Valid values are:
1275 …"id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is…
1278 …"fullFileExtension": "A String", # The full file extension extracted from the name field. May cont…
1279 …# This is automatically updated when the name field changes, however it is not cleared if the new …
1280 …ginalFilename": "A String", # The original filename of the uploaded content if available, or else
1281 …r False, # Whether users with only reader or commenter permission can copy the file's content. Thi…
1282 "description": "A String", # A short description of the file.
1283 "modifiedTime": "A String", # The last time the file was modified by anyone (RFC 3339 date-time).
1284 # Note that setting modifiedTime will also update modifiedByMeTime for the user.
1285 "viewedByMe": True or False, # Whether the file has been viewed by this user.
1286 "modifiedByMe": True or False, # Whether the file has been modified by this user.
1287 …"owners": [ # The owners of the file. Currently, only certain legacy files may have more than one …
1289 "me": True or False, # Whether this user is the requesting user.
1290 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1292 "permissionId": "A String", # The user's ID as visible in Permission resources.
1293 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1294 "photoLink": "A String", # A link to the user's profile photo, if available.
1297 "createdTime": "A String", # The time at which the file was created (RFC 3339 date-time).
1298 …"quotaBytesUsed": "A String", # The number of storage quota bytes used by the file. This includes
1303 …"md5Checksum": "A String", # The MD5 checksum for the content of the file. This is only applicable…
1304 "iconLink": "A String", # A static, unauthenticated link to the file's icon.
1306 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
1307 "exposureTime": 3.14, # The length of the exposure, in seconds.
1308 "cameraMake": "A String", # The make of the camera used to create the photo.
1309 …"maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create t…
1310 "width": 42, # The width of the image in pixels.
1311 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
1312 "exposureMode": "A String", # The exposure mode used to create the photo.
1313 "colorSpace": "A String", # The color space of the photo.
1314 "location": { # Geographic location information stored in the image.
1315 "latitude": 3.14, # The latitude stored in the image.
1316 "altitude": 3.14, # The altitude stored in the image.
1317 "longitude": 3.14, # The longitude stored in the image.
1319 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
1320 "height": 42, # The height of the image in pixels.
1321 "lens": "A String", # The lens used to create the photo.
1322 "isoSpeed": 42, # The ISO speed used to create the photo.
1323 "meteringMode": "A String", # The metering mode used to create the photo.
1324 "flashUsed": True or False, # Whether a flash was used to create the photo.
1325 "time": "A String", # The date and time the photo was taken (EXIF DateTime).
1326 "aperture": 3.14, # The aperture used to create the photo (f-number).
1327 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
1328 "sensor": "A String", # The type of sensor used to create the photo.
1329 "whiteBalance": "A String", # The white balance mode used to create the photo.
1330 "cameraModel": "A String", # The model of the camera used to create the photo.
1332 …"kind": "drive#file", # Identifies what kind of resource this is. Value: the fixed string "drive#f…
1333 "name": "A String", # The name of the file. This is not necessarily unique within a folder.
1334 …"webContentLink": "A String", # A link for downloading the content of the file in a browser. This …
1335 …"spaces": [ # The list of spaces which contain the file. The currently supported values are 'drive…
1338the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may …
1339 …"contentHints": { # Additional information about the content of the file. These fields are never p…
1340 …"indexableText": "A String", # Text to be indexed for the file to improve fullText queries. This i…
1341 …"thumbnail": { # A thumbnail for the file. This will only be used if Drive cannot generate a stand…
1342 "mimeType": "A String", # The MIME type of the thumbnail.
1343 "image": "A String", # The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
1346 …"fileExtension": "A String", # The final component of fullFileExtension. This is only available fo…
1347 "starred": True or False, # Whether the user has starred the file.
1348 …"headRevisionId": "A String", # The ID of the file's head revision. This is currently only availab…
1351 …media_body: string, The filename of the media request body, or an instance of a MediaUpload object.
1354 …media_mime_type: string, The MIME type of the media request body, or an instance of a MediaUpload …
1355 useContentAsIndexableText: boolean, Whether to use the uploaded content as indexable text.
1356 …keepRevisionForever: boolean, Whether to set the 'keepForever' field in the new head revision. Thi…
1360 An object of the form:
1362 { # The metadata for a file.
1364 "mimeType": "A String", # The MIME type of the file.
1365 …detect an appropriate value from uploaded content if no value is provided. The value cannot be cha…
1366 …h a Google Doc MIME type, the uploaded content will be imported if possible. The supported import …
1367 …"modifiedByMeTime": "A String", # The last time the file was modified by the user (RFC 3339 date-t…
1368 …ved link to the file's thumbnail, if available. Typically lasts on the order of hours. Only popula…
1369 …"thumbnailVersion": "A String", # The thumbnail version for use in client-contructable thumbnail U…
1370 …"explicitlyTrashed": True or False, # Whether the file has been explicitly trashed, as opposed to …
1371 … "isAppAuthorized": True or False, # Whether the file was created or opened by the requesting app.
1372 …"writersCanShare": True or False, # Whether users with only writer permission can modify the file'…
1373 "ownedByMe": True or False, # Whether the user owns the file.
1374 …"viewedByMeTime": "A String", # The last time the file was viewed by the user (RFC 3339 date-time).
1375 "id": "A String", # The ID of the file.
1376 …"sharingUser": { # Information about a Drive user. # The user who shared the file with the request…
1377 "me": True or False, # Whether this user is the requesting user.
1378 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1380 "permissionId": "A String", # The user's ID as visible in Permission resources.
1381 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1382 "photoLink": "A String", # A link to the user's profile photo, if available.
1384 …"size": "A String", # The size of the file's content in bytes. This is only applicable to files wi…
1386 "width": 42, # The width of the video in pixels.
1387 "durationMillis": "A String", # The duration of the video in milliseconds.
1388 "height": 42, # The height of the video in pixels.
1390 "lastModifyingUser": { # Information about a Drive user. # The last user to modify the file.
1391 "me": True or False, # Whether this user is the requesting user.
1392 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1394 "permissionId": "A String", # The user's ID as visible in Permission resources.
1395 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1396 "photoLink": "A String", # A link to the user's profile photo, if available.
1398 …": "A String", # The color for a folder as an RGB hex string. The supported colors are published i…
1399 … # If an unsupported color is specified, the closest color in the palette will be used instead.
1400 …"appProperties": { # A collection of arbitrary key-value pairs which are private to the requesting…
1404 "capabilities": { # Capabilities the current user has on the file.
1405 …canReadRevisions": True or False, # Whether the current user has read access to the Revisions reso…
1406 "canCopy": True or False, # Whether the user can copy the file.
1407 …"canShare": True or False, # Whether the user can modify the file's permissions and sharing settin…
1408 "canEdit": True or False, # Whether the user can edit the file's content.
1409 "canComment": True or False, # Whether the user can comment on the file.
1411 …"webViewLink": "A String", # A link for opening the file in a relevant Google editor or viewer in …
1412 …reasing version number for the file. This reflects every change made to the file on the server, ev…
1413 "parents": [ # The IDs of the parent folders which contain the file.
1414 …quest, the file will be placed directly in the My Drive folder. Update requests must use the addPa…
1417 …"sharedWithMeTime": "A String", # The time at which the file was shared with the user, if applicab…
1418 "shared": True or False, # Whether the file has been shared.
1419 …"permissions": [ # The full list of permissions for the file. This is only available if the reques…
1420 …{ # A permission for a file. A permission grants a user, group, domain or the world access to a fi…
1421 "domain": "A String", # The domain to which this permission refers.
1423 …"allowFileDiscovery": True or False, # Whether the permission allows the file to be discovered thr…
1424 …"kind": "drive#permission", # Identifies what kind of resource this is. Value: the fixed string "d…
1425 …"emailAddress": "A String", # The email address of the user or group to which this permission refe…
1426 "photoLink": "A String", # A link to the user's profile photo, if available.
1427 "role": "A String", # The role granted by this permission. Valid values are:
1432 …"expirationTime": "A String", # The time at which this permission will expire (RFC 3339 date-time).
1433 "type": "A String", # The type of the grantee. Valid values are:
1438 …"id": "A String", # The ID of this permission. This is a unique identifier for the grantee, and is…
1441 …"fullFileExtension": "A String", # The full file extension extracted from the name field. May cont…
1442 …# This is automatically updated when the name field changes, however it is not cleared if the new …
1443 …ginalFilename": "A String", # The original filename of the uploaded content if available, or else
1444 …r False, # Whether users with only reader or commenter permission can copy the file's content. Thi…
1445 "description": "A String", # A short description of the file.
1446 … "modifiedTime": "A String", # The last time the file was modified by anyone (RFC 3339 date-time).
1447 # Note that setting modifiedTime will also update modifiedByMeTime for the user.
1448 "viewedByMe": True or False, # Whether the file has been viewed by this user.
1449 "modifiedByMe": True or False, # Whether the file has been modified by this user.
1450 …"owners": [ # The owners of the file. Currently, only certain legacy files may have more than one …
1452 "me": True or False, # Whether this user is the requesting user.
1453 …"kind": "drive#user", # Identifies what kind of resource this is. Value: the fixed string "drive#u…
1455 "permissionId": "A String", # The user's ID as visible in Permission resources.
1456 …ring", # The email address of the user. This may not be present in certain contexts if the user ha…
1457 "photoLink": "A String", # A link to the user's profile photo, if available.
1460 "createdTime": "A String", # The time at which the file was created (RFC 3339 date-time).
1461 …"quotaBytesUsed": "A String", # The number of storage quota bytes used by the file. This includes
1466 …"md5Checksum": "A String", # The MD5 checksum for the content of the file. This is only applicable…
1467 "iconLink": "A String", # A static, unauthenticated link to the file's icon.
1469 "exposureBias": 3.14, # The exposure bias of the photo (APEX value).
1470 "exposureTime": 3.14, # The length of the exposure, in seconds.
1471 "cameraMake": "A String", # The make of the camera used to create the photo.
1472 …"maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create t…
1473 "width": 42, # The width of the image in pixels.
1474 "focalLength": 3.14, # The focal length used to create the photo, in millimeters.
1475 "exposureMode": "A String", # The exposure mode used to create the photo.
1476 "colorSpace": "A String", # The color space of the photo.
1477 "location": { # Geographic location information stored in the image.
1478 "latitude": 3.14, # The latitude stored in the image.
1479 "altitude": 3.14, # The altitude stored in the image.
1480 "longitude": 3.14, # The longitude stored in the image.
1482 "subjectDistance": 42, # The distance to the subject of the photo, in meters.
1483 "height": 42, # The height of the image in pixels.
1484 "lens": "A String", # The lens used to create the photo.
1485 "isoSpeed": 42, # The ISO speed used to create the photo.
1486 "meteringMode": "A String", # The metering mode used to create the photo.
1487 "flashUsed": True or False, # Whether a flash was used to create the photo.
1488 "time": "A String", # The date and time the photo was taken (EXIF DateTime).
1489 "aperture": 3.14, # The aperture used to create the photo (f-number).
1490 "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
1491 "sensor": "A String", # The type of sensor used to create the photo.
1492 "whiteBalance": "A String", # The white balance mode used to create the photo.
1493 "cameraModel": "A String", # The model of the camera used to create the photo.
1495 …"kind": "drive#file", # Identifies what kind of resource this is. Value: the fixed string "drive#f…
1496 "name": "A String", # The name of the file. This is not necessarily unique within a folder.
1497 …"webContentLink": "A String", # A link for downloading the content of the file in a browser. This …
1498 …"spaces": [ # The list of spaces which contain the file. The currently supported values are 'drive…
1501the file has been trashed, either explicitly or from a trashed parent folder. Only the owner may …
1502 …"contentHints": { # Additional information about the content of the file. These fields are never p…
1503 …"indexableText": "A String", # Text to be indexed for the file to improve fullText queries. This i…
1504 …"thumbnail": { # A thumbnail for the file. This will only be used if Drive cannot generate a stand…
1505 "mimeType": "A String", # The MIME type of the thumbnail.
1506 "image": "A String", # The thumbnail data encoded with URL-safe Base64 (RFC 4648 section 5).
1509 …"fileExtension": "A String", # The final component of fullFileExtension. This is only available fo…
1510 "starred": True or False, # Whether the user has starred the file.
1511 …"headRevisionId": "A String", # The ID of the file's head revision. This is currently only availab…
1520 fileId: string, The ID of the file. (required)
1521 body: object, The request body. (required)
1522 The object takes the form of:
1525 "resourceUri": "A String", # A version-specific identifier for the watched resource.
1526 … as a notification channel used to watch for changes to a resource. Value: the fixed string "api#c…
1527 …"resourceId": "A String", # An opaque ID that identifies the resource being watched on this channe…
1529 …"token": "A String", # An arbitrary string delivered to the target address with each notification …
1534 "address": "A String", # The address where notifications are delivered for this channel.
1535 "type": "A String", # The type of delivery mechanism used for this channel.
1539 …acknowledgeAbuse: boolean, Whether the user is acknowledging the risk of downloading known malware…
1542 An object of the form:
1545 "resourceUri": "A String", # A version-specific identifier for the watched resource.
1546 … as a notification channel used to watch for changes to a resource. Value: the fixed string "api#c…
1547 …"resourceId": "A String", # An opaque ID that identifies the resource being watched on this channe…
1549 …"token": "A String", # An arbitrary string delivered to the target address with each notification …
1554 "address": "A String", # The address where notifications are delivered for this channel.
1555 "type": "A String", # The type of delivery mechanism used for this channel.
1565 fileId: string, The ID of the file. (required)
1566 body: object, The request body. (required)
1567 The object takes the form of:
1570 "resourceUri": "A String", # A version-specific identifier for the watched resource.
1571 … as a notification channel used to watch for changes to a resource. Value: the fixed string "api#c…
1572 …"resourceId": "A String", # An opaque ID that identifies the resource being watched on this channe…
1574 …"token": "A String", # An arbitrary string delivered to the target address with each notification …
1579 "address": "A String", # The address where notifications are delivered for this channel.
1580 "type": "A String", # The type of delivery mechanism used for this channel.
1584 …acknowledgeAbuse: boolean, Whether the user is acknowledging the risk of downloading known malware…
1587 The media object as a string.