Update docs for 1.4.2 release
diff --git a/docs/dyn/drive_v2.changes.html b/docs/dyn/drive_v2.changes.html
index b2a3d06..7285562 100644
--- a/docs/dyn/drive_v2.changes.html
+++ b/docs/dyn/drive_v2.changes.html
@@ -107,7 +107,7 @@
"appDataContents": True or False, # Whether this file is in the Application Data folder.
"thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
"labels": { # A group of labels for the file.
- "restricted": True or False, # Whether viewers are prevented from downloading this file.
+ "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
"hidden": True or False, # Deprecated.
"viewed": True or False, # Whether this file has been viewed by this user.
"starred": True or False, # Whether this file is starred by the user.
@@ -116,7 +116,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.
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
"lastModifyingUserName": "A String", # Name of the last user to modify this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
"owners": [ # The owner(s) of this file.
@@ -131,6 +131,7 @@
"emailAddress": "A String", # The email address of the user.
},
],
+ "ownedByMe": True or False, # Whether the file is owned by the current user.
"id": "A String", # The ID of the file.
"sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
"picture": { # The user's profile picture.
@@ -159,6 +160,7 @@
},
"copyable": True or False, # Whether the file can be copied by the current user.
"folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"ownerNames": [ # Name(s) of the owner(s) of this file.
"A String",
],
@@ -206,10 +208,7 @@
"selfLink": "A String", # A link back to this permission.
},
],
- "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
- "mimeType": "A String", # The MIME type of the thumbnail.
- "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
- },
+ "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
"openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
"a_key": "A String",
},
@@ -244,9 +243,9 @@
"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.
- "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+ "canComment": True or False, # Whether the current user can comment on the file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
- "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+ "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
"createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair attached to a file that is either public or private to an application.
@@ -263,14 +262,18 @@
"selfLink": "A String", # The link back to this property.
},
],
- "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+ "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
"iconLink": "A String", # A link to the file's icon.
"defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
"embedLink": "A String", # A link for embedding the file.
"alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
"title": "A String", # The title of this file.
"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 lived download URL for the file. This is only populated for files with content stored in Drive.
+ "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+ "mimeType": "A String", # The MIME type of the thumbnail.
+ "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+ },
+ "downloadUrl": "A String",
"userPermission": { # A 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.
"domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -296,12 +299,13 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+ "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
"A String",
],
- "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.
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
- "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+ "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+ "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 field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+ "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+ "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
"selfLink": "A String", # A link back to this file.
"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.
},
@@ -322,7 +326,7 @@
pageToken: string, Page token for changes.
maxResults: integer, Maximum number of changes to return.
startChangeId: string, Change ID to start listing changes from.
- spaces: string, A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'.
+ spaces: string, A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.
Returns:
An object of the form:
@@ -341,7 +345,7 @@
"appDataContents": True or False, # Whether this file is in the Application Data folder.
"thumbnailLink": "A String", # A short-lived link to the file's thumbnail. Typically lasts on the order of hours.
"labels": { # A group of labels for the file.
- "restricted": True or False, # Whether viewers are prevented from downloading this file.
+ "restricted": True or False, # Whether viewers and commenters are prevented from downloading, printing, and copying this file.
"hidden": True or False, # Deprecated.
"viewed": True or False, # Whether this file has been viewed by this user.
"starred": True or False, # Whether this file is starred by the user.
@@ -350,7 +354,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.
+ "explicitlyTrashed": True or False, # Whether this file has been explicitly trashed, as opposed to recursively trashed.
"lastModifyingUserName": "A String", # Name of the last user to modify this file.
"writersCanShare": True or False, # Whether writers can share the document with other users.
"owners": [ # The owner(s) of this file.
@@ -365,6 +369,7 @@
"emailAddress": "A String", # The email address of the user.
},
],
+ "ownedByMe": True or False, # Whether the file is owned by the current user.
"id": "A String", # The ID of the file.
"sharingUser": { # The JSON template for a user. # User that shared the item with the current user, if available.
"picture": { # The user's profile picture.
@@ -393,6 +398,7 @@
},
"copyable": True or False, # Whether the file can be copied by the current user.
"folderColorRgb": "A String", # Folder color as an RGB hex string if the file is a folder. The list of supported colors is available in the folderColorPalette field of the About resource. If an unsupported color is specified, it will be changed to the closest color in the palette.
+ "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
"ownerNames": [ # Name(s) of the owner(s) of this file.
"A String",
],
@@ -440,10 +446,7 @@
"selfLink": "A String", # A link back to this permission.
},
],
- "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
- "mimeType": "A String", # The MIME type of the thumbnail.
- "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
- },
+ "fullFileExtension": "A String", # The full file extension; extracted from the title. May contain multiple concatenated extensions, such as "tar.gz". Removing an extension from the title does not clear this field; however, changing the extension on the title does update this field. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
"openWithLinks": { # A map of the id of each of the user's apps to a link to open this file with that app. Only populated when the drive.apps.readonly scope is used.
"a_key": "A String",
},
@@ -478,9 +481,9 @@
"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.
- "markedViewedByMeDate": "A String", # Time this file was explicitly marked viewed by the user (formatted RFC 3339 timestamp).
+ "canComment": True or False, # Whether the current user can comment on the file.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
- "fileSize": "A String", # The size of the file in bytes. This is only populated for files with content stored in Drive.
+ "fileSize": "A String", # The size of the file in bytes. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
"createdDate": "A String", # Create time for this file (formatted RFC 3339 timestamp).
"properties": [ # The list of properties.
{ # A key-value pair attached to a file that is either public or private to an application.
@@ -497,14 +500,18 @@
"selfLink": "A String", # The link back to this property.
},
],
- "md5Checksum": "A String", # An MD5 checksum for the content of this file. This is populated only for files with content stored in Drive.
+ "md5Checksum": "A String", # An MD5 checksum for the content of this file. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
"iconLink": "A String", # A link to the file's icon.
"defaultOpenWithLink": "A String", # A link to open this file with the user's default app for this file. Only populated when the drive.apps.readonly scope is used.
"embedLink": "A String", # A link for embedding the file.
"alternateLink": "A String", # A link for opening the file in a relevant Google editor or viewer.
"title": "A String", # The title of this file.
"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 lived download URL for the file. This is only populated for files with content stored in Drive.
+ "thumbnail": { # Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.
+ "mimeType": "A String", # The MIME type of the thumbnail.
+ "image": "A String", # The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.
+ },
+ "downloadUrl": "A String",
"userPermission": { # A 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.
"domain": "A String", # The domain name of the entity this permission refers to. This is an output-only field which is present when the permission type is user, group or domain.
@@ -530,12 +537,13 @@
],
"selfLink": "A String", # A link back to this permission.
},
- "spaces": [ # The list of spaces which contain the file. Supported values are 'drive' and 'appDataFolder'.
+ "spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
"A String",
],
- "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.
- "fileExtension": "A String", # The file extension used when downloading this file. This field is read only. To set the extension, include it in the title when creating the file. This is only populated for files with content stored in Drive.
- "headRevisionId": "A String", # The ID of the file's head revision. This will only be populated for files with content stored in Drive.
+ "shareable": True or False, # Whether the file's sharing settings can be modified by the current user.
+ "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 field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+ "fileExtension": "A String", # The final component of fullFileExtension with trailing text that does not appear to be part of the extension removed. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
+ "headRevisionId": "A String", # The ID of the file's head revision. This field is only populated for files with content stored in Drive; it is not populated for Google Docs or shortcut files.
"selfLink": "A String", # A link back to this file.
"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.
},
@@ -594,7 +602,7 @@
pageToken: string, Page token for changes.
maxResults: integer, Maximum number of changes to return.
startChangeId: string, Change ID to start listing changes from.
- spaces: string, A comma-separated list of spaces to query. Supported values are 'drive' and 'appDataFolder'.
+ spaces: string, A comma-separated list of spaces to query. Supported values are 'drive', 'appDataFolder' and 'photos'.
Returns:
An object of the form: