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

Side by Side Diff: generated/googleapis_beta/lib/runtimeconfig/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.runtimeconfig.v1beta1; 3 library googleapis_beta.runtimeconfig.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 731 matching lines...) Expand 10 before | Expand all | Expand 10 after
742 * 742 *
743 * Request parameters: 743 * Request parameters:
744 * 744 *
745 * [parent] - The path to the RuntimeConfig resource for which you want to 745 * [parent] - The path to the RuntimeConfig resource for which you want to
746 * list variables. 746 * list variables.
747 * The configuration must exist beforehand; the path must by in the format: 747 * The configuration must exist beforehand; the path must by in the format:
748 * 748 *
749 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]` 749 * `projects/[PROJECT_ID]/configs/[CONFIG_NAME]`
750 * Value must have pattern "^projects/[^/]+/configs/[^/]+$". 750 * Value must have pattern "^projects/[^/]+/configs/[^/]+$".
751 * 751 *
752 * [filter] - Filters variables by matching the specified filter. For example:
753 *
754 * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.
755 *
752 * [pageToken] - Specifies a page token to use. Set `pageToken` to a 756 * [pageToken] - Specifies a page token to use. Set `pageToken` to a
753 * `nextPageToken` 757 * `nextPageToken`
754 * returned by a previous list request to get the next page of results. 758 * returned by a previous list request to get the next page of results.
755 * 759 *
756 * [returnValues] - The flag indicates whether the user wants to return values 760 * [returnValues] - The flag indicates whether the user wants to return values
757 * of variables. 761 * of variables.
758 * If true, then only those variables that user has IAM GetVariable permission 762 * If true, then only those variables that user has IAM GetVariable permission
759 * will be returned along with their values. 763 * will be returned along with their values.
760 * 764 *
761 * [pageSize] - Specifies the number of results to return per page. If there 765 * [pageSize] - Specifies the number of results to return per page. If there
762 * are fewer 766 * are fewer
763 * elements than the specified number, returns all elements. 767 * elements than the specified number, returns all elements.
764 * 768 *
765 * [filter] - Filters variables by matching the specified filter. For example:
766 *
767 * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.
768 *
769 * Completes with a [ListVariablesResponse]. 769 * Completes with a [ListVariablesResponse].
770 * 770 *
771 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 771 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
772 * error. 772 * error.
773 * 773 *
774 * If the used [http.Client] completes with an error when making a REST call, 774 * If the used [http.Client] completes with an error when making a REST call,
775 * this method will complete with the same error. 775 * this method will complete with the same error.
776 */ 776 */
777 async.Future<ListVariablesResponse> list(core.String parent, {core.String page Token, core.bool returnValues, core.int pageSize, core.String filter}) { 777 async.Future<ListVariablesResponse> list(core.String parent, {core.String filt er, core.String pageToken, core.bool returnValues, core.int pageSize}) {
778 var _url = null; 778 var _url = null;
779 var _queryParams = new core.Map(); 779 var _queryParams = new core.Map();
780 var _uploadMedia = null; 780 var _uploadMedia = null;
781 var _uploadOptions = null; 781 var _uploadOptions = null;
782 var _downloadOptions = commons.DownloadOptions.Metadata; 782 var _downloadOptions = commons.DownloadOptions.Metadata;
783 var _body = null; 783 var _body = null;
784 784
785 if (parent == null) { 785 if (parent == null) {
786 throw new core.ArgumentError("Parameter parent is required."); 786 throw new core.ArgumentError("Parameter parent is required.");
787 } 787 }
788 if (filter != null) {
789 _queryParams["filter"] = [filter];
790 }
788 if (pageToken != null) { 791 if (pageToken != null) {
789 _queryParams["pageToken"] = [pageToken]; 792 _queryParams["pageToken"] = [pageToken];
790 } 793 }
791 if (returnValues != null) { 794 if (returnValues != null) {
792 _queryParams["returnValues"] = ["${returnValues}"]; 795 _queryParams["returnValues"] = ["${returnValues}"];
793 } 796 }
794 if (pageSize != null) { 797 if (pageSize != null) {
795 _queryParams["pageSize"] = ["${pageSize}"]; 798 _queryParams["pageSize"] = ["${pageSize}"];
796 } 799 }
797 if (filter != null) {
798 _queryParams["filter"] = [filter];
799 }
800 800
801 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/var iables'; 801 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/var iables';
802 802
803 var _response = _requester.request(_url, 803 var _response = _requester.request(_url,
804 "GET", 804 "GET",
805 body: _body, 805 body: _body,
806 queryParams: _queryParams, 806 queryParams: _queryParams,
807 uploadOptions: _uploadOptions, 807 uploadOptions: _uploadOptions,
808 uploadMedia: _uploadMedia, 808 uploadMedia: _uploadMedia,
809 downloadOptions: _downloadOptions); 809 downloadOptions: _downloadOptions);
(...skipping 824 matching lines...) Expand 10 before | Expand all | Expand 10 after
1634 * } 1634 * }
1635 * ] 1635 * ]
1636 * } 1636 * }
1637 * 1637 *
1638 * For a description of IAM and its features, see the 1638 * For a description of IAM and its features, see the
1639 * [IAM developer's guide](https://cloud.google.com/iam). 1639 * [IAM developer's guide](https://cloud.google.com/iam).
1640 */ 1640 */
1641 class Policy { 1641 class Policy {
1642 /** 1642 /**
1643 * Associates a list of `members` to a `role`. 1643 * Associates a list of `members` to a `role`.
1644 * Multiple `bindings` must not be specified for the same `role`.
1645 * `bindings` with no members will result in an error. 1644 * `bindings` with no members will result in an error.
1646 */ 1645 */
1647 core.List<Binding> bindings; 1646 core.List<Binding> bindings;
1648 /** 1647 /**
1649 * `etag` is used for optimistic concurrency control as a way to help 1648 * `etag` is used for optimistic concurrency control as a way to help
1650 * prevent simultaneous updates of a policy from overwriting each other. 1649 * prevent simultaneous updates of a policy from overwriting each other.
1651 * It is strongly suggested that systems make use of the `etag` in the 1650 * It is strongly suggested that systems make use of the `etag` in the
1652 * read-modify-write cycle to perform policy updates in order to avoid race 1651 * read-modify-write cycle to perform policy updates in order to avoid race
1653 * conditions: An `etag` is returned in the response to `getIamPolicy`, and 1652 * conditions: An `etag` is returned in the response to `getIamPolicy`, and
1654 * systems are expected to put that etag in the request to `setIamPolicy` to 1653 * systems are expected to put that etag in the request to `setIamPolicy` to
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after
2178 } 2177 }
2179 2178
2180 core.Map<core.String, core.Object> toJson() { 2179 core.Map<core.String, core.Object> toJson() {
2181 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>(); 2180 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2182 if (newerThan != null) { 2181 if (newerThan != null) {
2183 _json["newerThan"] = newerThan; 2182 _json["newerThan"] = newerThan;
2184 } 2183 }
2185 return _json; 2184 return _json;
2186 } 2185 }
2187 } 2186 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/pubsub/v1beta2.dart ('k') | generated/googleapis_beta/lib/speech/v1beta1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698