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

Unified Diff: google_apis/test/data/drive/changelist.json

Issue 2748053005: Parse TeamDrive resource inside ChangeList. (Closed)
Patch Set: rebase Created 3 years, 9 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
Index: google_apis/test/data/drive/changelist.json
diff --git a/google_apis/test/data/drive/changelist.json b/google_apis/test/data/drive/changelist.json
index 1f177851749fa444ca59c637321c2ad11c19ecd5..a63fc39f5667fc201a78e1894e475ad7664da496 100644
--- a/google_apis/test/data/drive/changelist.json
+++ b/google_apis/test/data/drive/changelist.json
@@ -9,6 +9,7 @@
{
"kind": "drive#change",
"id": "8421",
+ "type": "file",
"fileId": "1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC",
"selfLink": "https://www.googleapis.com/drive/v2/changes/8421",
"deleted": false,
@@ -69,6 +70,7 @@
{
"kind": "drive#change",
"id": "8424",
+ "type": "file",
"fileId": "0B4v7G8yEYAWHUmRrU2lMS2hLABC",
"selfLink": "https://www.googleapis.com/drive/v2/changes/8424",
"deleted": false,
@@ -128,6 +130,7 @@
{
"kind": "drive#change",
"id": "8429",
+ "type": "file",
"fileId": "0B4v7G8yEYAWHYW1OcExsUVZLABC",
"selfLink": "https://www.googleapis.com/drive/v2/changes/8429",
"deleted": false,
@@ -181,10 +184,40 @@
{
"kind": "drive#change",
"id": "8430",
+ "type": "file",
"fileId": "ABCv7G8yEYAWHc3Y5X0hMSkJYXYZ",
"selfLink": "https://www.googleapis.com/drive/v2/changes/16429",
"deleted": true,
"modificationDate": "2012-07-27T12:34:56.789Z"
+ },
+ {
+ "teamDrive": {
+ "kind": "drive#teamDrive",
+ "id": "id-of-team-drive-test-data",
+ "name": "Test Team Drive",
+ "capabilities": {
+ "canAddChildren": true,
+ "canComment": true,
+ "canCopy": true,
+ "canDeleteTeamDrive": true,
+ "canDownload": true,
+ "canEdit": true,
+ "canListChildren": true,
+ "canManageMembers": true,
+ "canReadRevisions": true,
+ "canRemoveChildren": true,
+ "canRename": true,
+ "canRenameTeamDrive": true,
+ "canShare": true
+ }
+ },
+ "kind": "drive#change",
+ "id": "8431",
+ "type": "teamDrive",
+ "deleted": false,
+ "modificationDate": "2017-07-27T12:34:56.789Z",
+ "teamDriveId": "id-of-team-drive-test-data",
+ "selfLink": "https://www.googleapis.com/drive/v2/changes/8431"
}
]
}

Powered by Google App Engine
This is Rietveld 408576698