Index: discovery/googleapis/drive__v2.json |
diff --git a/discovery/googleapis/drive__v2.json b/discovery/googleapis/drive__v2.json |
index 3a03c3aee5f1423e0e9471878c1cc53220d821bb..32c2481a9cfd8a4e1c33cd4830d20f48c56e4c00 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": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/qrYsvJ0sVCZdzpl7hbEwTmDDCNM\"", |
+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/y_a-CqNzWjAnaHC0v3451Z9D_8M\"", |
"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" |
@@ -2557,9 +2557,11 @@ |
"type": "string" |
}, |
"maxResults": { |
+ "default": "200", |
"description": "Maximum number of revisions to return.", |
"format": "int32", |
"location": "query", |
+ "maximum": "1000", |
"minimum": "1", |
"type": "integer" |
}, |
@@ -2656,7 +2658,7 @@ |
} |
} |
}, |
- "revision": "20161027", |
+ "revision": "20161201", |
"rootUrl": "https://www.googleapis.com/", |
"schemas": { |
"About": { |
@@ -3521,6 +3523,10 @@ |
"description": "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.", |
"type": "string" |
}, |
+ "hasThumbnail": { |
+ "description": "Whether this file has a thumbnail.", |
+ "type": "boolean" |
+ }, |
"headRevisionId": { |
"description": "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.", |
"type": "string" |
@@ -3819,7 +3825,7 @@ |
"type": "array" |
}, |
"thumbnail": { |
- "description": "Thumbnail for the file. Only accepted on upload and for files that are not already thumbnailed by Google.", |
+ "description": "A thumbnail for the file. This will only be used if Drive cannot generate a standard thumbnail.", |
"properties": { |
"image": { |
"description": "The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.", |
@@ -3834,7 +3840,12 @@ |
"type": "object" |
}, |
"thumbnailLink": { |
- "description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours.", |
+ "description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours. Only populated when the requesting app can access the file's content.", |
+ "type": "string" |
+ }, |
+ "thumbnailVersion": { |
+ "description": "The thumbnail version for use in client-contructable thumbnail URLs or thumbnail cache invalidation.", |
+ "format": "int64", |
"type": "string" |
}, |
"title": { |
@@ -4037,7 +4048,7 @@ |
"type": "string" |
}, |
"id": { |
- "description": "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 anyone, in which case both id and value are ignored.", |
+ "description": "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.", |
"type": "string" |
}, |
"kind": { |
@@ -4076,7 +4087,7 @@ |
"type": "string" |
}, |
"value": { |
- "description": "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 anyone, in which case both id and value are ignored.", |
+ "description": "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.", |
"type": "string" |
}, |
"withLink": { |