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

Side by Side Diff: generated/googleapis_beta/lib/cloudresourcemanager/v1beta1.dart

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 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_beta.cloudresourcemanager.v1beta1; 3 library googleapis_beta.cloudresourcemanager.v1beta1;
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 606 matching lines...) Expand 10 before | Expand all | Expand 10 after
617 return _response.then((data) => new Policy.fromJson(data)); 617 return _response.then((data) => new Policy.fromJson(data));
618 } 618 }
619 619
620 /** 620 /**
621 * Lists Projects that are visible to the user and satisfy the 621 * Lists Projects that are visible to the user and satisfy the
622 * specified filter. This method returns Projects in an unspecified order. 622 * specified filter. This method returns Projects in an unspecified order.
623 * New Projects do not necessarily appear at the end of the list. 623 * New Projects do not necessarily appear at the end of the list.
624 * 624 *
625 * Request parameters: 625 * Request parameters:
626 * 626 *
627 * [pageToken] - A pagination token returned from a previous call to
628 * ListProjects
629 * that indicates from where listing should continue.
630 *
631 * Optional.
632 *
633 * [pageSize] - The maximum number of Projects to return in the response.
634 * The server can return fewer Projects than requested.
635 * If unspecified, server picks an appropriate default.
636 *
637 * Optional.
638 *
627 * [filter] - An expression for filtering the results of the request. Filter 639 * [filter] - An expression for filtering the results of the request. Filter
628 * rules are 640 * rules are
629 * case insensitive. The fields eligible for filtering are: 641 * case insensitive. The fields eligible for filtering are:
630 * 642 *
631 * + `name` 643 * + `name`
632 * + `id` 644 * + `id`
633 * + <code>labels.<em>key</em></code> where *key* is the name of a label 645 * + <code>labels.<em>key</em></code> where *key* is the name of a label
634 * 646 *
635 * Some examples of using labels as filters: 647 * Some examples of using labels as filters:
636 * 648 *
637 * |Filter|Description| 649 * |Filter|Description|
638 * |------|-----------| 650 * |------|-----------|
639 * |name:how*|The project's name starts with "how".| 651 * |name:how*|The project's name starts with "how".|
640 * |name:Howl|The project's name is `Howl` or `howl`.| 652 * |name:Howl|The project's name is `Howl` or `howl`.|
641 * |name:HOWL|Equivalent to above.| 653 * |name:HOWL|Equivalent to above.|
642 * |NAME:howl|Equivalent to above.| 654 * |NAME:howl|Equivalent to above.|
643 * |labels.color:*|The project has the label `color`.| 655 * |labels.color:*|The project has the label `color`.|
644 * |labels.color:red|The project's label `color` has the value `red`.| 656 * |labels.color:red|The project's label `color` has the value `red`.|
645 * |labels.color:red&nbsp;labels.size:big|The project's label `color` has the 657 * |labels.color:red&nbsp;labels.size:big|The project's label `color` has the
646 * value `red` and its label `size` has the value `big`. 658 * value `red` and its label `size` has the value `big`.
647 * 659 *
648 * Optional. 660 * If you specify a filter that has both `parent.type` and `parent.id`, then
649 * 661 * the `resourcemanager.projects.list` permission is checked on the parent.
650 * [pageToken] - A pagination token returned from a previous call to 662 * If the user has this permission, all projects under the parent will be
651 * ListProjects 663 * returned after remaining filters have been applied. If the user lacks this
652 * that indicates from where listing should continue. 664 * permission, then all projects for which the user has the
665 * `resourcemanager.projects.get` permission will be returned after remaining
666 * filters have been applied. If no filter is specified, the call will return
667 * projects for which the user has `resourcemanager.projects.get` permissions.
653 * 668 *
654 * Optional. 669 * Optional.
655 * 670 *
656 * [pageSize] - The maximum number of Projects to return in the response.
657 * The server can return fewer Projects than requested.
658 * If unspecified, server picks an appropriate default.
659 *
660 * Optional.
661 *
662 * Completes with a [ListProjectsResponse]. 671 * Completes with a [ListProjectsResponse].
663 * 672 *
664 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 673 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
665 * error. 674 * error.
666 * 675 *
667 * If the used [http.Client] completes with an error when making a REST call, 676 * If the used [http.Client] completes with an error when making a REST call,
668 * this method will complete with the same error. 677 * this method will complete with the same error.
669 */ 678 */
670 async.Future<ListProjectsResponse> list({core.String filter, core.String pageT oken, core.int pageSize}) { 679 async.Future<ListProjectsResponse> list({core.String pageToken, core.int pageS ize, core.String filter}) {
671 var _url = null; 680 var _url = null;
672 var _queryParams = new core.Map(); 681 var _queryParams = new core.Map();
673 var _uploadMedia = null; 682 var _uploadMedia = null;
674 var _uploadOptions = null; 683 var _uploadOptions = null;
675 var _downloadOptions = commons.DownloadOptions.Metadata; 684 var _downloadOptions = commons.DownloadOptions.Metadata;
676 var _body = null; 685 var _body = null;
677 686
678 if (filter != null) {
679 _queryParams["filter"] = [filter];
680 }
681 if (pageToken != null) { 687 if (pageToken != null) {
682 _queryParams["pageToken"] = [pageToken]; 688 _queryParams["pageToken"] = [pageToken];
683 } 689 }
684 if (pageSize != null) { 690 if (pageSize != null) {
685 _queryParams["pageSize"] = ["${pageSize}"]; 691 _queryParams["pageSize"] = ["${pageSize}"];
686 } 692 }
693 if (filter != null) {
694 _queryParams["filter"] = [filter];
695 }
687 696
688 _url = 'v1beta1/projects'; 697 _url = 'v1beta1/projects';
689 698
690 var _response = _requester.request(_url, 699 var _response = _requester.request(_url,
691 "GET", 700 "GET",
692 body: _body, 701 body: _body,
693 queryParams: _queryParams, 702 queryParams: _queryParams,
694 uploadOptions: _uploadOptions, 703 uploadOptions: _uploadOptions,
695 uploadMedia: _uploadMedia, 704 uploadMedia: _uploadMedia,
696 downloadOptions: _downloadOptions); 705 downloadOptions: _downloadOptions);
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 UndeleteProjectRequest(); 1995 UndeleteProjectRequest();
1987 1996
1988 UndeleteProjectRequest.fromJson(core.Map _json) { 1997 UndeleteProjectRequest.fromJson(core.Map _json) {
1989 } 1998 }
1990 1999
1991 core.Map<core.String, core.Object> toJson() { 2000 core.Map<core.String, core.Object> toJson() {
1992 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 2001 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1993 return _json; 2002 return _json;
1994 } 2003 }
1995 } 2004 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/clouderrorreporting/v1beta1.dart ('k') | generated/googleapis_beta/lib/dataflow/v1b3.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698