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

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (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_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 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 /** 251 /**
252 * Lists all the RuntimeConfig resources within project. 252 * Lists all the RuntimeConfig resources within project.
253 * 253 *
254 * Request parameters: 254 * Request parameters:
255 * 255 *
256 * [parent] - The [project 256 * [parent] - The [project
257 * ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848 ) 257 * ID](https://support.google.com/cloud/answer/6158840?hl=en&ref_topic=6158848 )
258 * for this request, in the format `projects/[PROJECT_ID]`. 258 * for this request, in the format `projects/[PROJECT_ID]`.
259 * Value must have pattern "^projects/[^/]+$". 259 * Value must have pattern "^projects/[^/]+$".
260 * 260 *
261 * [pageSize] - Specifies the number of results to return per page. If there
262 * are fewer
263 * elements than the specified number, returns all elements.
264 *
261 * [pageToken] - Specifies a page token to use. Set `pageToken` to a 265 * [pageToken] - Specifies a page token to use. Set `pageToken` to a
262 * `nextPageToken` 266 * `nextPageToken`
263 * returned by a previous list request to get the next page of results. 267 * returned by a previous list request to get the next page of results.
264 * 268 *
265 * [pageSize] - Specifies the number of results to return per page. If there
266 * are fewer
267 * elements than the specified number, returns all elements.
268 *
269 * Completes with a [ListConfigsResponse]. 269 * Completes with a [ListConfigsResponse].
270 * 270 *
271 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 271 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
272 * error. 272 * error.
273 * 273 *
274 * If the used [http.Client] completes with an error when making a REST call, 274 * If the used [http.Client] completes with an error when making a REST call,
275 * this method will complete with the same error. 275 * this method will complete with the same error.
276 */ 276 */
277 async.Future<ListConfigsResponse> list(core.String parent, {core.String pageTo ken, core.int pageSize}) { 277 async.Future<ListConfigsResponse> list(core.String parent, {core.int pageSize, core.String pageToken}) {
278 var _url = null; 278 var _url = null;
279 var _queryParams = new core.Map(); 279 var _queryParams = new core.Map();
280 var _uploadMedia = null; 280 var _uploadMedia = null;
281 var _uploadOptions = null; 281 var _uploadOptions = null;
282 var _downloadOptions = commons.DownloadOptions.Metadata; 282 var _downloadOptions = commons.DownloadOptions.Metadata;
283 var _body = null; 283 var _body = null;
284 284
285 if (parent == null) { 285 if (parent == null) {
286 throw new core.ArgumentError("Parameter parent is required."); 286 throw new core.ArgumentError("Parameter parent is required.");
287 } 287 }
288 if (pageSize != null) {
289 _queryParams["pageSize"] = ["${pageSize}"];
290 }
288 if (pageToken != null) { 291 if (pageToken != null) {
289 _queryParams["pageToken"] = [pageToken]; 292 _queryParams["pageToken"] = [pageToken];
290 } 293 }
291 if (pageSize != null) {
292 _queryParams["pageSize"] = ["${pageSize}"];
293 }
294 294
295 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/con figs'; 295 _url = 'v1beta1/' + commons.Escaper.ecapeVariableReserved('$parent') + '/con figs';
296 296
297 var _response = _requester.request(_url, 297 var _response = _requester.request(_url,
298 "GET", 298 "GET",
299 body: _body, 299 body: _body,
300 queryParams: _queryParams, 300 queryParams: _queryParams,
301 uploadOptions: _uploadOptions, 301 uploadOptions: _uploadOptions,
302 uploadMedia: _uploadMedia, 302 uploadMedia: _uploadMedia,
303 downloadOptions: _downloadOptions); 303 downloadOptions: _downloadOptions);
(...skipping 438 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 * [pageSize] - Specifies the number of results to return per page. If there
753 * are fewer
754 * elements than the specified number, returns all elements.
755 *
752 * [filter] - Filters variables by matching the specified filter. For example: 756 * [filter] - Filters variables by matching the specified filter. For example:
753 * 757 *
754 * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`. 758 * `projects/example-project/config/[CONFIG_NAME]/variables/example-variable`.
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 * [pageToken] - Specifies a page token to use. Set `pageToken` to a 765 * [pageToken] - Specifies a page token to use. Set `pageToken` to a
762 * `nextPageToken` 766 * `nextPageToken`
763 * returned by a previous list request to get the next page of results. 767 * returned by a previous list request to get the next page of results.
764 * 768 *
765 * [pageSize] - Specifies the number of results to return per page. If there
766 * are fewer
767 * elements than the specified number, returns all elements.
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 filt er, core.bool returnValues, core.String pageToken, core.int pageSize}) { 777 async.Future<ListVariablesResponse> list(core.String parent, {core.int pageSiz e, core.String filter, core.bool returnValues, core.String pageToken}) {
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 (pageSize != null) {
789 _queryParams["pageSize"] = ["${pageSize}"];
790 }
788 if (filter != null) { 791 if (filter != null) {
789 _queryParams["filter"] = [filter]; 792 _queryParams["filter"] = [filter];
790 } 793 }
791 if (returnValues != null) { 794 if (returnValues != null) {
792 _queryParams["returnValues"] = ["${returnValues}"]; 795 _queryParams["returnValues"] = ["${returnValues}"];
793 } 796 }
794 if (pageToken != null) { 797 if (pageToken != null) {
795 _queryParams["pageToken"] = [pageToken]; 798 _queryParams["pageToken"] = [pageToken];
796 } 799 }
797 if (pageSize != null) {
798 _queryParams["pageSize"] = ["${pageSize}"];
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 1012 matching lines...) Expand 10 before | Expand all | Expand 10 after
1822 * results in its response, the status of those operations should be 1822 * results in its response, the status of those operations should be
1823 * represented directly using the `Status` message. 1823 * represented directly using the `Status` message.
1824 * 1824 *
1825 * - Logging. If some API errors are stored in logs, the message `Status` could 1825 * - Logging. If some API errors are stored in logs, the message `Status` could
1826 * be used directly after any stripping needed for security/privacy reasons. 1826 * be used directly after any stripping needed for security/privacy reasons.
1827 */ 1827 */
1828 class Status { 1828 class Status {
1829 /** The status code, which should be an enum value of google.rpc.Code. */ 1829 /** The status code, which should be an enum value of google.rpc.Code. */
1830 core.int code; 1830 core.int code;
1831 /** 1831 /**
1832 * A list of messages that carry the error details. There will be a 1832 * A list of messages that carry the error details. There is a common set of
1833 * common set of message types for APIs to use. 1833 * message types for APIs to use.
1834 * 1834 *
1835 * The values for Object must be JSON objects. It can consist of `num`, 1835 * The values for Object must be JSON objects. It can consist of `num`,
1836 * `String`, `bool` and `null` as well as `Map` and `List` values. 1836 * `String`, `bool` and `null` as well as `Map` and `List` values.
1837 */ 1837 */
1838 core.List<core.Map<core.String, core.Object>> details; 1838 core.List<core.Map<core.String, core.Object>> details;
1839 /** 1839 /**
1840 * A developer-facing error message, which should be in English. Any 1840 * A developer-facing error message, which should be in English. Any
1841 * user-facing error message should be localized and sent in the 1841 * user-facing error message should be localized and sent in the
1842 * google.rpc.Status.details field, or localized by the client. 1842 * google.rpc.Status.details field, or localized by the client.
1843 */ 1843 */
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
2177 } 2177 }
2178 2178
2179 core.Map<core.String, core.Object> toJson() { 2179 core.Map<core.String, core.Object> toJson() {
2180 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>();
2181 if (newerThan != null) { 2181 if (newerThan != null) {
2182 _json["newerThan"] = newerThan; 2182 _json["newerThan"] = newerThan;
2183 } 2183 }
2184 return _json; 2184 return _json;
2185 } 2185 }
2186 } 2186 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/pubsub/v1beta2.dart ('k') | generated/googleapis_beta/lib/sqladmin/v1beta3.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698