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

Side by Side Diff: generated/googleapis/lib/cloudresourcemanager/v1.dart

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 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.cloudresourcemanager.v1; 3 library googleapis.cloudresourcemanager.v1;
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; 7 import 'dart:convert' as convert;
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 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
427 427
428 /** 428 /**
429 * List all Liens applied to the `parent` resource. 429 * List all Liens applied to the `parent` resource.
430 * 430 *
431 * Callers of this method will require permission on the `parent` resource. 431 * Callers of this method will require permission on the `parent` resource.
432 * For example, a Lien with a `parent` of `projects/1234` requires permission 432 * For example, a Lien with a `parent` of `projects/1234` requires permission
433 * `resourcemanager.projects.get`. 433 * `resourcemanager.projects.get`.
434 * 434 *
435 * Request parameters: 435 * Request parameters:
436 * 436 *
437 * [pageToken] - The `next_page_token` value returned from a previous List
438 * request, if any.
439 *
437 * [pageSize] - The maximum number of items to return. This is a suggestion 440 * [pageSize] - The maximum number of items to return. This is a suggestion
438 * for the server. 441 * for the server.
439 * 442 *
440 * [parent] - The name of the resource to list all attached Liens. 443 * [parent] - The name of the resource to list all attached Liens.
441 * For example, `projects/1234`. 444 * For example, `projects/1234`.
442 * 445 *
443 * [pageToken] - The `next_page_token` value returned from a previous List
444 * request, if any.
445 *
446 * Completes with a [ListLiensResponse]. 446 * Completes with a [ListLiensResponse].
447 * 447 *
448 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 448 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
449 * error. 449 * error.
450 * 450 *
451 * If the used [http.Client] completes with an error when making a REST call, 451 * If the used [http.Client] completes with an error when making a REST call,
452 * this method will complete with the same error. 452 * this method will complete with the same error.
453 */ 453 */
454 async.Future<ListLiensResponse> list({core.int pageSize, core.String parent, c ore.String pageToken}) { 454 async.Future<ListLiensResponse> list({core.String pageToken, core.int pageSize , core.String parent}) {
455 var _url = null; 455 var _url = null;
456 var _queryParams = new core.Map(); 456 var _queryParams = new core.Map();
457 var _uploadMedia = null; 457 var _uploadMedia = null;
458 var _uploadOptions = null; 458 var _uploadOptions = null;
459 var _downloadOptions = commons.DownloadOptions.Metadata; 459 var _downloadOptions = commons.DownloadOptions.Metadata;
460 var _body = null; 460 var _body = null;
461 461
462 if (pageToken != null) {
463 _queryParams["pageToken"] = [pageToken];
464 }
462 if (pageSize != null) { 465 if (pageSize != null) {
463 _queryParams["pageSize"] = ["${pageSize}"]; 466 _queryParams["pageSize"] = ["${pageSize}"];
464 } 467 }
465 if (parent != null) { 468 if (parent != null) {
466 _queryParams["parent"] = [parent]; 469 _queryParams["parent"] = [parent];
467 } 470 }
468 if (pageToken != null) {
469 _queryParams["pageToken"] = [pageToken];
470 }
471 471
472 _url = 'v1/liens'; 472 _url = 'v1/liens';
473 473
474 var _response = _requester.request(_url, 474 var _response = _requester.request(_url,
475 "GET", 475 "GET",
476 body: _body, 476 body: _body,
477 queryParams: _queryParams, 477 queryParams: _queryParams,
478 uploadOptions: _uploadOptions, 478 uploadOptions: _uploadOptions,
479 uploadMedia: _uploadMedia, 479 uploadMedia: _uploadMedia,
480 downloadOptions: _downloadOptions); 480 downloadOptions: _downloadOptions);
(...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1473 return _response.then((data) => new OrgPolicy.fromJson(data)); 1473 return _response.then((data) => new OrgPolicy.fromJson(data));
1474 } 1474 }
1475 1475
1476 /** 1476 /**
1477 * Lists Projects that are visible to the user and satisfy the 1477 * Lists Projects that are visible to the user and satisfy the
1478 * specified filter. This method returns Projects in an unspecified order. 1478 * specified filter. This method returns Projects in an unspecified order.
1479 * New Projects do not necessarily appear at the end of the list. 1479 * New Projects do not necessarily appear at the end of the list.
1480 * 1480 *
1481 * Request parameters: 1481 * Request parameters:
1482 * 1482 *
1483 * [pageSize] - The maximum number of Projects to return in the response.
1484 * The server can return fewer Projects than requested.
1485 * If unspecified, server picks an appropriate default.
1486 *
1487 * Optional.
1488 *
1489 * [filter] - An expression for filtering the results of the request. Filter 1483 * [filter] - An expression for filtering the results of the request. Filter
1490 * rules are 1484 * rules are
1491 * case insensitive. The fields eligible for filtering are: 1485 * case insensitive. The fields eligible for filtering are:
1492 * 1486 *
1493 * + `name` 1487 * + `name`
1494 * + `id` 1488 * + `id`
1495 * + <code>labels.<em>key</em></code> where *key* is the name of a label 1489 * + <code>labels.<em>key</em></code> where *key* is the name of a label
1496 * 1490 *
1497 * Some examples of using labels as filters: 1491 * Some examples of using labels as filters:
1498 * 1492 *
(...skipping 18 matching lines...) Expand all
1517 * projects for which the user has `resourcemanager.projects.get` permissions. 1511 * projects for which the user has `resourcemanager.projects.get` permissions.
1518 * 1512 *
1519 * Optional. 1513 * Optional.
1520 * 1514 *
1521 * [pageToken] - A pagination token returned from a previous call to 1515 * [pageToken] - A pagination token returned from a previous call to
1522 * ListProjects 1516 * ListProjects
1523 * that indicates from where listing should continue. 1517 * that indicates from where listing should continue.
1524 * 1518 *
1525 * Optional. 1519 * Optional.
1526 * 1520 *
1521 * [pageSize] - The maximum number of Projects to return in the response.
1522 * The server can return fewer Projects than requested.
1523 * If unspecified, server picks an appropriate default.
1524 *
1525 * Optional.
1526 *
1527 * Completes with a [ListProjectsResponse]. 1527 * Completes with a [ListProjectsResponse].
1528 * 1528 *
1529 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1529 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1530 * error. 1530 * error.
1531 * 1531 *
1532 * If the used [http.Client] completes with an error when making a REST call, 1532 * If the used [http.Client] completes with an error when making a REST call,
1533 * this method will complete with the same error. 1533 * this method will complete with the same error.
1534 */ 1534 */
1535 async.Future<ListProjectsResponse> list({core.int pageSize, core.String filter , core.String pageToken}) { 1535 async.Future<ListProjectsResponse> list({core.String filter, core.String pageT oken, core.int pageSize}) {
1536 var _url = null; 1536 var _url = null;
1537 var _queryParams = new core.Map(); 1537 var _queryParams = new core.Map();
1538 var _uploadMedia = null; 1538 var _uploadMedia = null;
1539 var _uploadOptions = null; 1539 var _uploadOptions = null;
1540 var _downloadOptions = commons.DownloadOptions.Metadata; 1540 var _downloadOptions = commons.DownloadOptions.Metadata;
1541 var _body = null; 1541 var _body = null;
1542 1542
1543 if (pageSize != null) {
1544 _queryParams["pageSize"] = ["${pageSize}"];
1545 }
1546 if (filter != null) { 1543 if (filter != null) {
1547 _queryParams["filter"] = [filter]; 1544 _queryParams["filter"] = [filter];
1548 } 1545 }
1549 if (pageToken != null) { 1546 if (pageToken != null) {
1550 _queryParams["pageToken"] = [pageToken]; 1547 _queryParams["pageToken"] = [pageToken];
1551 } 1548 }
1549 if (pageSize != null) {
1550 _queryParams["pageSize"] = ["${pageSize}"];
1551 }
1552 1552
1553 _url = 'v1/projects'; 1553 _url = 'v1/projects';
1554 1554
1555 var _response = _requester.request(_url, 1555 var _response = _requester.request(_url,
1556 "GET", 1556 "GET",
1557 body: _body, 1557 body: _body,
1558 queryParams: _queryParams, 1558 queryParams: _queryParams,
1559 uploadOptions: _uploadOptions, 1559 uploadOptions: _uploadOptions,
1560 uploadMedia: _uploadMedia, 1560 uploadMedia: _uploadMedia,
1561 downloadOptions: _downloadOptions); 1561 downloadOptions: _downloadOptions);
(...skipping 2474 matching lines...) Expand 10 before | Expand all | Expand 10 after
4036 * results in its response, the status of those operations should be 4036 * results in its response, the status of those operations should be
4037 * represented directly using the `Status` message. 4037 * represented directly using the `Status` message.
4038 * 4038 *
4039 * - Logging. If some API errors are stored in logs, the message `Status` could 4039 * - Logging. If some API errors are stored in logs, the message `Status` could
4040 * be used directly after any stripping needed for security/privacy reasons. 4040 * be used directly after any stripping needed for security/privacy reasons.
4041 */ 4041 */
4042 class Status { 4042 class Status {
4043 /** The status code, which should be an enum value of google.rpc.Code. */ 4043 /** The status code, which should be an enum value of google.rpc.Code. */
4044 core.int code; 4044 core.int code;
4045 /** 4045 /**
4046 * A list of messages that carry the error details. There will be a 4046 * A list of messages that carry the error details. There is a common set of
4047 * common set of message types for APIs to use. 4047 * message types for APIs to use.
4048 * 4048 *
4049 * The values for Object must be JSON objects. It can consist of `num`, 4049 * The values for Object must be JSON objects. It can consist of `num`,
4050 * `String`, `bool` and `null` as well as `Map` and `List` values. 4050 * `String`, `bool` and `null` as well as `Map` and `List` values.
4051 */ 4051 */
4052 core.List<core.Map<core.String, core.Object>> details; 4052 core.List<core.Map<core.String, core.Object>> details;
4053 /** 4053 /**
4054 * A developer-facing error message, which should be in English. Any 4054 * A developer-facing error message, which should be in English. Any
4055 * user-facing error message should be localized and sent in the 4055 * user-facing error message should be localized and sent in the
4056 * google.rpc.Status.details field, or localized by the client. 4056 * google.rpc.Status.details field, or localized by the client.
4057 */ 4057 */
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
4147 UndeleteProjectRequest(); 4147 UndeleteProjectRequest();
4148 4148
4149 UndeleteProjectRequest.fromJson(core.Map _json) { 4149 UndeleteProjectRequest.fromJson(core.Map _json) {
4150 } 4150 }
4151 4151
4152 core.Map<core.String, core.Object> toJson() { 4152 core.Map<core.String, core.Object> toJson() {
4153 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 4153 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4154 return _json; 4154 return _json;
4155 } 4155 }
4156 } 4156 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/cloudkms/v1.dart ('k') | generated/googleapis/lib/cloudresourcemanager/v2beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698