refresh docs
diff --git a/docs/dyn/drive_v2.changes.html b/docs/dyn/drive_v2.changes.html
index c470345..609d385 100644
--- a/docs/dyn/drive_v2.changes.html
+++ b/docs/dyn/drive_v2.changes.html
@@ -98,7 +98,7 @@
"kind": "drive#change", # This is always drive#change.
"deleted": True or False, # Whether the file has been deleted.
"file": { # The metadata for a file. # The updated state of the file. Present if the file has not been deleted.
- "mimeType": "A String", # The MIME type of the file.
+ "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.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -110,6 +110,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "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.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -133,18 +134,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "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.
"description": "A String", # A short description of the file.
+ "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.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "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.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "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.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -169,9 +180,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "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.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "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.
},
"id": "A String", # The ID of the change.
"selfLink": "A String", # A link back to this change.
@@ -201,7 +212,7 @@
"kind": "drive#change", # This is always drive#change.
"deleted": True or False, # Whether the file has been deleted.
"file": { # The metadata for a file. # The updated state of the file. Present if the file has not been deleted.
- "mimeType": "A String", # The MIME type of the file.
+ "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.
"thumbnailLink": "A String", # A link to the file's thumbnail.
"labels": { # A group of labels for the file.
"restricted": True or False, # Whether viewers are prevented from downloading this file.
@@ -213,6 +224,7 @@
"indexableText": { # Indexable text attributes for the file (can only be written)
"text": "A String", # The text to be indexed for this file
},
+ "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.
"etag": "A String", # ETag of the file.
"lastModifyingUserName": "A String", # Name of the last user to modify this file. This will only be populated if a user has edited this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
@@ -236,18 +248,28 @@
"exportLinks": { # Links for exporting Google Docs to specific formats.
"a_key": "A String", # A mapping from export format to URL
},
- "originalFilename": "A String", # The filename when uploading this file. This will only be populated on files with content stored in Drive.
+ "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.
"description": "A String", # A short description of the file.
+ "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.
"editable": True or False, # Whether the file can be edited by the current user.
"kind": "drive#file", # The type of file. This is always drive#file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"fileSize": "A String", # The size of the file in bytes. This will only be populated on files with content stored in Drive.
"createdDate": "A String", # Create time for this file (formatted ISO8601 timestamp).
"md5Checksum": "A String", # An MD5 checksum for the content of this file. This will only be populated on files with content stored in Drive.
+ "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.
+ "width": 42, # The width of the image in pixels.
+ "rotation": 42, # The rotation in clockwise degrees from the image's original orientation.
+ "location": { # Geographic location information stored in the image.
+ "latitude": 3.14, # The latitude stored in the image.
+ "altitude": 3.14, # The altitude stored in the image.
+ "longitude": 3.14, # The longitude stored in the image.
+ },
+ "height": 42, # The height of the image in pixels.
+ },
"embedLink": "A String", # A link for embedding the file.
- "alternateLink": "A String", # A link for opening the file in a browser.
- "permissionsLink": "A String", # A link to the permissions collection.
- "modifiedByMeDate": "A String", # Last time this file was modified by the user (formatted RFC 3339 timestamp).
+ "alternateLink": "A String", # A link for opening the file in using a relevant Google editor or viewer.
+ "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.
"downloadUrl": "A String", # Short term download URL for the file. This will only be populated on files with content stored in Drive.
"userPermission": { # A single permission for a file. # The permissions for the authenticated user on this file.
"withLink": True or False, # Whether the link is required for this permission.
@@ -272,9 +294,9 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it on title when creating the file. This will only be populated on files with content stored in Drive.
+ "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.
"selfLink": "A String", # A link back to this file.
- "modifiedDate": "A String", # Last time this file was modified by anyone (formatted RFC 3339 timestamp).
+ "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.
},
"id": "A String", # The ID of the change.
"selfLink": "A String", # A link back to this change.