Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 1 | <html><body> |
| 2 | <style> |
| 3 | |
| 4 | body, 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 | |
| 15 | body { |
| 16 | font-size: 13px; |
| 17 | padding: 1em; |
| 18 | } |
| 19 | |
| 20 | h1 { |
| 21 | font-size: 26px; |
| 22 | margin-bottom: 1em; |
| 23 | } |
| 24 | |
| 25 | h2 { |
| 26 | font-size: 24px; |
| 27 | margin-bottom: 1em; |
| 28 | } |
| 29 | |
| 30 | h3 { |
| 31 | font-size: 20px; |
| 32 | margin-bottom: 1em; |
| 33 | margin-top: 1em; |
| 34 | } |
| 35 | |
| 36 | pre, code { |
| 37 | line-height: 1.5; |
| 38 | font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; |
| 39 | } |
| 40 | |
| 41 | pre { |
| 42 | margin-top: 0.5em; |
| 43 | } |
| 44 | |
| 45 | h1, h2, h3, p { |
| 46 | font-family: Arial, sans serif; |
| 47 | } |
| 48 | |
| 49 | h1, 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 | |
| 91 | Args: |
| 92 | changeId: string, The ID of the change. (required) |
| 93 | |
| 94 | Returns: |
| 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 Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 101 | "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 Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 102 | "appDataContents": True or False, # Whether this file is in the appdata folder. |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 103 | "thumbnailLink": "A String", # A link to the file's thumbnail. |
| 104 | "labels": { # A group of labels for the file. |
| 105 | "restricted": True or False, # Whether viewers are prevented from downloading this file. |
| 106 | "hidden": True or False, # Whether this file is hidden from the user. |
| 107 | "viewed": True or False, # Whether this file has been viewed by this user. |
| 108 | "starred": True or False, # Whether this file is starred by the user. |
| 109 | "trashed": True or False, # Whether this file has been trashed. |
| 110 | }, |
| 111 | "indexableText": { # Indexable text attributes for the file (can only be written) |
| 112 | "text": "A String", # The text to be indexed for this file |
| 113 | }, |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 114 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 115 | "etag": "A String", # ETag of the file. |
| 116 | "lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file. |
| 117 | "writersCanShare": True or False, # Whether writers can share the document with other users. |
| 118 | "id": "A String", # The id of the file. |
| 119 | "title": "A String", # The title of this file. |
| 120 | "ownerNames": [ # Name(s) of the owner(s) of this file. |
| 121 | "A String", |
| 122 | ], |
| 123 | "sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp). |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 124 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 125 | "lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp). |
| 126 | "parents": [ # Collection of parent folders which contain this file. |
Joe Gregorio | e7a0c47 | 2012-07-12 11:46:04 -0400 | [diff] [blame] | 127 | # 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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 128 | { # A reference to a file's parent. |
| 129 | "selfLink": "A String", # A link back to this reference. |
| 130 | "kind": "drive#parentReference", # This is always drive#parentReference. |
| 131 | "id": "A String", # The ID of the parent. |
| 132 | "isRoot": True or False, # Whether or not the parent is the root folder. |
| 133 | "parentLink": "A String", # A link to the parent. |
| 134 | }, |
| 135 | ], |
| 136 | "exportLinks": { # Links for exporting Google Docs to specific formats. |
Joe Gregorio | fa08c2e | 2012-07-23 16:52:03 -0400 | [diff] [blame] | 137 | "a_key": "A String", # A mapping from export format to URL |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 138 | }, |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 139 | "shared": True or False, # Whether the file has been shared. |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 140 | "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. |
| 141 | "mimeType": "A String", # The MIME type of the thumbnail. |
| 142 | "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. |
| 143 | }, |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 144 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 145 | "description": "A String", # A short description of the file. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 146 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 147 | "editable": True or False, # Whether the file can be edited by the current user. |
| 148 | "kind": "drive#file", # The type of file. This is always drive#file. |
| 149 | "quotaBytesUsed": "A String", # The number of quota bytes used by this file. |
| 150 | "fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive. |
| 151 | "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp). |
| 152 | "md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 153 | "iconLink": "A String", # A link to the file's icon. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 154 | "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 Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 155 | "exposureBias": 3.14, # The exposure bias of the photo (APEX value). |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 156 | "exposureTime": 3.14, # The length of the exposure, in seconds. |
| 157 | "cameraMake": "A String", # The make of the camera used to create the photo. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 158 | "maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create the photo (APEX value). |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 159 | "isoSpeed": 42, # The ISO speed used to create the photo. |
| 160 | "focalLength": 3.14, # The focal length used to create the photo, in millimeters. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 161 | "exposureMode": "A String", # The exposure mode used to create the photo. |
| 162 | "colorSpace": "A String", # The color space of the photo. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 163 | "location": { # Geographic location information stored in the image. |
| 164 | "latitude": 3.14, # The latitude stored in the image. |
| 165 | "altitude": 3.14, # The altitude stored in the image. |
| 166 | "longitude": 3.14, # The longitude stored in the image. |
| 167 | }, |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 168 | "subjectDistance": 42, # The distance to the subject of the photo, in meters. |
| 169 | "height": 42, # The height of the image in pixels. |
| 170 | "lens": "A String", # The lens used to create the photo. |
| 171 | "date": "A String", # The date and time the photo was taken (EXIF format timestamp). |
| 172 | "width": 42, # The width of the image in pixels. |
| 173 | "meteringMode": "A String", # The metering mode used to create the photo. |
| 174 | "flashUsed": True or False, # Whether a flash was used to create the photo. |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 175 | "aperture": 3.14, # The aperture used to create the photo (f-number). |
| 176 | "rotation": 42, # The rotation in clockwise degrees from the image's original orientation. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 177 | "sensor": "A String", # The type of sensor used to create the photo. |
| 178 | "whiteBalance": "A String", # The white balance mode used to create the photo. |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 179 | "cameraModel": "A String", # The model of the camera used to create the photo. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 180 | }, |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 181 | "embedLink": "A String", # A link for embedding the file. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 182 | "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer. |
| 183 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 184 | "downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 185 | "userPermission": { # A single permission for a file. |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 186 | "withLink": True or False, # Whether the link is required for this permission. |
| 187 | "kind": "drive#permission", # This is always drive#permission. |
| 188 | "name": "A String", # The name for this permission. |
| 189 | "value": "A String", # The email address or domain name for the entity. This is not populated in responses. |
| 190 | "id": "A String", # The ID of the permission. |
| 191 | "authKey": "A String", # The authkey parameter required for this permission. |
| 192 | "etag": "A String", # The ETag of the permission. |
| 193 | "role": "A String", # The primary role for this user. Allowed values are: |
| 194 | # - owner |
| 195 | # - reader |
| 196 | # - writer |
| 197 | "photoLink": "A String", # A link to the profile photo, if available. |
| 198 | "type": "A String", # The account type. Allowed values are: |
| 199 | # - user |
| 200 | # - group |
| 201 | # - domain |
| 202 | # - anyone |
| 203 | "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed. |
| 204 | "A String", |
| 205 | ], |
| 206 | "selfLink": "A String", # A link back to this permission. |
| 207 | }, |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 208 | "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive. |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 209 | "selfLink": "A String", # A link back to this file. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 210 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 211 | }, |
| 212 | "id": "A String", # The ID of the change. |
| 213 | "selfLink": "A String", # A link back to this change. |
| 214 | "fileId": "A String", # The ID of the file associated with this change. |
| 215 | }</pre> |
| 216 | </div> |
| 217 | |
| 218 | <div class="method"> |
| 219 | <code class="details" id="list">list(includeSubscribed=None, includeDeleted=None, pageToken=None, maxResults=None, startChangeId=None)</code> |
| 220 | <pre>Lists the changes for a user. |
| 221 | |
| 222 | Args: |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 223 | 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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 224 | includeDeleted: boolean, Whether to include deleted items. |
| 225 | pageToken: string, Page token for changes. |
| 226 | maxResults: integer, Maximum number of changes to return. |
| 227 | startChangeId: string, Change ID to start listing changes from. |
| 228 | |
| 229 | Returns: |
| 230 | An object of the form: |
| 231 | |
| 232 | { # A list of changes for a user. |
| 233 | "nextPageToken": "A String", # The page token for the next page of changes. |
| 234 | "kind": "drive#changeList", # This is always drive#changeList. |
| 235 | "items": [ # The actual list of changes. |
| 236 | { # Representation of a change to a file. |
| 237 | "kind": "drive#change", # This is always drive#change. |
| 238 | "deleted": True or False, # Whether the file has been deleted. |
| 239 | "file": { # The metadata for a file. # The updated state of the file. Present if the file has not been deleted. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 240 | "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 Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 241 | "appDataContents": True or False, # Whether this file is in the appdata folder. |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 242 | "thumbnailLink": "A String", # A link to the file's thumbnail. |
| 243 | "labels": { # A group of labels for the file. |
| 244 | "restricted": True or False, # Whether viewers are prevented from downloading this file. |
| 245 | "hidden": True or False, # Whether this file is hidden from the user. |
| 246 | "viewed": True or False, # Whether this file has been viewed by this user. |
| 247 | "starred": True or False, # Whether this file is starred by the user. |
| 248 | "trashed": True or False, # Whether this file has been trashed. |
| 249 | }, |
| 250 | "indexableText": { # Indexable text attributes for the file (can only be written) |
| 251 | "text": "A String", # The text to be indexed for this file |
| 252 | }, |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 253 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 254 | "etag": "A String", # ETag of the file. |
| 255 | "lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file. |
| 256 | "writersCanShare": True or False, # Whether writers can share the document with other users. |
| 257 | "id": "A String", # The id of the file. |
| 258 | "title": "A String", # The title of this file. |
| 259 | "ownerNames": [ # Name(s) of the owner(s) of this file. |
| 260 | "A String", |
| 261 | ], |
| 262 | "sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp). |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 263 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 264 | "lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp). |
| 265 | "parents": [ # Collection of parent folders which contain this file. |
Joe Gregorio | e7a0c47 | 2012-07-12 11:46:04 -0400 | [diff] [blame] | 266 | # 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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 267 | { # A reference to a file's parent. |
| 268 | "selfLink": "A String", # A link back to this reference. |
| 269 | "kind": "drive#parentReference", # This is always drive#parentReference. |
| 270 | "id": "A String", # The ID of the parent. |
| 271 | "isRoot": True or False, # Whether or not the parent is the root folder. |
| 272 | "parentLink": "A String", # A link to the parent. |
| 273 | }, |
| 274 | ], |
| 275 | "exportLinks": { # Links for exporting Google Docs to specific formats. |
Joe Gregorio | fa08c2e | 2012-07-23 16:52:03 -0400 | [diff] [blame] | 276 | "a_key": "A String", # A mapping from export format to URL |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 277 | }, |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 278 | "shared": True or False, # Whether the file has been shared. |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 279 | "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google. |
| 280 | "mimeType": "A String", # The MIME type of the thumbnail. |
| 281 | "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. |
| 282 | }, |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 283 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 284 | "description": "A String", # A short description of the file. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 285 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 286 | "editable": True or False, # Whether the file can be edited by the current user. |
| 287 | "kind": "drive#file", # The type of file. This is always drive#file. |
| 288 | "quotaBytesUsed": "A String", # The number of quota bytes used by this file. |
| 289 | "fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive. |
| 290 | "createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp). |
| 291 | "md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 292 | "iconLink": "A String", # A link to the file's icon. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 293 | "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 Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 294 | "exposureBias": 3.14, # The exposure bias of the photo (APEX value). |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 295 | "exposureTime": 3.14, # The length of the exposure, in seconds. |
| 296 | "cameraMake": "A String", # The make of the camera used to create the photo. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 297 | "maxApertureValue": 3.14, # The smallest f-number of the lens at the focal length used to create the photo (APEX value). |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 298 | "isoSpeed": 42, # The ISO speed used to create the photo. |
| 299 | "focalLength": 3.14, # The focal length used to create the photo, in millimeters. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 300 | "exposureMode": "A String", # The exposure mode used to create the photo. |
| 301 | "colorSpace": "A String", # The color space of the photo. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 302 | "location": { # Geographic location information stored in the image. |
| 303 | "latitude": 3.14, # The latitude stored in the image. |
| 304 | "altitude": 3.14, # The altitude stored in the image. |
| 305 | "longitude": 3.14, # The longitude stored in the image. |
| 306 | }, |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 307 | "subjectDistance": 42, # The distance to the subject of the photo, in meters. |
| 308 | "height": 42, # The height of the image in pixels. |
| 309 | "lens": "A String", # The lens used to create the photo. |
| 310 | "date": "A String", # The date and time the photo was taken (EXIF format timestamp). |
| 311 | "width": 42, # The width of the image in pixels. |
| 312 | "meteringMode": "A String", # The metering mode used to create the photo. |
| 313 | "flashUsed": True or False, # Whether a flash was used to create the photo. |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 314 | "aperture": 3.14, # The aperture used to create the photo (f-number). |
| 315 | "rotation": 42, # The rotation in clockwise degrees from the image's original orientation. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 316 | "sensor": "A String", # The type of sensor used to create the photo. |
| 317 | "whiteBalance": "A String", # The white balance mode used to create the photo. |
Joe Gregorio | d67010d | 2012-11-05 08:57:06 -0500 | [diff] [blame] | 318 | "cameraModel": "A String", # The model of the camera used to create the photo. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 319 | }, |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 320 | "embedLink": "A String", # A link for embedding the file. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 321 | "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer. |
| 322 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 323 | "downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 324 | "userPermission": { # A single permission for a file. |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 325 | "withLink": True or False, # Whether the link is required for this permission. |
| 326 | "kind": "drive#permission", # This is always drive#permission. |
| 327 | "name": "A String", # The name for this permission. |
| 328 | "value": "A String", # The email address or domain name for the entity. This is not populated in responses. |
| 329 | "id": "A String", # The ID of the permission. |
| 330 | "authKey": "A String", # The authkey parameter required for this permission. |
| 331 | "etag": "A String", # The ETag of the permission. |
| 332 | "role": "A String", # The primary role for this user. Allowed values are: |
| 333 | # - owner |
| 334 | # - reader |
| 335 | # - writer |
| 336 | "photoLink": "A String", # A link to the profile photo, if available. |
| 337 | "type": "A String", # The account type. Allowed values are: |
| 338 | # - user |
| 339 | # - group |
| 340 | # - domain |
| 341 | # - anyone |
| 342 | "additionalRoles": [ # Additional roles for this user. Only commenter is currently allowed. |
| 343 | "A String", |
| 344 | ], |
| 345 | "selfLink": "A String", # A link back to this permission. |
| 346 | }, |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 347 | "fileExtension": "A String", # The file extension used when downloading this file. This field is set from the title when inserting or uploading new content. This will only be populated on files with content stored in Drive. |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 348 | "selfLink": "A String", # A link back to this file. |
Joe Gregorio | ad8013f | 2012-08-03 08:44:02 -0400 | [diff] [blame] | 349 | "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 Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 350 | }, |
| 351 | "id": "A String", # The ID of the change. |
| 352 | "selfLink": "A String", # A link back to this change. |
| 353 | "fileId": "A String", # The ID of the file associated with this change. |
| 354 | }, |
| 355 | ], |
| 356 | "nextLink": "A String", # A link to the next page of changes. |
| 357 | "etag": "A String", # The ETag of the list. |
| 358 | "largestChangeId": "A String", # The current largest change ID. |
| 359 | "selfLink": "A String", # A link back to this list. |
| 360 | }</pre> |
| 361 | </div> |
| 362 | |
| 363 | <div class="method"> |
| 364 | <code class="details" id="list_next">list_next(previous_request, previous_response)</code> |
| 365 | <pre>Retrieves the next page of results. |
| 366 | |
| 367 | Args: |
| 368 | previous_request: The request for the previous page. (required) |
| 369 | previous_response: The response from the request for the previous page. (required) |
| 370 | |
| 371 | Returns: |
| 372 | A request object that you can call 'execute()' on to request the next |
| 373 | page. Returns None if there are no more items in the collection. |
Joe Gregorio | 52a5c53 | 2013-01-24 16:19:07 -0500 | [diff] [blame] | 374 | </pre> |
Joe Gregorio | 075572b | 2012-07-09 16:53:09 -0400 | [diff] [blame] | 375 | </div> |
| 376 | |
| 377 | </body></html> |