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

Side by Side Diff: google_apis/test/data/drive/changelist.json

Issue 2748053005: Parse TeamDrive resource inside ChangeList. (Closed)
Patch Set: Default the type field to UNKNOWN as it's not causing new test failures. 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 unified diff | Download patch
« no previous file with comments | « google_apis/drive/drive_api_parser_unittest.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "kind": "drive#changeList", 2 "kind": "drive#changeList",
3 "etag": "\"Lp2bjAtLP341hvGmYHhxjYyBPJ8/BWbu_eylt5f_aGtCN6mGRv9hABC\"", 3 "etag": "\"Lp2bjAtLP341hvGmYHhxjYyBPJ8/BWbu_eylt5f_aGtCN6mGRv9hABC\"",
4 "selfLink": "https://www.googleapis.com/drive/v2/changes", 4 "selfLink": "https://www.googleapis.com/drive/v2/changes",
5 "nextPageToken": "8929", 5 "nextPageToken": "8929",
6 "nextLink": "https://www.googleapis.com/drive/v2/changes?pageToken=8929", 6 "nextLink": "https://www.googleapis.com/drive/v2/changes?pageToken=8929",
7 "largestChangeId": "13664", 7 "largestChangeId": "13664",
8 "items": [ 8 "items": [
9 { 9 {
10 "kind": "drive#change", 10 "kind": "drive#change",
11 "id": "8421", 11 "id": "8421",
12 "type": "file",
12 "fileId": "1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC", 13 "fileId": "1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC",
13 "selfLink": "https://www.googleapis.com/drive/v2/changes/8421", 14 "selfLink": "https://www.googleapis.com/drive/v2/changes/8421",
14 "deleted": false, 15 "deleted": false,
15 "file": { 16 "file": {
16 "kind": "drive#file", 17 "kind": "drive#file",
17 "id": "1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC", 18 "id": "1Pc8jzfU1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC",
18 "etag": "\"Lp2bjAtLP341hvGmYHhxjYyBPJ8/MTM0MzM2NDg1MTAABC\"", 19 "etag": "\"Lp2bjAtLP341hvGmYHhxjYyBPJ8/MTM0MzM2NDg1MTAABC\"",
19 "selfLink": "https://www.googleapis.com/drive/v2/files/1Pc8jzfU1ErbN_eucMMqd qzY3eBm0v8sxXm_1CtLxABC", 20 "selfLink": "https://www.googleapis.com/drive/v2/files/1Pc8jzfU1ErbN_eucMMqd qzY3eBm0v8sxXm_1CtLxABC",
20 "alternateLink": "https://docs.google.com/a/chromium.org/document/d/1Pc8jzfU 1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC/edit", 21 "alternateLink": "https://docs.google.com/a/chromium.org/document/d/1Pc8jzfU 1ErbN_eucMMqdqzY3eBm0v8sxXm_1CtLxABC/edit",
21 "embedLink": "https://docs.google.com/a/chromium.org/document/d/1Pc8jzfU1Erb N_eucMMqdqzY3eBm0v8sxXm_1CtLxABC/preview", 22 "embedLink": "https://docs.google.com/a/chromium.org/document/d/1Pc8jzfU1Erb N_eucMMqdqzY3eBm0v8sxXm_1CtLxABC/preview",
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 "lastModifyingUserName": "Test User", 63 "lastModifyingUserName": "Test User",
63 "editable": true, 64 "editable": true,
64 "shared": false, 65 "shared": false,
65 "writersCanShare": true 66 "writersCanShare": true
66 }, 67 },
67 "modificationDate": "2012-07-27T04:54:11.030Z" 68 "modificationDate": "2012-07-27T04:54:11.030Z"
68 }, 69 },
69 { 70 {
70 "kind": "drive#change", 71 "kind": "drive#change",
71 "id": "8424", 72 "id": "8424",
73 "type": "file",
72 "fileId": "0B4v7G8yEYAWHUmRrU2lMS2hLABC", 74 "fileId": "0B4v7G8yEYAWHUmRrU2lMS2hLABC",
73 "selfLink": "https://www.googleapis.com/drive/v2/changes/8424", 75 "selfLink": "https://www.googleapis.com/drive/v2/changes/8424",
74 "deleted": false, 76 "deleted": false,
75 "file": { 77 "file": {
76 "kind": "drive#file", 78 "kind": "drive#file",
77 "id": "0B4v7G8yEYAWHUmRrU2lMS2hLABC", 79 "id": "0B4v7G8yEYAWHUmRrU2lMS2hLABC",
78 "etag": "\"Lp2bjAtLP341hvGmYHhxjYyBPJ8/MTM0MzM2NzgwMDIABC\"", 80 "etag": "\"Lp2bjAtLP341hvGmYHhxjYyBPJ8/MTM0MzM2NzgwMDIABC\"",
79 "selfLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHUmRrU2lM S2hLABC", 81 "selfLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHUmRrU2lM S2hLABC",
80 "webContentLink": "https://docs.google.com/a/chromium.org/uc?id=0B4v7G8yEYAW HUmRrU2lMS2hLABC&export=download", 82 "webContentLink": "https://docs.google.com/a/chromium.org/uc?id=0B4v7G8yEYAW HUmRrU2lMS2hLABC&export=download",
81 "alternateLink": "https://docs.google.com/a/chromium.org/file/d/0B4v7G8yEYAW HUmRrU2lMS2hLABC/edit", 83 "alternateLink": "https://docs.google.com/a/chromium.org/file/d/0B4v7G8yEYAW HUmRrU2lMS2hLABC/edit",
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 "lastModifyingUserName": "Takayoshi Kochi", 123 "lastModifyingUserName": "Takayoshi Kochi",
122 "editable": true, 124 "editable": true,
123 "shared": true, 125 "shared": true,
124 "writersCanShare": true 126 "writersCanShare": true
125 }, 127 },
126 "modificationDate": "2012-07-27T05:43:20.269Z" 128 "modificationDate": "2012-07-27T05:43:20.269Z"
127 }, 129 },
128 { 130 {
129 "kind": "drive#change", 131 "kind": "drive#change",
130 "id": "8429", 132 "id": "8429",
133 "type": "file",
131 "fileId": "0B4v7G8yEYAWHYW1OcExsUVZLABC", 134 "fileId": "0B4v7G8yEYAWHYW1OcExsUVZLABC",
132 "selfLink": "https://www.googleapis.com/drive/v2/changes/8429", 135 "selfLink": "https://www.googleapis.com/drive/v2/changes/8429",
133 "deleted": false, 136 "deleted": false,
134 "file": { 137 "file": {
135 "kind": "drive#file", 138 "kind": "drive#file",
136 "id": "0B4v7G8yEYAWHYW1OcExsUVZLABC", 139 "id": "0B4v7G8yEYAWHYW1OcExsUVZLABC",
137 "etag": "\"Lp2bjAtLP341hvGmYHhxjYyBPJ8/MTM0MzM2NDE5ODUABC\"", 140 "etag": "\"Lp2bjAtLP341hvGmYHhxjYyBPJ8/MTM0MzM2NDE5ODUABC\"",
138 "selfLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHYW1OcExs UVZLABC", 141 "selfLink": "https://www.googleapis.com/drive/v2/files/0B4v7G8yEYAWHYW1OcExs UVZLABC",
139 "alternateLink": "https://docs.google.com/a/chromium.org/folder/d/0B4v7G8yEY AWHYW1OcExsUVZLABC/edit", 142 "alternateLink": "https://docs.google.com/a/chromium.org/folder/d/0B4v7G8yEY AWHYW1OcExsUVZLABC/edit",
140 "title": "TestFolder", 143 "title": "TestFolder",
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 "lastModifyingUserName": "Test User", 177 "lastModifyingUserName": "Test User",
175 "editable": true, 178 "editable": true,
176 "shared": false, 179 "shared": false,
177 "writersCanShare": true 180 "writersCanShare": true
178 }, 181 },
179 "modificationDate": "2012-07-27T04:43:18.507Z" 182 "modificationDate": "2012-07-27T04:43:18.507Z"
180 }, 183 },
181 { 184 {
182 "kind": "drive#change", 185 "kind": "drive#change",
183 "id": "8430", 186 "id": "8430",
187 "type": "file",
184 "fileId": "ABCv7G8yEYAWHc3Y5X0hMSkJYXYZ", 188 "fileId": "ABCv7G8yEYAWHc3Y5X0hMSkJYXYZ",
185 "selfLink": "https://www.googleapis.com/drive/v2/changes/16429", 189 "selfLink": "https://www.googleapis.com/drive/v2/changes/16429",
186 "deleted": true, 190 "deleted": true,
187 "modificationDate": "2012-07-27T12:34:56.789Z" 191 "modificationDate": "2012-07-27T12:34:56.789Z"
192 },
193 {
194 "teamDrive": {
195 "kind": "drive#teamDrive",
196 "id": "id-of-team-drive-test-data",
197 "name": "Test Team Drive",
198 "capabilities": {
199 "canShare": true
200 }
201 },
202 "kind": "drive#change",
203 "id": "8431",
204 "type": "teamDrive",
205 "deleted": false,
206 "modificationDate": "2017-07-27T12:34:56.789Z",
207 "teamDriveId": "id-of-team-drive-test-data",
208 "selfLink": "https://www.googleapis.com/drive/v2/changes/8431"
188 } 209 }
189 ] 210 ]
190 } 211 }
OLDNEW
« no previous file with comments | « google_apis/drive/drive_api_parser_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698