Index: discovery/googleapis/drive__v2.json |
diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json |
index 623844eaa7dafa1252540e1ae4e3200c80aa862c..1267002244ba3ab683967c60adbbc246e2f63130 100644 |
--- a/discovery/googleapis/drive__v2.json |
+++ b/discovery/googleapis/drive__v2.json |
@@ -3,7 +3,7 @@ |
"oauth2": { |
"scopes": { |
"https://www.googleapis.com/auth/drive": { |
- "description": "View and manage the files and documents in your Google Drive" |
+ "description": "View and manage the files in your Google Drive" |
}, |
"https://www.googleapis.com/auth/drive.appdata": { |
"description": "View and manage its own configuration data in your Google Drive" |
@@ -15,10 +15,10 @@ |
"description": "View and manage Google Drive files that you have opened or created with this app" |
}, |
"https://www.googleapis.com/auth/drive.metadata.readonly": { |
- "description": "View metadata for files and documents in your Google Drive" |
+ "description": "View metadata for files in your Google Drive" |
}, |
"https://www.googleapis.com/auth/drive.readonly": { |
- "description": "View the files and documents in your Google Drive" |
+ "description": "View the files in your Google Drive" |
}, |
"https://www.googleapis.com/auth/drive.scripts": { |
"description": "Modify your Google Apps Script scripts' behavior" |
@@ -32,7 +32,7 @@ |
"description": "The API to interact with Drive.", |
"discoveryVersion": "v1", |
"documentationLink": "https://developers.google.com/drive/", |
- "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Fb0QHMZPT5INJMfkTyQs00f1EOI\"", |
+ "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/yUsYaOTyEAvpk-uZ9U5lffkz2VU\"", |
"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" |
@@ -787,7 +787,7 @@ |
] |
}, |
"delete": { |
- "description": "Permanently deletes a file by ID. Skips the trash.", |
+ "description": "Permanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file.", |
"httpMethod": "DELETE", |
"id": "drive.files.delete", |
"parameterOrder": [ |
@@ -827,7 +827,7 @@ |
"parameters": { |
"acknowledgeAbuse": { |
"default": "false", |
- "description": "Whether the user is acknowledging the risk of downloading known malware or other abusive files.", |
+ "description": "Whether the user is acknowledging the risk of downloading known malware or other abusive files. Ignored unless alt=media is specified.", |
"location": "query", |
"type": "boolean" |
}, |
@@ -850,6 +850,11 @@ |
"location": "query", |
"type": "string" |
}, |
+ "revisionId": { |
+ "description": "Specifies the Revision ID that should be downloaded. Ignored unless alt=media is specified.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"updateViewedDate": { |
"default": "false", |
"description": "Whether to update the view date after successfully retrieving the file.", |
@@ -1325,7 +1330,7 @@ |
"parameters": { |
"acknowledgeAbuse": { |
"default": "false", |
- "description": "Whether the user is acknowledging the risk of downloading known malware or other abusive files.", |
+ "description": "Whether the user is acknowledging the risk of downloading known malware or other abusive files. Ignored unless alt=media is specified.", |
"location": "query", |
"type": "boolean" |
}, |
@@ -1348,6 +1353,11 @@ |
"location": "query", |
"type": "string" |
}, |
+ "revisionId": { |
+ "description": "Specifies the Revision ID that should be downloaded. Ignored unless alt=media is specified.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"updateViewedDate": { |
"default": "false", |
"description": "Whether to update the view date after successfully retrieving the file.", |
@@ -1675,7 +1685,7 @@ |
}, |
"transferOwnership": { |
"default": "false", |
- "description": "Whether changing a role to 'owner' should also downgrade the current owners to writers.", |
+ "description": "Whether changing a role to 'owner' downgrades the current owners to writers. Does nothing if the specified role is not 'owner'.", |
"location": "query", |
"type": "boolean" |
} |
@@ -1715,7 +1725,7 @@ |
}, |
"transferOwnership": { |
"default": "false", |
- "description": "Whether changing a role to 'owner' should also downgrade the current owners to writers.", |
+ "description": "Whether changing a role to 'owner' downgrades the current owners to writers. Does nothing if the specified role is not 'owner'.", |
"location": "query", |
"type": "boolean" |
} |
@@ -2444,7 +2454,7 @@ |
} |
} |
}, |
- "revision": "20150108", |
+ "revision": "20150326", |
"rootUrl": "https://www.googleapis.com/", |
"schemas": { |
"About": { |
@@ -2731,7 +2741,7 @@ |
"type": "string" |
}, |
"openUrlTemplate": { |
- "description": "The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the actual file ids.", |
+ "description": "The template url for opening files with this app. The template will contain {ids} and/or {exportIds} to be replaced by the actual file ids. See Open Files for the full documentation.", |
"type": "string" |
}, |
"primaryFileExtensions": { |
@@ -3458,7 +3468,7 @@ |
"type": "boolean" |
}, |
"trashed": { |
- "description": "Whether this file has been trashed.", |
+ "description": "Whether this file has been trashed. This label applies to all users accessing the file; however, only owners are allowed to see and untrash files.", |
"type": "boolean" |
}, |
"viewed": { |
@@ -3576,7 +3586,7 @@ |
"description": "Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.", |
"properties": { |
"image": { |
- "description": "The URL-safe Base64 encoded bytes of the thumbnail image.", |
+ "description": "The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.", |
"format": "byte", |
"type": "string" |
}, |
@@ -3588,7 +3598,7 @@ |
"type": "object" |
}, |
"thumbnailLink": { |
- "description": "A link to the file's thumbnail.", |
+ "description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours.", |
"type": "string" |
}, |
"title": { |
@@ -3856,7 +3866,7 @@ |
"type": "object" |
}, |
"Property": { |
- "description": "A key-value pair that is either public or private to an application.", |
+ "description": "A key-value pair attached to a file that is either public or private to an application.\nThe following limits apply to file properties: \n- Maximum of 100 properties total per file\n- Maximum of 30 private properties per app\n- Maximum of 30 public properties\n- Maximum of 124 bytes size limit on (key + value) string in UTF-8 encoding for a single property.", |
"id": "Property", |
"properties": { |
"etag": { |
@@ -4069,4 +4079,4 @@ |
"servicePath": "drive/v2/", |
"title": "Drive API", |
"version": "v2" |
-} |
+} |