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

Side by Side Diff: generated/googleapis/lib/runtimeconfig/v1.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
« no previous file with comments | « generated/googleapis/lib/pubsub/v1.dart ('k') | generated/googleapis/lib/safebrowsing/v4.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.runtimeconfig.v1; 3 library googleapis.runtimeconfig.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 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 * `"/v1/{name=users / * }/operations"` to their service configuration. 150 * `"/v1/{name=users / * }/operations"` to their service configuration.
151 * For backwards compatibility, the default name includes the operations 151 * For backwards compatibility, the default name includes the operations
152 * collection id, however overriding users must ensure the name binding 152 * collection id, however overriding users must ensure the name binding
153 * is the parent resource, without the operations collection id. 153 * is the parent resource, without the operations collection id.
154 * 154 *
155 * Request parameters: 155 * Request parameters:
156 * 156 *
157 * [name] - The name of the operation's parent resource. 157 * [name] - The name of the operation's parent resource.
158 * Value must have pattern "^operations$". 158 * Value must have pattern "^operations$".
159 * 159 *
160 * [filter] - The standard list filter.
161 *
162 * [pageToken] - The standard list page token. 160 * [pageToken] - The standard list page token.
163 * 161 *
164 * [pageSize] - The standard list page size. 162 * [pageSize] - The standard list page size.
165 * 163 *
164 * [filter] - The standard list filter.
165 *
166 * Completes with a [ListOperationsResponse]. 166 * Completes with a [ListOperationsResponse].
167 * 167 *
168 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 168 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
169 * error. 169 * error.
170 * 170 *
171 * If the used [http.Client] completes with an error when making a REST call, 171 * If the used [http.Client] completes with an error when making a REST call,
172 * this method will complete with the same error. 172 * this method will complete with the same error.
173 */ 173 */
174 async.Future<ListOperationsResponse> list(core.String name, {core.String filte r, core.String pageToken, core.int pageSize}) { 174 async.Future<ListOperationsResponse> list(core.String name, {core.String pageT oken, core.int pageSize, core.String filter}) {
175 var _url = null; 175 var _url = null;
176 var _queryParams = new core.Map(); 176 var _queryParams = new core.Map();
177 var _uploadMedia = null; 177 var _uploadMedia = null;
178 var _uploadOptions = null; 178 var _uploadOptions = null;
179 var _downloadOptions = commons.DownloadOptions.Metadata; 179 var _downloadOptions = commons.DownloadOptions.Metadata;
180 var _body = null; 180 var _body = null;
181 181
182 if (name == null) { 182 if (name == null) {
183 throw new core.ArgumentError("Parameter name is required."); 183 throw new core.ArgumentError("Parameter name is required.");
184 } 184 }
185 if (filter != null) {
186 _queryParams["filter"] = [filter];
187 }
188 if (pageToken != null) { 185 if (pageToken != null) {
189 _queryParams["pageToken"] = [pageToken]; 186 _queryParams["pageToken"] = [pageToken];
190 } 187 }
191 if (pageSize != null) { 188 if (pageSize != null) {
192 _queryParams["pageSize"] = ["${pageSize}"]; 189 _queryParams["pageSize"] = ["${pageSize}"];
193 } 190 }
191 if (filter != null) {
192 _queryParams["filter"] = [filter];
193 }
194 194
195 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name'); 195 _url = 'v1/' + commons.Escaper.ecapeVariableReserved('$name');
196 196
197 var _response = _requester.request(_url, 197 var _response = _requester.request(_url,
198 "GET", 198 "GET",
199 body: _body, 199 body: _body,
200 queryParams: _queryParams, 200 queryParams: _queryParams,
201 uploadOptions: _uploadOptions, 201 uploadOptions: _uploadOptions,
202 uploadMedia: _uploadMedia, 202 uploadMedia: _uploadMedia,
203 downloadOptions: _downloadOptions); 203 downloadOptions: _downloadOptions);
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 * results in its response, the status of those operations should be 414 * results in its response, the status of those operations should be
415 * represented directly using the `Status` message. 415 * represented directly using the `Status` message.
416 * 416 *
417 * - Logging. If some API errors are stored in logs, the message `Status` could 417 * - Logging. If some API errors are stored in logs, the message `Status` could
418 * be used directly after any stripping needed for security/privacy reasons. 418 * be used directly after any stripping needed for security/privacy reasons.
419 */ 419 */
420 class Status { 420 class Status {
421 /** The status code, which should be an enum value of google.rpc.Code. */ 421 /** The status code, which should be an enum value of google.rpc.Code. */
422 core.int code; 422 core.int code;
423 /** 423 /**
424 * A list of messages that carry the error details. There will be a 424 * A list of messages that carry the error details. There is a common set of
425 * common set of message types for APIs to use. 425 * message types for APIs to use.
426 * 426 *
427 * The values for Object must be JSON objects. It can consist of `num`, 427 * The values for Object must be JSON objects. It can consist of `num`,
428 * `String`, `bool` and `null` as well as `Map` and `List` values. 428 * `String`, `bool` and `null` as well as `Map` and `List` values.
429 */ 429 */
430 core.List<core.Map<core.String, core.Object>> details; 430 core.List<core.Map<core.String, core.Object>> details;
431 /** 431 /**
432 * A developer-facing error message, which should be in English. Any 432 * A developer-facing error message, which should be in English. Any
433 * user-facing error message should be localized and sent in the 433 * user-facing error message should be localized and sent in the
434 * google.rpc.Status.details field, or localized by the client. 434 * google.rpc.Status.details field, or localized by the client.
435 */ 435 */
(...skipping 20 matching lines...) Expand all
456 } 456 }
457 if (details != null) { 457 if (details != null) {
458 _json["details"] = details; 458 _json["details"] = details;
459 } 459 }
460 if (message != null) { 460 if (message != null) {
461 _json["message"] = message; 461 _json["message"] = message;
462 } 462 }
463 return _json; 463 return _json;
464 } 464 }
465 } 465 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/pubsub/v1.dart ('k') | generated/googleapis/lib/safebrowsing/v4.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698