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

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

Issue 2779563003: Api-roll 47: 2017-03-27 (Closed)
Patch Set: Created 3 years, 8 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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 * This means that an agent does not need to check if a breakpoint has changed 123 * This means that an agent does not need to check if a breakpoint has changed
124 * when it encounters the same breakpoint on a successive call. 124 * when it encounters the same breakpoint on a successive call.
125 * Moreover, an agent should remember the breakpoints that are completed 125 * Moreover, an agent should remember the breakpoints that are completed
126 * until the controller removes them from the active list to avoid 126 * until the controller removes them from the active list to avoid
127 * setting those breakpoints again. 127 * setting those breakpoints again.
128 * 128 *
129 * Request parameters: 129 * Request parameters:
130 * 130 *
131 * [debuggeeId] - Identifies the debuggee. 131 * [debuggeeId] - Identifies the debuggee.
132 * 132 *
133 * [waitToken] - A wait token that, if specified, blocks the method call until
134 * the list
135 * of active breakpoints has changed, or a server selected timeout has
136 * expired. The value should be set from the last returned response.
137 *
133 * [successOnTimeout] - If set to `true`, returns `google.rpc.Code.OK` status 138 * [successOnTimeout] - If set to `true`, returns `google.rpc.Code.OK` status
134 * and sets the 139 * and sets the
135 * `wait_expired` response field to `true` when the server-selected timeout 140 * `wait_expired` response field to `true` when the server-selected timeout
136 * has expired (recommended). 141 * has expired (recommended).
137 * 142 *
138 * If set to `false`, returns `google.rpc.Code.ABORTED` status when the 143 * If set to `false`, returns `google.rpc.Code.ABORTED` status when the
139 * server-selected timeout has expired (deprecated). 144 * server-selected timeout has expired (deprecated).
140 * 145 *
141 * [waitToken] - A wait token that, if specified, blocks the method call until
142 * the list
143 * of active breakpoints has changed, or a server selected timeout has
144 * expired. The value should be set from the last returned response.
145 *
146 * Completes with a [ListActiveBreakpointsResponse]. 146 * Completes with a [ListActiveBreakpointsResponse].
147 * 147 *
148 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 148 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
149 * error. 149 * error.
150 * 150 *
151 * If the used [http.Client] completes with an error when making a REST call, 151 * If the used [http.Client] completes with an error when making a REST call,
152 * this method will complete with the same error. 152 * this method will complete with the same error.
153 */ 153 */
154 async.Future<ListActiveBreakpointsResponse> list(core.String debuggeeId, {core .bool successOnTimeout, core.String waitToken}) { 154 async.Future<ListActiveBreakpointsResponse> list(core.String debuggeeId, {core .String waitToken, core.bool successOnTimeout}) {
155 var _url = null; 155 var _url = null;
156 var _queryParams = new core.Map(); 156 var _queryParams = new core.Map();
157 var _uploadMedia = null; 157 var _uploadMedia = null;
158 var _uploadOptions = null; 158 var _uploadOptions = null;
159 var _downloadOptions = commons.DownloadOptions.Metadata; 159 var _downloadOptions = commons.DownloadOptions.Metadata;
160 var _body = null; 160 var _body = null;
161 161
162 if (debuggeeId == null) { 162 if (debuggeeId == null) {
163 throw new core.ArgumentError("Parameter debuggeeId is required."); 163 throw new core.ArgumentError("Parameter debuggeeId is required.");
164 } 164 }
165 if (waitToken != null) {
166 _queryParams["waitToken"] = [waitToken];
167 }
165 if (successOnTimeout != null) { 168 if (successOnTimeout != null) {
166 _queryParams["successOnTimeout"] = ["${successOnTimeout}"]; 169 _queryParams["successOnTimeout"] = ["${successOnTimeout}"];
167 } 170 }
168 if (waitToken != null) {
169 _queryParams["waitToken"] = [waitToken];
170 }
171 171
172 _url = 'v2/controller/debuggees/' + commons.Escaper.ecapeVariable('$debuggee Id') + '/breakpoints'; 172 _url = 'v2/controller/debuggees/' + commons.Escaper.ecapeVariable('$debuggee Id') + '/breakpoints';
173 173
174 var _response = _requester.request(_url, 174 var _response = _requester.request(_url,
175 "GET", 175 "GET",
176 body: _body, 176 body: _body,
177 queryParams: _queryParams, 177 queryParams: _queryParams,
178 uploadOptions: _uploadOptions, 178 uploadOptions: _uploadOptions,
179 uploadMedia: _uploadMedia, 179 uploadMedia: _uploadMedia,
180 downloadOptions: _downloadOptions); 180 downloadOptions: _downloadOptions);
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 * 437 *
438 * [clientVersion] - The client version making the call. 438 * [clientVersion] - The client version making the call.
439 * Following: `domain/type/version` (e.g., `google.com/intellij/v1`). 439 * Following: `domain/type/version` (e.g., `google.com/intellij/v1`).
440 * 440 *
441 * [action_value] - Only breakpoints with the specified action will pass the 441 * [action_value] - Only breakpoints with the specified action will pass the
442 * filter. 442 * filter.
443 * Possible string values are: 443 * Possible string values are:
444 * - "CAPTURE" : A CAPTURE. 444 * - "CAPTURE" : A CAPTURE.
445 * - "LOG" : A LOG. 445 * - "LOG" : A LOG.
446 * 446 *
447 * [includeInactive] - When set to `true`, the response includes active and
448 * inactive
449 * breakpoints. Otherwise, it includes only active breakpoints.
450 *
447 * [includeAllUsers] - When set to `true`, the response includes the list of 451 * [includeAllUsers] - When set to `true`, the response includes the list of
448 * breakpoints set by 452 * breakpoints set by
449 * any user. Otherwise, it includes only breakpoints set by the caller. 453 * any user. Otherwise, it includes only breakpoints set by the caller.
450 * 454 *
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 455 * [stripResults] - This field is deprecated. The following fields are always
456 * stripped out of 456 * stripped out of
457 * the result: `stack_frames`, `evaluated_expressions` and `variable_table`. 457 * the result: `stack_frames`, `evaluated_expressions` and `variable_table`.
458 * 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 waitToken, core.String clientVersion, core.String action_value, core.bool incl udeAllUsers, core.bool includeInactive, core.bool stripResults}) { 467 async.Future<ListBreakpointsResponse> list(core.String debuggeeId, {core.Strin g waitToken, core.String clientVersion, core.String action_value, core.bool incl udeInactive, core.bool includeAllUsers, 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) { 478 if (waitToken != null) {
479 _queryParams["waitToken"] = [waitToken]; 479 _queryParams["waitToken"] = [waitToken];
480 } 480 }
481 if (clientVersion != null) { 481 if (clientVersion != null) {
482 _queryParams["clientVersion"] = [clientVersion]; 482 _queryParams["clientVersion"] = [clientVersion];
483 } 483 }
484 if (action_value != null) { 484 if (action_value != null) {
485 _queryParams["action.value"] = [action_value]; 485 _queryParams["action.value"] = [action_value];
486 } 486 }
487 if (includeInactive != null) {
488 _queryParams["includeInactive"] = ["${includeInactive}"];
489 }
487 if (includeAllUsers != null) { 490 if (includeAllUsers != null) {
488 _queryParams["includeAllUsers"] = ["${includeAllUsers}"]; 491 _queryParams["includeAllUsers"] = ["${includeAllUsers}"];
489 } 492 }
490 if (includeInactive != null) {
491 _queryParams["includeInactive"] = ["${includeInactive}"];
492 }
493 if (stripResults != null) { 493 if (stripResults != null) {
494 _queryParams["stripResults"] = ["${stripResults}"]; 494 _queryParams["stripResults"] = ["${stripResults}"];
495 } 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,
(...skipping 1486 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/cloudfunctions/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698