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

Side by Side Diff: generated/googleapis/lib/drive/v2.dart

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis.drive.v2; 3 library googleapis.drive.v2;
4 4
5 import 'dart:core' as core; 5 import 'dart:core' as core;
6 import 'dart:async' as async; 6 import 'dart:async' as async;
7 import 'dart:convert' as convert_1; 7 import 'dart:convert' as convert_1;
8 8
9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons; 9 import 'package:_discoveryapis_commons/_discoveryapis_commons.dart' as commons;
10 import 'package:http/http.dart' as http; 10 import 'package:http/http.dart' as http;
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 "GET", 281 "GET",
282 body: _body, 282 body: _body,
283 queryParams: _queryParams, 283 queryParams: _queryParams,
284 uploadOptions: _uploadOptions, 284 uploadOptions: _uploadOptions,
285 uploadMedia: _uploadMedia, 285 uploadMedia: _uploadMedia,
286 downloadOptions: _downloadOptions); 286 downloadOptions: _downloadOptions);
287 return _response.then((data) => new Change.fromJson(data)); 287 return _response.then((data) => new Change.fromJson(data));
288 } 288 }
289 289
290 /** 290 /**
291 * Gets the starting pageToken for listing future changes.
292 *
293 * Request parameters:
294 *
295 * Completes with a [StartPageToken].
296 *
297 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
298 * error.
299 *
300 * If the used [http.Client] completes with an error when making a REST call,
301 * this method will complete with the same error.
302 */
303 async.Future<StartPageToken> getStartPageToken() {
304 var _url = null;
305 var _queryParams = new core.Map();
306 var _uploadMedia = null;
307 var _uploadOptions = null;
308 var _downloadOptions = commons.DownloadOptions.Metadata;
309 var _body = null;
310
311
312 _url = 'changes/startPageToken';
313
314 var _response = _requester.request(_url,
315 "GET",
316 body: _body,
317 queryParams: _queryParams,
318 uploadOptions: _uploadOptions,
319 uploadMedia: _uploadMedia,
320 downloadOptions: _downloadOptions);
321 return _response.then((data) => new StartPageToken.fromJson(data));
322 }
323
324 /**
291 * Lists the changes for a user. 325 * Lists the changes for a user.
292 * 326 *
293 * Request parameters: 327 * Request parameters:
294 * 328 *
295 * [includeDeleted] - Whether to include deleted items. 329 * [includeDeleted] - Whether to include deleted items.
296 * 330 *
297 * [includeSubscribed] - Whether to include public files the user has opened 331 * [includeSubscribed] - Whether to include public files the user has opened
298 * and shared files. When set to false, the list only includes owned files 332 * and shared files. When set to false, the list only includes owned files
299 * plus any shared or public files the user has explicitly added to a folder 333 * plus any shared or public files the user has explicitly added to a folder
300 * they own. 334 * they own.
301 * 335 *
302 * [maxResults] - Maximum number of changes to return. 336 * [maxResults] - Maximum number of changes to return.
303 * 337 *
304 * [pageToken] - Page token for changes. 338 * [pageToken] - The token for continuing a previous list request on the next
339 * page. This should be set to the value of 'nextPageToken' from the previous
340 * response or to the response from the getStartPageToken method.
305 * 341 *
306 * [spaces] - A comma-separated list of spaces to query. Supported values are 342 * [spaces] - A comma-separated list of spaces to query. Supported values are
307 * 'drive', 'appDataFolder' and 'photos'. 343 * 'drive', 'appDataFolder' and 'photos'.
308 * 344 *
309 * [startChangeId] - Change ID to start listing changes from. 345 * [startChangeId] - Change ID to start listing changes from.
310 * 346 *
311 * Completes with a [ChangeList]. 347 * Completes with a [ChangeList].
312 * 348 *
313 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 349 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
314 * error. 350 * error.
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 * 400 *
365 * [includeDeleted] - Whether to include deleted items. 401 * [includeDeleted] - Whether to include deleted items.
366 * 402 *
367 * [includeSubscribed] - Whether to include public files the user has opened 403 * [includeSubscribed] - Whether to include public files the user has opened
368 * and shared files. When set to false, the list only includes owned files 404 * and shared files. When set to false, the list only includes owned files
369 * plus any shared or public files the user has explicitly added to a folder 405 * plus any shared or public files the user has explicitly added to a folder
370 * they own. 406 * they own.
371 * 407 *
372 * [maxResults] - Maximum number of changes to return. 408 * [maxResults] - Maximum number of changes to return.
373 * 409 *
374 * [pageToken] - Page token for changes. 410 * [pageToken] - The token for continuing a previous list request on the next
411 * page. This should be set to the value of 'nextPageToken' from the previous
412 * response or to the response from the getStartPageToken method.
375 * 413 *
376 * [spaces] - A comma-separated list of spaces to query. Supported values are 414 * [spaces] - A comma-separated list of spaces to query. Supported values are
377 * 'drive', 'appDataFolder' and 'photos'. 415 * 'drive', 'appDataFolder' and 'photos'.
378 * 416 *
379 * [startChangeId] - Change ID to start listing changes from. 417 * [startChangeId] - Change ID to start listing changes from.
380 * 418 *
381 * Completes with a [Channel]. 419 * Completes with a [Channel].
382 * 420 *
383 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 421 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
384 * error. 422 * error.
(...skipping 6512 matching lines...) Expand 10 before | Expand all | Expand 10 after
6897 if (nextPageToken != null) { 6935 if (nextPageToken != null) {
6898 _json["nextPageToken"] = nextPageToken; 6936 _json["nextPageToken"] = nextPageToken;
6899 } 6937 }
6900 if (selfLink != null) { 6938 if (selfLink != null) {
6901 _json["selfLink"] = selfLink; 6939 _json["selfLink"] = selfLink;
6902 } 6940 }
6903 return _json; 6941 return _json;
6904 } 6942 }
6905 } 6943 }
6906 6944
6945 class StartPageToken {
6946 /**
6947 * Identifies what kind of resource this is. Value: the fixed string
6948 * "drive#startPageToken".
6949 */
6950 core.String kind;
6951 /** The starting page token for listing changes. */
6952 core.String startPageToken;
6953
6954 StartPageToken();
6955
6956 StartPageToken.fromJson(core.Map _json) {
6957 if (_json.containsKey("kind")) {
6958 kind = _json["kind"];
6959 }
6960 if (_json.containsKey("startPageToken")) {
6961 startPageToken = _json["startPageToken"];
6962 }
6963 }
6964
6965 core.Map toJson() {
6966 var _json = new core.Map();
6967 if (kind != null) {
6968 _json["kind"] = kind;
6969 }
6970 if (startPageToken != null) {
6971 _json["startPageToken"] = startPageToken;
6972 }
6973 return _json;
6974 }
6975 }
6976
6907 /** The user's profile picture. */ 6977 /** The user's profile picture. */
6908 class UserPicture { 6978 class UserPicture {
6909 /** A URL that points to a profile picture of this user. */ 6979 /** A URL that points to a profile picture of this user. */
6910 core.String url; 6980 core.String url;
6911 6981
6912 UserPicture(); 6982 UserPicture();
6913 6983
6914 UserPicture.fromJson(core.Map _json) { 6984 UserPicture.fromJson(core.Map _json) {
6915 if (_json.containsKey("url")) { 6985 if (_json.containsKey("url")) {
6916 url = _json["url"]; 6986 url = _json["url"];
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
6983 } 7053 }
6984 if (permissionId != null) { 7054 if (permissionId != null) {
6985 _json["permissionId"] = permissionId; 7055 _json["permissionId"] = permissionId;
6986 } 7056 }
6987 if (picture != null) { 7057 if (picture != null) {
6988 _json["picture"] = (picture).toJson(); 7058 _json["picture"] = (picture).toJson();
6989 } 7059 }
6990 return _json; 7060 return _json;
6991 } 7061 }
6992 } 7062 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/doubleclicksearch/v2.dart ('k') | generated/googleapis/lib/firebaserules/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698