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

Unified Diff: generated/googleapis/lib/drive/v3.dart

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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 | « generated/googleapis/lib/drive/v2.dart ('k') | generated/googleapis/lib/firebasedynamiclinks/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/drive/v3.dart
diff --git a/generated/googleapis/lib/drive/v3.dart b/generated/googleapis/lib/drive/v3.dart
index 1185d3c14387dcfb3ab2ffd83679cc3a9e16f697..b2069093b7c92ebba0199581aa0d4b4423b1ecb6 100644
--- a/generated/googleapis/lib/drive/v3.dart
+++ b/generated/googleapis/lib/drive/v3.dart
@@ -1893,6 +1893,7 @@ class RevisionsResourceApi {
* [fileId] - The ID of the file.
*
* [pageSize] - The maximum number of revisions to return per page.
+ * Value must be between "1" and "1000".
*
* [pageToken] - The token for continuing a previous list request on the next
* page. This should be set to the value of 'nextPageToken' from the previous
@@ -3016,6 +3017,8 @@ class File {
* not cleared if the new name does not contain a valid extension.
*/
core.String fullFileExtension;
+ /** Whether this file has a thumbnail. */
+ core.bool hasThumbnail;
/**
* The ID of the file's head revision. This is currently only available for
* files with binary content in Drive.
@@ -3121,10 +3124,16 @@ class File {
core.bool starred;
/**
* A short-lived link to the file's thumbnail, if available. Typically lasts
- * on the order of hours.
+ * on the order of hours. Only populated when the requesting app can access
+ * the file's content.
*/
core.String thumbnailLink;
/**
+ * The thumbnail version for use in client-contructable thumbnail URLs or
+ * thumbnail cache invalidation.
+ */
+ core.String thumbnailVersion;
+ /**
* Whether the file has been trashed, either explicitly or from a trashed
* parent folder. Only the owner may trash a file, and other users cannot see
* files in the owner's trash.
@@ -3195,6 +3204,9 @@ class File {
if (_json.containsKey("fullFileExtension")) {
fullFileExtension = _json["fullFileExtension"];
}
+ if (_json.containsKey("hasThumbnail")) {
+ hasThumbnail = _json["hasThumbnail"];
+ }
if (_json.containsKey("headRevisionId")) {
headRevisionId = _json["headRevisionId"];
}
@@ -3276,6 +3288,9 @@ class File {
if (_json.containsKey("thumbnailLink")) {
thumbnailLink = _json["thumbnailLink"];
}
+ if (_json.containsKey("thumbnailVersion")) {
+ thumbnailVersion = _json["thumbnailVersion"];
+ }
if (_json.containsKey("trashed")) {
trashed = _json["trashed"];
}
@@ -3334,6 +3349,9 @@ class File {
if (fullFileExtension != null) {
_json["fullFileExtension"] = fullFileExtension;
}
+ if (hasThumbnail != null) {
+ _json["hasThumbnail"] = hasThumbnail;
+ }
if (headRevisionId != null) {
_json["headRevisionId"] = headRevisionId;
}
@@ -3415,6 +3433,9 @@ class File {
if (thumbnailLink != null) {
_json["thumbnailLink"] = thumbnailLink;
}
+ if (thumbnailVersion != null) {
+ _json["thumbnailVersion"] = thumbnailVersion;
+ }
if (trashed != null) {
_json["trashed"] = trashed;
}
« no previous file with comments | « generated/googleapis/lib/drive/v2.dart ('k') | generated/googleapis/lib/firebasedynamiclinks/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698