Clean and regen docs (#401)
diff --git a/docs/dyn/drive_v2.changes.html b/docs/dyn/drive_v2.changes.html
index c5a3692..ba28d86 100644
--- a/docs/dyn/drive_v2.changes.html
+++ b/docs/dyn/drive_v2.changes.html
@@ -105,28 +105,38 @@
{ # Representation of a change to a file or Team Drive.
"teamDrive": { # Representation of a Team Drive. # The updated state of the Team Drive. Present if the type is teamDrive, the user is still a member of the Team Drive, and the Team Drive has not been deleted.
"kind": "drive#teamDrive", # This is always drive#teamDrive
- "id": "A String", # The ID of this Team Drive which is also the ID of the top level folder for this Team Drive.
+ "backgroundImageLink": "A String", # A short-lived link to this Team Drive's background image.
+ "name": "A String", # The name of this Team Drive.
+ "themeId": "A String", # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.insert request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
+ "colorRgb": "A String", # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
"capabilities": { # Capabilities the current user has on this Team Drive.
- "canReadRevisions": True or False, # Whether the current user has read access to the Revisions resource of files in this Team Drive.
- "canCopy": True or False, # Whether files in this Team Drive can be copied by the current user.
- "canRename": True or False, # Whether files or folders in this Team Drive can be renamed by the current user.
+ "canReadRevisions": True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
+ "canCopy": True or False, # Whether the current user can copy files in this Team Drive.
+ "canRename": True or False, # Whether the current user can rename files or folders in this Team Drive.
"canListChildren": True or False, # Whether the current user can list the children of folders in this Team Drive.
"canShare": True or False, # Whether the current user can share files or folders in this Team Drive.
"canManageMembers": True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
- "canDownload": True or False, # Whether files in this Team Drive can be downloaded by the current user.
+ "canDownload": True or False, # Whether the current user can download files in this Team Drive.
"canComment": True or False, # Whether the current user can comment on files in this Team Drive.
- "canDeleteTeamDrive": True or False, # Whether this Team Drive can be deleted by the current user.
- "canRenameTeamDrive": True or False, # Whether this Team Drive can be renamed by the current user.
+ "canChangeTeamDriveBackground": True or False, # Whether the current user can change the background of this Team Drive.
+ "canDeleteTeamDrive": True or False, # Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
+ "canRenameTeamDrive": True or False, # Whether the current user can rename this Team Drive.
"canRemoveChildren": True or False, # Whether the current user can remove children from folders in this Team Drive.
"canAddChildren": True or False, # Whether the current user can add children to folders in this Team Drive.
- "canEdit": True or False, # Whether files in this Team Drive can be edited by the current user.
+ "canEdit": True or False, # Whether the current user can edit files in this Team Drive
},
- "name": "A String", # The name of this Team Drive.
+ "backgroundImageFile": { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
+ "width": 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.
+ "yCoordinate": 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.
+ "id": "A String", # The ID of an image file in Drive to use for the background image.
+ "xCoordinate": 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
+ },
+ "id": "A String", # The ID of this Team Drive which is also the ID of the top level folder for this Team Drive.
},
"kind": "drive#change", # This is always drive#change.
"deleted": True or False, # Whether the file or Team Drive has been removed from this list of changes, for example by deletion or loss of access.
"file": { # The metadata for a file. # The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
- "hasThumbnail": True or False, # Whether this file has a thumbnail.
+ "hasThumbnail": True or False, # Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
"trashedDate": "A String", # The time that the item was trashed (formatted RFC 3339 timestamp). Only populated for Team Drive files.
"version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
@@ -193,29 +203,30 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
- "copyable": True or False, # Whether the file can be copied by the current user. Deprecated: use capabilities/canCopy.
+ "copyable": True or False, # Deprecated: use capabilities/canCopy.
"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. Not populated for Team Drive files.
"markedViewedByMeDate": "A String", # Deprecated.
"ownerNames": [ # Name(s) of the owner(s) of this file. Not populated for Team Drive files.
"A String",
],
- "capabilities": { # Capabilities the current user has on the file. Each capability corresponds to a fine-grained action that a user may take.
- "canReadRevisions": True or False, # Whether the current user has read access to the Revisions resource of the file. For a Team Drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
- "canTrash": True or False, # Whether the file can be trashed by the current user.
- "canCopy": True or False, # Whether the file can be copied by the current user. For a Team Drive item, whether non-folder descendants of this item, or this item itself if it is not a folder, can be copied.
- "canShare": True or False, # Whether the file's sharing settings can be modified by the current user.
- "canDelete": True or False, # Whether the file can be deleted by the current user.
+ "capabilities": { # Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
+ "canReadRevisions": True or False, # Whether the current user can read the revisions resource of this file. For a Team Drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
+ "canTrash": True or False, # Whether the current user can move this file to trash.
+ "canCopy": True or False, # Whether the current user can copy this file. For a Team Drive item, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
+ "canShare": True or False, # Whether the current user can modify the sharing settings for this file.
+ "canDelete": True or False, # Whether the current user can delete this file.
"canMoveTeamDriveItem": True or False, # Whether the current user can move this Team Drive item by changing its parent. Note that a request to change the parent for this item may still fail depending on the new parent that is being added. Only populated for Team Drive files.
- "canRename": True or False, # Whether the file can be renamed by the current user.
+ "canRename": True or False, # Whether the current user can rename this file.
"canListChildren": True or False, # Whether the current user can list the children of this folder. This is always false when the item is not a folder.
+ "canChangeRestrictedDownload": True or False, # Whether the current user can change the restricted download label of this file.
"canMoveItemIntoTeamDrive": True or False, # Whether the current user can move this item into a Team Drive. If the item is in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
- "canDownload": True or False, # Whether the file can be downloaded by the current user.
- "canComment": True or False, # Whether the current user can comment on the file.
+ "canDownload": True or False, # Whether the current user can download this file.
+ "canComment": True or False, # Whether the current user can comment on this file.
"canRemoveChildren": True or False, # Whether the current user can remove children from this folder. This is always false when the item is not a folder.
- "canReadTeamDrive": True or False, # Whether the current user has read access to the Team Drive to which this file belongs. Only populated for Team Drive files.
+ "canReadTeamDrive": True or False, # Whether the current user can read the Team Drive to which this file belongs. Only populated for Team Drive files.
"canAddChildren": True or False, # Whether the current user can add children to this folder. This is always false when the item is not a folder.
- "canEdit": True or False, # Whether the file can be edited by the current user.
- "canUntrash": True or False, # Whether the file can be restored from the trash by the current user.
+ "canEdit": True or False, # Whether the current user can edit this file.
+ "canUntrash": True or False, # Whether the current user can restore this file from trash.
},
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
"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.
@@ -239,7 +250,7 @@
"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.
"name": "A String", # The name for this permission.
- "teamDrivePermissionDetails": [ # Details of whether the Permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.
+ "teamDrivePermissionDetails": [ # Details of whether the permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.
{
"inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the Team Drive.
"role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
@@ -255,6 +266,7 @@
"inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
},
],
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
"kind": "drive#permission", # This is always drive#permission.
"value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
@@ -287,7 +299,7 @@
"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",
},
- "canReadRevisions": True or False, # Whether the current user has read access to the Revisions resource of the file. Deprecated: use capabilities/canReadRevisions.
+ "canReadRevisions": True or False, # Deprecated: use capabilities/canReadRevisions.
"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.
"exposureBias": 3.14, # The exposure bias of the photo (APEX value).
"exposureTime": 3.14, # The length of the exposure, in seconds.
@@ -322,9 +334,9 @@
"durationMillis": "A String", # The duration of the video in milliseconds.
"height": 42, # The height of the video in pixels.
},
- "editable": True or False, # Whether the file can be edited by the current user. Deprecated: use capabilities/canEdit.
+ "editable": True or False, # Deprecated: use capabilities/canEdit.
"kind": "drive#file", # The type of file. This is always drive#file.
- "canComment": True or False, # Whether the current user can comment on the file. Deprecated: use capabilities/canComment.
+ "canComment": True or False, # Deprecated: use capabilities/canComment.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"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).
@@ -360,7 +372,7 @@
"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.
"name": "A String", # The name for this permission.
- "teamDrivePermissionDetails": [ # Details of whether the Permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.
+ "teamDrivePermissionDetails": [ # Details of whether the permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.
{
"inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the Team Drive.
"role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
@@ -376,6 +388,7 @@
"inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
},
],
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
"kind": "drive#permission", # This is always drive#permission.
"value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
@@ -406,7 +419,7 @@
"spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
"A String",
],
- "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. Deprecated: use capabilities/canShare.
+ "shareable": True or False, # Deprecated: use capabilities/canShare.
"originalFilename": "A String", # The original filename of the uploaded content if available, or else the original value of the title field. This is only available for files with binary content in Drive.
"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.
"hasAugmentedPermissions": True or False, # Whether any users are granted file access directly on this file. This field is only populated for Team Drive files.
@@ -466,28 +479,38 @@
{ # Representation of a change to a file or Team Drive.
"teamDrive": { # Representation of a Team Drive. # The updated state of the Team Drive. Present if the type is teamDrive, the user is still a member of the Team Drive, and the Team Drive has not been deleted.
"kind": "drive#teamDrive", # This is always drive#teamDrive
- "id": "A String", # The ID of this Team Drive which is also the ID of the top level folder for this Team Drive.
+ "backgroundImageLink": "A String", # A short-lived link to this Team Drive's background image.
+ "name": "A String", # The name of this Team Drive.
+ "themeId": "A String", # The ID of the theme from which the background image and color will be set. The set of possible teamDriveThemes can be retrieved from a drive.about.get response. When not specified on a drive.teamdrives.insert request, a random theme is chosen from which the background image and color are set. This is a write-only field; it can only be set on requests that don't set colorRgb or backgroundImageFile.
+ "colorRgb": "A String", # The color of this Team Drive as an RGB hex string. It can only be set on a drive.teamdrives.update request that does not set themeId.
"capabilities": { # Capabilities the current user has on this Team Drive.
- "canReadRevisions": True or False, # Whether the current user has read access to the Revisions resource of files in this Team Drive.
- "canCopy": True or False, # Whether files in this Team Drive can be copied by the current user.
- "canRename": True or False, # Whether files or folders in this Team Drive can be renamed by the current user.
+ "canReadRevisions": True or False, # Whether the current user can read the revisions resource of files in this Team Drive.
+ "canCopy": True or False, # Whether the current user can copy files in this Team Drive.
+ "canRename": True or False, # Whether the current user can rename files or folders in this Team Drive.
"canListChildren": True or False, # Whether the current user can list the children of folders in this Team Drive.
"canShare": True or False, # Whether the current user can share files or folders in this Team Drive.
"canManageMembers": True or False, # Whether the current user can add members to this Team Drive or remove them or change their role.
- "canDownload": True or False, # Whether files in this Team Drive can be downloaded by the current user.
+ "canDownload": True or False, # Whether the current user can download files in this Team Drive.
"canComment": True or False, # Whether the current user can comment on files in this Team Drive.
- "canDeleteTeamDrive": True or False, # Whether this Team Drive can be deleted by the current user.
- "canRenameTeamDrive": True or False, # Whether this Team Drive can be renamed by the current user.
+ "canChangeTeamDriveBackground": True or False, # Whether the current user can change the background of this Team Drive.
+ "canDeleteTeamDrive": True or False, # Whether the current user can delete this Team Drive. Attempting to delete the Team Drive may still fail if there are untrashed items inside the Team Drive.
+ "canRenameTeamDrive": True or False, # Whether the current user can rename this Team Drive.
"canRemoveChildren": True or False, # Whether the current user can remove children from folders in this Team Drive.
"canAddChildren": True or False, # Whether the current user can add children to folders in this Team Drive.
- "canEdit": True or False, # Whether files in this Team Drive can be edited by the current user.
+ "canEdit": True or False, # Whether the current user can edit files in this Team Drive
},
- "name": "A String", # The name of this Team Drive.
+ "backgroundImageFile": { # An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field; it can only be set on drive.teamdrives.update requests that don't set themeId. When specified, all fields of the backgroundImageFile must be set.
+ "width": 3.14, # The width of the cropped image in the closed range of 0 to 1. This value represents the width of the cropped image divided by the width of the entire image. The height is computed by applying a width to height aspect ratio of 80 to 9. The resulting image must be at least 1280 pixels wide and 144 pixels high.
+ "yCoordinate": 3.14, # The Y coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the vertical distance from the top side of the entire image to the top side of the cropping area divided by the height of the entire image.
+ "id": "A String", # The ID of an image file in Drive to use for the background image.
+ "xCoordinate": 3.14, # The X coordinate of the upper left corner of the cropping area in the background image. This is a value in the closed range of 0 to 1. This value represents the horizontal distance from the left side of the entire image to the left side of the cropping area divided by the width of the entire image.
+ },
+ "id": "A String", # The ID of this Team Drive which is also the ID of the top level folder for this Team Drive.
},
"kind": "drive#change", # This is always drive#change.
"deleted": True or False, # Whether the file or Team Drive has been removed from this list of changes, for example by deletion or loss of access.
"file": { # The metadata for a file. # The updated state of the file. Present if the type is file and the file has not been removed from this list of changes.
- "hasThumbnail": True or False, # Whether this file has a thumbnail.
+ "hasThumbnail": True or False, # Whether this file has a thumbnail. This does not indicate whether the requesting app has access to the thumbnail. To check access, look for the presence of the thumbnailLink field.
"lastViewedByMeDate": "A String", # Last time this file was viewed by the user (formatted RFC 3339 timestamp).
"trashedDate": "A String", # The time that the item was trashed (formatted RFC 3339 timestamp). Only populated for Team Drive files.
"version": "A String", # A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the requesting user.
@@ -554,29 +577,30 @@
"isAuthenticatedUser": True or False, # Whether this user is the same as the authenticated user for whom the request was made.
"emailAddress": "A String", # The email address of the user.
},
- "copyable": True or False, # Whether the file can be copied by the current user. Deprecated: use capabilities/canCopy.
+ "copyable": True or False, # Deprecated: use capabilities/canCopy.
"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. Not populated for Team Drive files.
"markedViewedByMeDate": "A String", # Deprecated.
"ownerNames": [ # Name(s) of the owner(s) of this file. Not populated for Team Drive files.
"A String",
],
- "capabilities": { # Capabilities the current user has on the file. Each capability corresponds to a fine-grained action that a user may take.
- "canReadRevisions": True or False, # Whether the current user has read access to the Revisions resource of the file. For a Team Drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
- "canTrash": True or False, # Whether the file can be trashed by the current user.
- "canCopy": True or False, # Whether the file can be copied by the current user. For a Team Drive item, whether non-folder descendants of this item, or this item itself if it is not a folder, can be copied.
- "canShare": True or False, # Whether the file's sharing settings can be modified by the current user.
- "canDelete": True or False, # Whether the file can be deleted by the current user.
+ "capabilities": { # Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.
+ "canReadRevisions": True or False, # Whether the current user can read the revisions resource of this file. For a Team Drive item, whether revisions of non-folder descendants of this item, or this item itself if it is not a folder, can be read.
+ "canTrash": True or False, # Whether the current user can move this file to trash.
+ "canCopy": True or False, # Whether the current user can copy this file. For a Team Drive item, whether the current user can copy non-folder descendants of this item, or this item itself if it is not a folder.
+ "canShare": True or False, # Whether the current user can modify the sharing settings for this file.
+ "canDelete": True or False, # Whether the current user can delete this file.
"canMoveTeamDriveItem": True or False, # Whether the current user can move this Team Drive item by changing its parent. Note that a request to change the parent for this item may still fail depending on the new parent that is being added. Only populated for Team Drive files.
- "canRename": True or False, # Whether the file can be renamed by the current user.
+ "canRename": True or False, # Whether the current user can rename this file.
"canListChildren": True or False, # Whether the current user can list the children of this folder. This is always false when the item is not a folder.
+ "canChangeRestrictedDownload": True or False, # Whether the current user can change the restricted download label of this file.
"canMoveItemIntoTeamDrive": True or False, # Whether the current user can move this item into a Team Drive. If the item is in a Team Drive, this field is equivalent to canMoveTeamDriveItem.
- "canDownload": True or False, # Whether the file can be downloaded by the current user.
- "canComment": True or False, # Whether the current user can comment on the file.
+ "canDownload": True or False, # Whether the current user can download this file.
+ "canComment": True or False, # Whether the current user can comment on this file.
"canRemoveChildren": True or False, # Whether the current user can remove children from this folder. This is always false when the item is not a folder.
- "canReadTeamDrive": True or False, # Whether the current user has read access to the Team Drive to which this file belongs. Only populated for Team Drive files.
+ "canReadTeamDrive": True or False, # Whether the current user can read the Team Drive to which this file belongs. Only populated for Team Drive files.
"canAddChildren": True or False, # Whether the current user can add children to this folder. This is always false when the item is not a folder.
- "canEdit": True or False, # Whether the file can be edited by the current user.
- "canUntrash": True or False, # Whether the file can be restored from the trash by the current user.
+ "canEdit": True or False, # Whether the current user can edit this file.
+ "canUntrash": True or False, # Whether the current user can restore this file from trash.
},
"sharedWithMeDate": "A String", # Time at which this file was shared with the user (formatted RFC 3339 timestamp).
"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.
@@ -600,7 +624,7 @@
"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.
"name": "A String", # The name for this permission.
- "teamDrivePermissionDetails": [ # Details of whether the Permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.
+ "teamDrivePermissionDetails": [ # Details of whether the permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.
{
"inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the Team Drive.
"role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
@@ -616,6 +640,7 @@
"inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
},
],
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
"kind": "drive#permission", # This is always drive#permission.
"value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
@@ -648,7 +673,7 @@
"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",
},
- "canReadRevisions": True or False, # Whether the current user has read access to the Revisions resource of the file. Deprecated: use capabilities/canReadRevisions.
+ "canReadRevisions": True or False, # Deprecated: use capabilities/canReadRevisions.
"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.
"exposureBias": 3.14, # The exposure bias of the photo (APEX value).
"exposureTime": 3.14, # The length of the exposure, in seconds.
@@ -683,9 +708,9 @@
"durationMillis": "A String", # The duration of the video in milliseconds.
"height": 42, # The height of the video in pixels.
},
- "editable": True or False, # Whether the file can be edited by the current user. Deprecated: use capabilities/canEdit.
+ "editable": True or False, # Deprecated: use capabilities/canEdit.
"kind": "drive#file", # The type of file. This is always drive#file.
- "canComment": True or False, # Whether the current user can comment on the file. Deprecated: use capabilities/canComment.
+ "canComment": True or False, # Deprecated: use capabilities/canComment.
"quotaBytesUsed": "A String", # The number of quota bytes used by this file.
"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).
@@ -721,7 +746,7 @@
"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.
"name": "A String", # The name for this permission.
- "teamDrivePermissionDetails": [ # Details of whether the Permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.
+ "teamDrivePermissionDetails": [ # Details of whether the permissions on this Team Drive item are inherited or directly on this item. This is an output-only field which is present only for Team Drive items.
{
"inheritedFrom": "A String", # The ID of the item from which this permission is inherited. This is an output-only field and is only populated for members of the Team Drive.
"role": "A String", # The primary role for this user. While new values may be added in the future, the following are currently possible:
@@ -737,6 +762,7 @@
"inherited": True or False, # Whether this permission is inherited. This field is always populated. This is an output-only field.
},
],
+ "deleted": True or False, # Whether the account associated with this permission has been deleted. This field only pertains to user and group permissions.
"kind": "drive#permission", # This is always drive#permission.
"value": "A String", # The email address or domain name for the entity. This is used during inserts and is not populated in responses. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
"id": "A String", # The ID of the user this permission refers to, and identical to the permissionId in the About and Files resources. When making a drive.permissions.insert request, exactly one of the id or value fields must be specified unless the permission type is anyone, in which case both id and value are ignored.
@@ -767,7 +793,7 @@
"spaces": [ # The list of spaces which contain the file. Supported values are 'drive', 'appDataFolder' and 'photos'.
"A String",
],
- "shareable": True or False, # Whether the file's sharing settings can be modified by the current user. Deprecated: use capabilities/canShare.
+ "shareable": True or False, # Deprecated: use capabilities/canShare.
"originalFilename": "A String", # The original filename of the uploaded content if available, or else the original value of the title field. This is only available for files with binary content in Drive.
"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.
"hasAugmentedPermissions": True or False, # Whether any users are granted file access directly on this file. This field is only populated for Team Drive files.