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

Side by Side Diff: generated/googleapis/lib/clouddebugger/v2.dart

Issue 2695743002: Api-roll 45: 2017-02-13 (Closed)
Patch Set: reverted local changes to pubspec file Created 3 years, 10 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.clouddebugger.v2; 3 library googleapis.clouddebugger.v2;
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 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 DebuggerDebuggeesBreakpointsResourceApi get breakpoints => new DebuggerDebugge esBreakpointsResourceApi(_requester); 257 DebuggerDebuggeesBreakpointsResourceApi get breakpoints => new DebuggerDebugge esBreakpointsResourceApi(_requester);
258 258
259 DebuggerDebuggeesResourceApi(commons.ApiRequester client) : 259 DebuggerDebuggeesResourceApi(commons.ApiRequester client) :
260 _requester = client; 260 _requester = client;
261 261
262 /** 262 /**
263 * Lists all the debuggees that the user can set breakpoints to. 263 * Lists all the debuggees that the user can set breakpoints to.
264 * 264 *
265 * Request parameters: 265 * Request parameters:
266 * 266 *
267 * [clientVersion] - The client version making the call.
268 * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
269 *
267 * [includeInactive] - When set to `true`, the result includes all debuggees. 270 * [includeInactive] - When set to `true`, the result includes all debuggees.
268 * Otherwise, the 271 * Otherwise, the
269 * result includes only debuggees that are active. 272 * result includes only debuggees that are active.
270 * 273 *
271 * [project] - Project number of a Google Cloud project whose debuggees to 274 * [project] - Project number of a Google Cloud project whose debuggees to
272 * list. 275 * list.
273 * 276 *
274 * [clientVersion] - The client version making the call.
275 * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
276 *
277 * Completes with a [ListDebuggeesResponse]. 277 * Completes with a [ListDebuggeesResponse].
278 * 278 *
279 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 279 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
280 * error. 280 * error.
281 * 281 *
282 * If the used [http.Client] completes with an error when making a REST call, 282 * If the used [http.Client] completes with an error when making a REST call,
283 * this method will complete with the same error. 283 * this method will complete with the same error.
284 */ 284 */
285 async.Future<ListDebuggeesResponse> list({core.bool includeInactive, core.Stri ng project, core.String clientVersion}) { 285 async.Future<ListDebuggeesResponse> list({core.String clientVersion, core.bool includeInactive, core.String project}) {
286 var _url = null; 286 var _url = null;
287 var _queryParams = new core.Map(); 287 var _queryParams = new core.Map();
288 var _uploadMedia = null; 288 var _uploadMedia = null;
289 var _uploadOptions = null; 289 var _uploadOptions = null;
290 var _downloadOptions = commons.DownloadOptions.Metadata; 290 var _downloadOptions = commons.DownloadOptions.Metadata;
291 var _body = null; 291 var _body = null;
292 292
293 if (clientVersion != null) {
294 _queryParams["clientVersion"] = [clientVersion];
295 }
293 if (includeInactive != null) { 296 if (includeInactive != null) {
294 _queryParams["includeInactive"] = ["${includeInactive}"]; 297 _queryParams["includeInactive"] = ["${includeInactive}"];
295 } 298 }
296 if (project != null) { 299 if (project != null) {
297 _queryParams["project"] = [project]; 300 _queryParams["project"] = [project];
298 } 301 }
299 if (clientVersion != null) {
300 _queryParams["clientVersion"] = [clientVersion];
301 }
302 302
303 _url = 'v2/debugger/debuggees'; 303 _url = 'v2/debugger/debuggees';
304 304
305 var _response = _requester.request(_url, 305 var _response = _requester.request(_url,
306 "GET", 306 "GET",
307 body: _body, 307 body: _body,
308 queryParams: _queryParams, 308 queryParams: _queryParams,
309 uploadOptions: _uploadOptions, 309 uploadOptions: _uploadOptions,
310 uploadMedia: _uploadMedia, 310 uploadMedia: _uploadMedia,
311 downloadOptions: _downloadOptions); 311 downloadOptions: _downloadOptions);
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
421 return _response.then((data) => new GetBreakpointResponse.fromJson(data)); 421 return _response.then((data) => new GetBreakpointResponse.fromJson(data));
422 } 422 }
423 423
424 /** 424 /**
425 * Lists all breakpoints for the debuggee. 425 * Lists all breakpoints for the debuggee.
426 * 426 *
427 * Request parameters: 427 * Request parameters:
428 * 428 *
429 * [debuggeeId] - ID of the debuggee whose breakpoints to list. 429 * [debuggeeId] - ID of the debuggee whose breakpoints to list.
430 * 430 *
431 * [clientVersion] - The client version making the call.
432 * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
433 *
434 * [includeAllUsers] - When set to `true`, the response includes the list of
435 * breakpoints set by
436 * any user. Otherwise, it includes only breakpoints set by the caller.
437 *
438 * [stripResults] - This field is deprecated. The following fields are always
439 * stripped out of
440 * the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
441 *
442 * [action_value] - Only breakpoints with the specified action will pass the
443 * filter.
444 * Possible string values are:
445 * - "CAPTURE" : A CAPTURE.
446 * - "LOG" : A LOG.
447 *
448 * [includeInactive] - When set to `true`, the response includes active and
449 * inactive
450 * breakpoints. Otherwise, it includes only active breakpoints.
451 *
452 * [waitToken] - A wait token that, if specified, blocks the call until the 431 * [waitToken] - A wait token that, if specified, blocks the call until the
453 * breakpoints 432 * breakpoints
454 * list has changed, or a server selected timeout has expired. The value 433 * list has changed, or a server selected timeout has expired. The value
455 * should be set from the last response. The error code 434 * should be set from the last response. The error code
456 * `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which 435 * `google.rpc.Code.ABORTED` (RPC) is returned on wait timeout, which
457 * should be called again with the same `wait_token`. 436 * should be called again with the same `wait_token`.
458 * 437 *
438 * [clientVersion] - The client version making the call.
439 * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
440 *
441 * [action_value] - Only breakpoints with the specified action will pass the
442 * filter.
443 * Possible string values are:
444 * - "CAPTURE" : A CAPTURE.
445 * - "LOG" : A LOG.
446 *
447 * [includeAllUsers] - When set to `true`, the response includes the list of
448 * breakpoints set by
449 * any user. Otherwise, it includes only breakpoints set by the caller.
450 *
451 * [includeInactive] - When set to `true`, the response includes active and
452 * inactive
453 * breakpoints. Otherwise, it includes only active breakpoints.
454 *
455 * [stripResults] - This field is deprecated. The following fields are always
456 * stripped out of
457 * the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
458 *
459 * Completes with a [ListBreakpointsResponse]. 459 * Completes with a [ListBreakpointsResponse].
460 * 460 *
461 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 461 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
462 * error. 462 * error.
463 * 463 *
464 * If the used [http.Client] completes with an error when making a REST call, 464 * If the used [http.Client] completes with an error when making a REST call,
465 * this method will complete with the same error. 465 * this method will complete with the same error.
466 */ 466 */
467 async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.Strin g clientVersion, core.bool includeAllUsers, core.bool stripResults, core.String action_value, core.bool includeInactive, core.String waitToken}) { 467 async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.Strin g waitToken, core.String clientVersion, core.String action_value, core.bool incl udeAllUsers, core.bool includeInactive, core.bool stripResults}) {
468 var _url = null; 468 var _url = null;
469 var _queryParams = new core.Map(); 469 var _queryParams = new core.Map();
470 var _uploadMedia = null; 470 var _uploadMedia = null;
471 var _uploadOptions = null; 471 var _uploadOptions = null;
472 var _downloadOptions = commons.DownloadOptions.Metadata; 472 var _downloadOptions = commons.DownloadOptions.Metadata;
473 var _body = null; 473 var _body = null;
474 474
475 if (debuggeeId == null) { 475 if (debuggeeId == null) {
476 throw new core.ArgumentError("Parameter debuggeeId is required."); 476 throw new core.ArgumentError("Parameter debuggeeId is required.");
477 } 477 }
478 if (waitToken != null) {
479 _queryParams["waitToken"] = [waitToken];
480 }
478 if (clientVersion != null) { 481 if (clientVersion != null) {
479 _queryParams["clientVersion"] = [clientVersion]; 482 _queryParams["clientVersion"] = [clientVersion];
480 } 483 }
484 if (action_value != null) {
485 _queryParams["action.value"] = [action_value];
486 }
481 if (includeAllUsers != null) { 487 if (includeAllUsers != null) {
482 _queryParams["includeAllUsers"] = ["${includeAllUsers}"]; 488 _queryParams["includeAllUsers"] = ["${includeAllUsers}"];
483 } 489 }
490 if (includeInactive != null) {
491 _queryParams["includeInactive"] = ["${includeInactive}"];
492 }
484 if (stripResults != null) { 493 if (stripResults != null) {
485 _queryParams["stripResults"] = ["${stripResults}"]; 494 _queryParams["stripResults"] = ["${stripResults}"];
486 } 495 }
487 if (action_value != null) {
488 _queryParams["action.value"] = [action_value];
489 }
490 if (includeInactive != null) {
491 _queryParams["includeInactive"] = ["${includeInactive}"];
492 }
493 if (waitToken != null) {
494 _queryParams["waitToken"] = [waitToken];
495 }
496 496
497 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId ') + '/breakpoints'; 497 _url = 'v2/debugger/debuggees/' + commons.Escaper.ecapeVariable('$debuggeeId ') + '/breakpoints';
498 498
499 var _response = _requester.request(_url, 499 var _response = _requester.request(_url,
500 "GET", 500 "GET",
501 body: _body, 501 body: _body,
502 queryParams: _queryParams, 502 queryParams: _queryParams,
503 uploadOptions: _uploadOptions, 503 uploadOptions: _uploadOptions,
504 uploadMedia: _uploadMedia, 504 uploadMedia: _uploadMedia,
505 downloadOptions: _downloadOptions); 505 downloadOptions: _downloadOptions);
(...skipping 1483 matching lines...) Expand 10 before | Expand all | Expand 10 after
1989 } 1989 }
1990 if (value != null) { 1990 if (value != null) {
1991 _json["value"] = value; 1991 _json["value"] = value;
1992 } 1992 }
1993 if (varTableIndex != null) { 1993 if (varTableIndex != null) {
1994 _json["varTableIndex"] = varTableIndex; 1994 _json["varTableIndex"] = varTableIndex;
1995 } 1995 }
1996 return _json; 1996 return _json;
1997 } 1997 }
1998 } 1998 }
OLDNEW
« no previous file with comments | « generated/googleapis/lib/cloudbuild/v1.dart ('k') | generated/googleapis/lib/cloudresourcemanager/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698