Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(498)

Unified Diff: discovery/googleapis/drive__v2.json

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/doubleclicksearch__v2.json ('k') | discovery/googleapis/drive__v3.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/drive__v2.json
diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json
index 17a27e3b2044a3a9961bcf651e3f09472cec35c5..08ecbcd0f9a734642cac76a0a85eb649e4f66ba2 100644
--- a/discovery/googleapis/drive__v2.json
+++ b/discovery/googleapis/drive__v2.json
@@ -38,7 +38,7 @@
"description": "Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions.",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/drive/",
- "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/k95lUH_zhTckcacGeDVZVmgaiTM\"",
+ "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/EbtNcB6XTkXxPp1AxlMf5BZZggs\"",
"icons": {
"x16": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_16.png",
"x32": "https://ssl.gstatic.com/docs/doclist/images/drive_icon_32.png"
@@ -1216,7 +1216,7 @@
},
"maxResults": {
"default": "100",
- "description": "Maximum number of files to return.",
+ "description": "The maximum number of files to return per page. Partial or empty result pages are possible even before the end of the files list has been reached.",
"format": "int32",
"location": "query",
"minimum": "0",
@@ -3019,7 +3019,7 @@
}
}
},
- "revision": "20170320",
+ "revision": "20170406",
"rootUrl": "https://www.googleapis.com/",
"schemas": {
"About": {
@@ -3231,6 +3231,27 @@
"description": "A link back to this item.",
"type": "string"
},
+ "teamDriveThemes": {
+ "description": "A list of themes that are supported for Team Drives.",
+ "items": {
+ "properties": {
+ "backgroundImageLink": {
+ "description": "A link to this Team Drive theme's background image.",
+ "type": "string"
+ },
+ "colorRgb": {
+ "description": "The color of this Team Drive theme as an RGB hex string.",
+ "type": "string"
+ },
+ "id": {
+ "description": "The ID of the theme.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
"user": {
"$ref": "User",
"description": "The authenticated user."
@@ -3832,38 +3853,38 @@
"type": "boolean"
},
"canComment": {
- "description": "Whether the current user can comment on the file. Deprecated: use capabilities/canComment.",
+ "description": "Deprecated: use capabilities/canComment.",
"type": "boolean"
},
"canReadRevisions": {
- "description": "Whether the current user has read access to the Revisions resource of the file. Deprecated: use capabilities/canReadRevisions.",
+ "description": "Deprecated: use capabilities/canReadRevisions.",
"type": "boolean"
},
"capabilities": {
- "description": "Capabilities the current user has on the file. Each capability corresponds to a fine-grained action that a user may take.",
+ "description": "Capabilities the current user has on this file. Each capability corresponds to a fine-grained action that a user may take.",
"properties": {
"canAddChildren": {
"description": "Whether the current user can add children to this folder. This is always false when the item is not a folder.",
"type": "boolean"
},
"canComment": {
- "description": "Whether the current user can comment on the file.",
+ "description": "Whether the current user can comment on this file.",
"type": "boolean"
},
"canCopy": {
- "description": "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.",
+ "description": "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.",
"type": "boolean"
},
"canDelete": {
- "description": "Whether the file can be deleted by the current user.",
+ "description": "Whether the current user can delete this file.",
"type": "boolean"
},
"canDownload": {
- "description": "Whether the file can be downloaded by the current user.",
+ "description": "Whether the current user can download this file.",
"type": "boolean"
},
"canEdit": {
- "description": "Whether the file can be edited by the current user.",
+ "description": "Whether the current user can edit this file.",
"type": "boolean"
},
"canListChildren": {
@@ -3879,11 +3900,11 @@
"type": "boolean"
},
"canReadRevisions": {
- "description": "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.",
+ "description": "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.",
"type": "boolean"
},
"canReadTeamDrive": {
- "description": "Whether the current user has read access to the Team Drive to which this file belongs. Only populated for Team Drive files.",
+ "description": "Whether the current user can read the Team Drive to which this file belongs. Only populated for Team Drive files.",
"type": "boolean"
},
"canRemoveChildren": {
@@ -3891,26 +3912,26 @@
"type": "boolean"
},
"canRename": {
- "description": "Whether the file can be renamed by the current user.",
+ "description": "Whether the current user can rename this file.",
"type": "boolean"
},
"canShare": {
- "description": "Whether the file's sharing settings can be modified by the current user.",
+ "description": "Whether the current user can modify the sharing settings for this file.",
"type": "boolean"
},
"canTrash": {
- "description": "Whether the file can be trashed by the current user.",
+ "description": "Whether the current user can move this file to trash.",
"type": "boolean"
},
"canUntrash": {
- "description": "Whether the file can be restored from the trash by the current user.",
+ "description": "Whether the current user can restore this file from trash.",
"type": "boolean"
}
},
"type": "object"
},
"copyable": {
- "description": "Whether the file can be copied by the current user. Deprecated: use capabilities/canCopy.",
+ "description": "Deprecated: use capabilities/canCopy.",
"type": "boolean"
},
"createdDate": {
@@ -3930,7 +3951,7 @@
"type": "string"
},
"editable": {
- "description": "Whether the file can be edited by the current user. Deprecated: use capabilities/canEdit.",
+ "description": "Deprecated: use capabilities/canEdit.",
"type": "boolean"
},
"embedLink": {
@@ -4252,7 +4273,7 @@
"type": "string"
},
"shareable": {
- "description": "Whether the file's sharing settings can be modified by the current user. Deprecated: use capabilities/canShare.",
+ "description": "Deprecated: use capabilities/canShare.",
"type": "boolean"
},
"shared": {
@@ -4498,6 +4519,10 @@
"description": "The authkey parameter required for this permission.",
"type": "string"
},
+ "deleted": {
+ "description": "Whether the account of the permission has been deleted. This field only pertains to user and group permissions.",
+ "type": "boolean"
+ },
"domain": {
"description": "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.",
"type": "string"
@@ -4546,7 +4571,7 @@
"type": "string"
},
"teamDrivePermissionDetails": {
- "description": "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.",
+ "description": "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.",
"items": {
"properties": {
"additionalRoles": {
@@ -4839,6 +4864,35 @@
"description": "Representation of a Team Drive.",
"id": "TeamDrive",
"properties": {
+ "backgroundImageFile": {
+ "description": "An image file and cropping parameters from which a background image for this Team Drive is set. This is a write only field that can only be set on a drive.teamdrives.update request that does not set themeId. When specified, all fields of the backgroundImageFile must be set.",
+ "properties": {
+ "id": {
+ "description": "The ID of an image file in Drive to use for the background image.",
+ "type": "string"
+ },
+ "width": {
+ "description": "The width of the cropped image in the closed range of 0 to 1, which is 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.",
+ "format": "float",
+ "type": "number"
+ },
+ "xCoordinate": {
+ "description": "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 which is 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.",
+ "format": "float",
+ "type": "number"
+ },
+ "yCoordinate": {
+ "description": "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 which is 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.",
+ "format": "float",
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "backgroundImageLink": {
+ "description": "A short-lived link to this Team Drive's background image.",
+ "type": "string"
+ },
"capabilities": {
"description": "Capabilities the current user has on this Team Drive.",
"properties": {
@@ -4846,24 +4900,28 @@
"description": "Whether the current user can add children to folders in this Team Drive.",
"type": "boolean"
},
+ "canChangeTeamDriveBackground": {
+ "description": "Whether the current user can change the background of this Team Drive.",
+ "type": "boolean"
+ },
"canComment": {
"description": "Whether the current user can comment on files in this Team Drive.",
"type": "boolean"
},
"canCopy": {
- "description": "Whether files in this Team Drive can be copied by the current user.",
+ "description": "Whether the current user can copy files in this Team Drive.",
"type": "boolean"
},
"canDeleteTeamDrive": {
- "description": "Whether this Team Drive can be deleted by the current user.",
+ "description": "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.",
"type": "boolean"
},
"canDownload": {
- "description": "Whether files in this Team Drive can be downloaded by the current user.",
+ "description": "Whether the current user can download files in this Team Drive.",
"type": "boolean"
},
"canEdit": {
- "description": "Whether files in this Team Drive can be edited by the current user.",
+ "description": "Whether the current user can edit files in this Team Drive",
"type": "boolean"
},
"canListChildren": {
@@ -4875,7 +4933,7 @@
"type": "boolean"
},
"canReadRevisions": {
- "description": "Whether the current user has read access to the Revisions resource of files in this Team Drive.",
+ "description": "Whether the current user can read the revisions resource of files in this Team Drive.",
"type": "boolean"
},
"canRemoveChildren": {
@@ -4883,11 +4941,11 @@
"type": "boolean"
},
"canRename": {
- "description": "Whether files or folders in this Team Drive can be renamed by the current user.",
+ "description": "Whether the current user can rename files or folders in this Team Drive.",
"type": "boolean"
},
"canRenameTeamDrive": {
- "description": "Whether this Team Drive can be renamed by the current user.",
+ "description": "Whether the current user can rename this Team Drive.",
"type": "boolean"
},
"canShare": {
@@ -4897,6 +4955,10 @@
},
"type": "object"
},
+ "colorRgb": {
+ "description": "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.",
+ "type": "string"
+ },
"id": {
"description": "The ID of this Team Drive which is also the ID of the top level folder for this Team Drive.",
"type": "string"
@@ -4909,6 +4971,10 @@
"name": {
"description": "The name of this Team Drive.",
"type": "string"
+ },
+ "themeId": {
+ "description": "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 that can only be set on a request that does not set colorRgb or backgroundImageFile.",
+ "type": "string"
}
},
"type": "object"
« no previous file with comments | « discovery/googleapis/doubleclicksearch__v2.json ('k') | discovery/googleapis/drive__v3.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698