OLD | NEW |
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.appengine.v1; | 3 library googleapis.appengine.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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
289 } | 289 } |
290 | 290 |
291 /** | 291 /** |
292 * Lists information about the supported locations for this service. | 292 * Lists information about the supported locations for this service. |
293 * | 293 * |
294 * Request parameters: | 294 * Request parameters: |
295 * | 295 * |
296 * [appsId] - Part of `name`. The resource that owns the locations collection, | 296 * [appsId] - Part of `name`. The resource that owns the locations collection, |
297 * if applicable. | 297 * if applicable. |
298 * | 298 * |
299 * [pageSize] - The standard list page size. | |
300 * | |
301 * [filter] - The standard list filter. | 299 * [filter] - The standard list filter. |
302 * | 300 * |
303 * [pageToken] - The standard list page token. | 301 * [pageToken] - The standard list page token. |
304 * | 302 * |
| 303 * [pageSize] - The standard list page size. |
| 304 * |
305 * Completes with a [ListLocationsResponse]. | 305 * Completes with a [ListLocationsResponse]. |
306 * | 306 * |
307 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 307 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
308 * error. | 308 * error. |
309 * | 309 * |
310 * If the used [http.Client] completes with an error when making a REST call, | 310 * If the used [http.Client] completes with an error when making a REST call, |
311 * this method will complete with the same error. | 311 * this method will complete with the same error. |
312 */ | 312 */ |
313 async.Future<ListLocationsResponse> list(core.String appsId, {core.int pageSiz
e, core.String filter, core.String pageToken}) { | 313 async.Future<ListLocationsResponse> list(core.String appsId, {core.String filt
er, core.String pageToken, core.int pageSize}) { |
314 var _url = null; | 314 var _url = null; |
315 var _queryParams = new core.Map(); | 315 var _queryParams = new core.Map(); |
316 var _uploadMedia = null; | 316 var _uploadMedia = null; |
317 var _uploadOptions = null; | 317 var _uploadOptions = null; |
318 var _downloadOptions = commons.DownloadOptions.Metadata; | 318 var _downloadOptions = commons.DownloadOptions.Metadata; |
319 var _body = null; | 319 var _body = null; |
320 | 320 |
321 if (appsId == null) { | 321 if (appsId == null) { |
322 throw new core.ArgumentError("Parameter appsId is required."); | 322 throw new core.ArgumentError("Parameter appsId is required."); |
323 } | 323 } |
324 if (pageSize != null) { | |
325 _queryParams["pageSize"] = ["${pageSize}"]; | |
326 } | |
327 if (filter != null) { | 324 if (filter != null) { |
328 _queryParams["filter"] = [filter]; | 325 _queryParams["filter"] = [filter]; |
329 } | 326 } |
330 if (pageToken != null) { | 327 if (pageToken != null) { |
331 _queryParams["pageToken"] = [pageToken]; | 328 _queryParams["pageToken"] = [pageToken]; |
332 } | 329 } |
| 330 if (pageSize != null) { |
| 331 _queryParams["pageSize"] = ["${pageSize}"]; |
| 332 } |
333 | 333 |
334 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations'; | 334 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations'; |
335 | 335 |
336 var _response = _requester.request(_url, | 336 var _response = _requester.request(_url, |
337 "GET", | 337 "GET", |
338 body: _body, | 338 body: _body, |
339 queryParams: _queryParams, | 339 queryParams: _queryParams, |
340 uploadOptions: _uploadOptions, | 340 uploadOptions: _uploadOptions, |
341 uploadMedia: _uploadMedia, | 341 uploadMedia: _uploadMedia, |
342 downloadOptions: _downloadOptions); | 342 downloadOptions: _downloadOptions); |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
394 queryParams: _queryParams, | 394 queryParams: _queryParams, |
395 uploadOptions: _uploadOptions, | 395 uploadOptions: _uploadOptions, |
396 uploadMedia: _uploadMedia, | 396 uploadMedia: _uploadMedia, |
397 downloadOptions: _downloadOptions); | 397 downloadOptions: _downloadOptions); |
398 return _response.then((data) => new Operation.fromJson(data)); | 398 return _response.then((data) => new Operation.fromJson(data)); |
399 } | 399 } |
400 | 400 |
401 /** | 401 /** |
402 * Lists operations that match the specified filter in the request. If the | 402 * Lists operations that match the specified filter in the request. If the |
403 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name | 403 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name |
404 * binding below allows API services to override the binding to use different | 404 * binding allows API services to override the binding to use different |
405 * resource name schemes, such as users / * /operations. | 405 * resource name schemes, such as users / * /operations. To override the |
| 406 * binding, API services can add a binding such as "/v1/{name=users / * |
| 407 * }/operations" to their service configuration. For backwards compatibility, |
| 408 * the default name includes the operations collection id, however overriding |
| 409 * users must ensure the name binding is the parent resource, without the |
| 410 * operations collection id. |
406 * | 411 * |
407 * Request parameters: | 412 * Request parameters: |
408 * | 413 * |
409 * [appsId] - Part of `name`. The name of the operation collection. | 414 * [appsId] - Part of `name`. The name of the operation's parent resource. |
410 * | 415 * |
411 * [pageSize] - The standard list page size. | 416 * [pageSize] - The standard list page size. |
412 * | 417 * |
413 * [filter] - The standard list filter. | 418 * [filter] - The standard list filter. |
414 * | 419 * |
415 * [pageToken] - The standard list page token. | 420 * [pageToken] - The standard list page token. |
416 * | 421 * |
417 * Completes with a [ListOperationsResponse]. | 422 * Completes with a [ListOperationsResponse]. |
418 * | 423 * |
419 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 424 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
557 } | 562 } |
558 | 563 |
559 /** | 564 /** |
560 * Lists all the services in the application. | 565 * Lists all the services in the application. |
561 * | 566 * |
562 * Request parameters: | 567 * Request parameters: |
563 * | 568 * |
564 * [appsId] - Part of `parent`. Name of the parent Application resource. | 569 * [appsId] - Part of `parent`. Name of the parent Application resource. |
565 * Example: apps/myapp. | 570 * Example: apps/myapp. |
566 * | 571 * |
| 572 * [pageToken] - Continuation token for fetching the next page of results. |
| 573 * |
567 * [pageSize] - Maximum results to return per page. | 574 * [pageSize] - Maximum results to return per page. |
568 * | 575 * |
569 * [pageToken] - Continuation token for fetching the next page of results. | |
570 * | |
571 * Completes with a [ListServicesResponse]. | 576 * Completes with a [ListServicesResponse]. |
572 * | 577 * |
573 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 578 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
574 * error. | 579 * error. |
575 * | 580 * |
576 * If the used [http.Client] completes with an error when making a REST call, | 581 * If the used [http.Client] completes with an error when making a REST call, |
577 * this method will complete with the same error. | 582 * this method will complete with the same error. |
578 */ | 583 */ |
579 async.Future<ListServicesResponse> list(core.String appsId, {core.int pageSize
, core.String pageToken}) { | 584 async.Future<ListServicesResponse> list(core.String appsId, {core.String pageT
oken, core.int pageSize}) { |
580 var _url = null; | 585 var _url = null; |
581 var _queryParams = new core.Map(); | 586 var _queryParams = new core.Map(); |
582 var _uploadMedia = null; | 587 var _uploadMedia = null; |
583 var _uploadOptions = null; | 588 var _uploadOptions = null; |
584 var _downloadOptions = commons.DownloadOptions.Metadata; | 589 var _downloadOptions = commons.DownloadOptions.Metadata; |
585 var _body = null; | 590 var _body = null; |
586 | 591 |
587 if (appsId == null) { | 592 if (appsId == null) { |
588 throw new core.ArgumentError("Parameter appsId is required."); | 593 throw new core.ArgumentError("Parameter appsId is required."); |
589 } | 594 } |
| 595 if (pageToken != null) { |
| 596 _queryParams["pageToken"] = [pageToken]; |
| 597 } |
590 if (pageSize != null) { | 598 if (pageSize != null) { |
591 _queryParams["pageSize"] = ["${pageSize}"]; | 599 _queryParams["pageSize"] = ["${pageSize}"]; |
592 } | 600 } |
593 if (pageToken != null) { | |
594 _queryParams["pageToken"] = [pageToken]; | |
595 } | |
596 | 601 |
597 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services'; | 602 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services'; |
598 | 603 |
599 var _response = _requester.request(_url, | 604 var _response = _requester.request(_url, |
600 "GET", | 605 "GET", |
601 body: _body, | 606 body: _body, |
602 queryParams: _queryParams, | 607 queryParams: _queryParams, |
603 uploadOptions: _uploadOptions, | 608 uploadOptions: _uploadOptions, |
604 uploadMedia: _uploadMedia, | 609 uploadMedia: _uploadMedia, |
605 downloadOptions: _downloadOptions); | 610 downloadOptions: _downloadOptions); |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1179 * | 1184 * |
1180 * Request parameters: | 1185 * Request parameters: |
1181 * | 1186 * |
1182 * [appsId] - Part of `parent`. Name of the parent Version resource. Example: | 1187 * [appsId] - Part of `parent`. Name of the parent Version resource. Example: |
1183 * apps/myapp/services/default/versions/v1. | 1188 * apps/myapp/services/default/versions/v1. |
1184 * | 1189 * |
1185 * [servicesId] - Part of `parent`. See documentation of `appsId`. | 1190 * [servicesId] - Part of `parent`. See documentation of `appsId`. |
1186 * | 1191 * |
1187 * [versionsId] - Part of `parent`. See documentation of `appsId`. | 1192 * [versionsId] - Part of `parent`. See documentation of `appsId`. |
1188 * | 1193 * |
| 1194 * [pageToken] - Continuation token for fetching the next page of results. |
| 1195 * |
1189 * [pageSize] - Maximum results to return per page. | 1196 * [pageSize] - Maximum results to return per page. |
1190 * | 1197 * |
1191 * [pageToken] - Continuation token for fetching the next page of results. | |
1192 * | |
1193 * Completes with a [ListInstancesResponse]. | 1198 * Completes with a [ListInstancesResponse]. |
1194 * | 1199 * |
1195 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1200 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1196 * error. | 1201 * error. |
1197 * | 1202 * |
1198 * If the used [http.Client] completes with an error when making a REST call, | 1203 * If the used [http.Client] completes with an error when making a REST call, |
1199 * this method will complete with the same error. | 1204 * this method will complete with the same error. |
1200 */ | 1205 */ |
1201 async.Future<ListInstancesResponse> list(core.String appsId, core.String servi
cesId, core.String versionsId, {core.int pageSize, core.String pageToken}) { | 1206 async.Future<ListInstancesResponse> list(core.String appsId, core.String servi
cesId, core.String versionsId, {core.String pageToken, core.int pageSize}) { |
1202 var _url = null; | 1207 var _url = null; |
1203 var _queryParams = new core.Map(); | 1208 var _queryParams = new core.Map(); |
1204 var _uploadMedia = null; | 1209 var _uploadMedia = null; |
1205 var _uploadOptions = null; | 1210 var _uploadOptions = null; |
1206 var _downloadOptions = commons.DownloadOptions.Metadata; | 1211 var _downloadOptions = commons.DownloadOptions.Metadata; |
1207 var _body = null; | 1212 var _body = null; |
1208 | 1213 |
1209 if (appsId == null) { | 1214 if (appsId == null) { |
1210 throw new core.ArgumentError("Parameter appsId is required."); | 1215 throw new core.ArgumentError("Parameter appsId is required."); |
1211 } | 1216 } |
1212 if (servicesId == null) { | 1217 if (servicesId == null) { |
1213 throw new core.ArgumentError("Parameter servicesId is required."); | 1218 throw new core.ArgumentError("Parameter servicesId is required."); |
1214 } | 1219 } |
1215 if (versionsId == null) { | 1220 if (versionsId == null) { |
1216 throw new core.ArgumentError("Parameter versionsId is required."); | 1221 throw new core.ArgumentError("Parameter versionsId is required."); |
1217 } | 1222 } |
| 1223 if (pageToken != null) { |
| 1224 _queryParams["pageToken"] = [pageToken]; |
| 1225 } |
1218 if (pageSize != null) { | 1226 if (pageSize != null) { |
1219 _queryParams["pageSize"] = ["${pageSize}"]; | 1227 _queryParams["pageSize"] = ["${pageSize}"]; |
1220 } | 1228 } |
1221 if (pageToken != null) { | |
1222 _queryParams["pageToken"] = [pageToken]; | |
1223 } | |
1224 | 1229 |
1225 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/'
+ commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.
ecapeVariable('$versionsId') + '/instances'; | 1230 _url = 'v1/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/'
+ commons.Escaper.ecapeVariable('$servicesId') + '/versions/' + commons.Escaper.
ecapeVariable('$versionsId') + '/instances'; |
1226 | 1231 |
1227 var _response = _requester.request(_url, | 1232 var _response = _requester.request(_url, |
1228 "GET", | 1233 "GET", |
1229 body: _body, | 1234 body: _body, |
1230 queryParams: _queryParams, | 1235 queryParams: _queryParams, |
1231 uploadOptions: _uploadOptions, | 1236 uploadOptions: _uploadOptions, |
1232 uploadMedia: _uploadMedia, | 1237 uploadMedia: _uploadMedia, |
1233 downloadOptions: _downloadOptions); | 1238 downloadOptions: _downloadOptions); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1305 script = _json["script"]; | 1310 script = _json["script"]; |
1306 } | 1311 } |
1307 if (_json.containsKey("securityLevel")) { | 1312 if (_json.containsKey("securityLevel")) { |
1308 securityLevel = _json["securityLevel"]; | 1313 securityLevel = _json["securityLevel"]; |
1309 } | 1314 } |
1310 if (_json.containsKey("url")) { | 1315 if (_json.containsKey("url")) { |
1311 url = _json["url"]; | 1316 url = _json["url"]; |
1312 } | 1317 } |
1313 } | 1318 } |
1314 | 1319 |
1315 core.Map toJson() { | 1320 core.Map<core.String, core.Object> toJson() { |
1316 var _json = new core.Map(); | 1321 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1317 if (authFailAction != null) { | 1322 if (authFailAction != null) { |
1318 _json["authFailAction"] = authFailAction; | 1323 _json["authFailAction"] = authFailAction; |
1319 } | 1324 } |
1320 if (login != null) { | 1325 if (login != null) { |
1321 _json["login"] = login; | 1326 _json["login"] = login; |
1322 } | 1327 } |
1323 if (script != null) { | 1328 if (script != null) { |
1324 _json["script"] = script; | 1329 _json["script"] = script; |
1325 } | 1330 } |
1326 if (securityLevel != null) { | 1331 if (securityLevel != null) { |
(...skipping 12 matching lines...) Expand all Loading... |
1339 core.String scriptPath; | 1344 core.String scriptPath; |
1340 | 1345 |
1341 ApiEndpointHandler(); | 1346 ApiEndpointHandler(); |
1342 | 1347 |
1343 ApiEndpointHandler.fromJson(core.Map _json) { | 1348 ApiEndpointHandler.fromJson(core.Map _json) { |
1344 if (_json.containsKey("scriptPath")) { | 1349 if (_json.containsKey("scriptPath")) { |
1345 scriptPath = _json["scriptPath"]; | 1350 scriptPath = _json["scriptPath"]; |
1346 } | 1351 } |
1347 } | 1352 } |
1348 | 1353 |
1349 core.Map toJson() { | 1354 core.Map<core.String, core.Object> toJson() { |
1350 var _json = new core.Map(); | 1355 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1351 if (scriptPath != null) { | 1356 if (scriptPath != null) { |
1352 _json["scriptPath"] = scriptPath; | 1357 _json["scriptPath"] = scriptPath; |
1353 } | 1358 } |
1354 return _json; | 1359 return _json; |
1355 } | 1360 } |
1356 } | 1361 } |
1357 | 1362 |
1358 /** | 1363 /** |
1359 * An Application resource contains the top-level configuration of an App Engine | 1364 * An Application resource contains the top-level configuration of an App Engine |
1360 * application. | 1365 * application. Next tag: 19 |
1361 */ | 1366 */ |
1362 class Application { | 1367 class Application { |
1363 /** | 1368 /** |
1364 * Google Apps authentication domain that controls which users can access this | 1369 * Google Apps authentication domain that controls which users can access this |
1365 * application.Defaults to open access for any Google Account. | 1370 * application.Defaults to open access for any Google Account. |
1366 */ | 1371 */ |
1367 core.String authDomain; | 1372 core.String authDomain; |
1368 /** | 1373 /** |
1369 * Google Cloud Storage bucket that can be used for storing files associated | 1374 * Google Cloud Storage bucket that can be used for storing files associated |
1370 * with this application. This bucket is associated with the application and | 1375 * with this application. This bucket is associated with the application and |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1458 locationId = _json["locationId"]; | 1463 locationId = _json["locationId"]; |
1459 } | 1464 } |
1460 if (_json.containsKey("name")) { | 1465 if (_json.containsKey("name")) { |
1461 name = _json["name"]; | 1466 name = _json["name"]; |
1462 } | 1467 } |
1463 if (_json.containsKey("servingStatus")) { | 1468 if (_json.containsKey("servingStatus")) { |
1464 servingStatus = _json["servingStatus"]; | 1469 servingStatus = _json["servingStatus"]; |
1465 } | 1470 } |
1466 } | 1471 } |
1467 | 1472 |
1468 core.Map toJson() { | 1473 core.Map<core.String, core.Object> toJson() { |
1469 var _json = new core.Map(); | 1474 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1470 if (authDomain != null) { | 1475 if (authDomain != null) { |
1471 _json["authDomain"] = authDomain; | 1476 _json["authDomain"] = authDomain; |
1472 } | 1477 } |
1473 if (codeBucket != null) { | 1478 if (codeBucket != null) { |
1474 _json["codeBucket"] = codeBucket; | 1479 _json["codeBucket"] = codeBucket; |
1475 } | 1480 } |
1476 if (defaultBucket != null) { | 1481 if (defaultBucket != null) { |
1477 _json["defaultBucket"] = defaultBucket; | 1482 _json["defaultBucket"] = defaultBucket; |
1478 } | 1483 } |
1479 if (defaultCookieExpiration != null) { | 1484 if (defaultCookieExpiration != null) { |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1593 minTotalInstances = _json["minTotalInstances"]; | 1598 minTotalInstances = _json["minTotalInstances"]; |
1594 } | 1599 } |
1595 if (_json.containsKey("networkUtilization")) { | 1600 if (_json.containsKey("networkUtilization")) { |
1596 networkUtilization = new NetworkUtilization.fromJson(_json["networkUtiliza
tion"]); | 1601 networkUtilization = new NetworkUtilization.fromJson(_json["networkUtiliza
tion"]); |
1597 } | 1602 } |
1598 if (_json.containsKey("requestUtilization")) { | 1603 if (_json.containsKey("requestUtilization")) { |
1599 requestUtilization = new RequestUtilization.fromJson(_json["requestUtiliza
tion"]); | 1604 requestUtilization = new RequestUtilization.fromJson(_json["requestUtiliza
tion"]); |
1600 } | 1605 } |
1601 } | 1606 } |
1602 | 1607 |
1603 core.Map toJson() { | 1608 core.Map<core.String, core.Object> toJson() { |
1604 var _json = new core.Map(); | 1609 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1605 if (coolDownPeriod != null) { | 1610 if (coolDownPeriod != null) { |
1606 _json["coolDownPeriod"] = coolDownPeriod; | 1611 _json["coolDownPeriod"] = coolDownPeriod; |
1607 } | 1612 } |
1608 if (cpuUtilization != null) { | 1613 if (cpuUtilization != null) { |
1609 _json["cpuUtilization"] = (cpuUtilization).toJson(); | 1614 _json["cpuUtilization"] = (cpuUtilization).toJson(); |
1610 } | 1615 } |
1611 if (diskUtilization != null) { | 1616 if (diskUtilization != null) { |
1612 _json["diskUtilization"] = (diskUtilization).toJson(); | 1617 _json["diskUtilization"] = (diskUtilization).toJson(); |
1613 } | 1618 } |
1614 if (maxConcurrentRequests != null) { | 1619 if (maxConcurrentRequests != null) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1661 | 1666 |
1662 BasicScaling.fromJson(core.Map _json) { | 1667 BasicScaling.fromJson(core.Map _json) { |
1663 if (_json.containsKey("idleTimeout")) { | 1668 if (_json.containsKey("idleTimeout")) { |
1664 idleTimeout = _json["idleTimeout"]; | 1669 idleTimeout = _json["idleTimeout"]; |
1665 } | 1670 } |
1666 if (_json.containsKey("maxInstances")) { | 1671 if (_json.containsKey("maxInstances")) { |
1667 maxInstances = _json["maxInstances"]; | 1672 maxInstances = _json["maxInstances"]; |
1668 } | 1673 } |
1669 } | 1674 } |
1670 | 1675 |
1671 core.Map toJson() { | 1676 core.Map<core.String, core.Object> toJson() { |
1672 var _json = new core.Map(); | 1677 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1673 if (idleTimeout != null) { | 1678 if (idleTimeout != null) { |
1674 _json["idleTimeout"] = idleTimeout; | 1679 _json["idleTimeout"] = idleTimeout; |
1675 } | 1680 } |
1676 if (maxInstances != null) { | 1681 if (maxInstances != null) { |
1677 _json["maxInstances"] = maxInstances; | 1682 _json["maxInstances"] = maxInstances; |
1678 } | 1683 } |
1679 return _json; | 1684 return _json; |
1680 } | 1685 } |
1681 } | 1686 } |
1682 | 1687 |
(...skipping 11 matching lines...) Expand all Loading... |
1694 core.String image; | 1699 core.String image; |
1695 | 1700 |
1696 ContainerInfo(); | 1701 ContainerInfo(); |
1697 | 1702 |
1698 ContainerInfo.fromJson(core.Map _json) { | 1703 ContainerInfo.fromJson(core.Map _json) { |
1699 if (_json.containsKey("image")) { | 1704 if (_json.containsKey("image")) { |
1700 image = _json["image"]; | 1705 image = _json["image"]; |
1701 } | 1706 } |
1702 } | 1707 } |
1703 | 1708 |
1704 core.Map toJson() { | 1709 core.Map<core.String, core.Object> toJson() { |
1705 var _json = new core.Map(); | 1710 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1706 if (image != null) { | 1711 if (image != null) { |
1707 _json["image"] = image; | 1712 _json["image"] = image; |
1708 } | 1713 } |
1709 return _json; | 1714 return _json; |
1710 } | 1715 } |
1711 } | 1716 } |
1712 | 1717 |
1713 /** Target scaling by CPU usage. */ | 1718 /** Target scaling by CPU usage. */ |
1714 class CpuUtilization { | 1719 class CpuUtilization { |
1715 /** Period of time over which CPU utilization is calculated. */ | 1720 /** Period of time over which CPU utilization is calculated. */ |
1716 core.String aggregationWindowLength; | 1721 core.String aggregationWindowLength; |
1717 /** | 1722 /** |
1718 * Target CPU utilization ratio to maintain when scaling. Must be between 0 | 1723 * Target CPU utilization ratio to maintain when scaling. Must be between 0 |
1719 * and 1. | 1724 * and 1. |
1720 */ | 1725 */ |
1721 core.double targetUtilization; | 1726 core.double targetUtilization; |
1722 | 1727 |
1723 CpuUtilization(); | 1728 CpuUtilization(); |
1724 | 1729 |
1725 CpuUtilization.fromJson(core.Map _json) { | 1730 CpuUtilization.fromJson(core.Map _json) { |
1726 if (_json.containsKey("aggregationWindowLength")) { | 1731 if (_json.containsKey("aggregationWindowLength")) { |
1727 aggregationWindowLength = _json["aggregationWindowLength"]; | 1732 aggregationWindowLength = _json["aggregationWindowLength"]; |
1728 } | 1733 } |
1729 if (_json.containsKey("targetUtilization")) { | 1734 if (_json.containsKey("targetUtilization")) { |
1730 targetUtilization = _json["targetUtilization"]; | 1735 targetUtilization = _json["targetUtilization"]; |
1731 } | 1736 } |
1732 } | 1737 } |
1733 | 1738 |
1734 core.Map toJson() { | 1739 core.Map<core.String, core.Object> toJson() { |
1735 var _json = new core.Map(); | 1740 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1736 if (aggregationWindowLength != null) { | 1741 if (aggregationWindowLength != null) { |
1737 _json["aggregationWindowLength"] = aggregationWindowLength; | 1742 _json["aggregationWindowLength"] = aggregationWindowLength; |
1738 } | 1743 } |
1739 if (targetUtilization != null) { | 1744 if (targetUtilization != null) { |
1740 _json["targetUtilization"] = targetUtilization; | 1745 _json["targetUtilization"] = targetUtilization; |
1741 } | 1746 } |
1742 return _json; | 1747 return _json; |
1743 } | 1748 } |
1744 } | 1749 } |
1745 | 1750 |
(...skipping 10 matching lines...) Expand all Loading... |
1756 core.String sshKey; | 1761 core.String sshKey; |
1757 | 1762 |
1758 DebugInstanceRequest(); | 1763 DebugInstanceRequest(); |
1759 | 1764 |
1760 DebugInstanceRequest.fromJson(core.Map _json) { | 1765 DebugInstanceRequest.fromJson(core.Map _json) { |
1761 if (_json.containsKey("sshKey")) { | 1766 if (_json.containsKey("sshKey")) { |
1762 sshKey = _json["sshKey"]; | 1767 sshKey = _json["sshKey"]; |
1763 } | 1768 } |
1764 } | 1769 } |
1765 | 1770 |
1766 core.Map toJson() { | 1771 core.Map<core.String, core.Object> toJson() { |
1767 var _json = new core.Map(); | 1772 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1768 if (sshKey != null) { | 1773 if (sshKey != null) { |
1769 _json["sshKey"] = sshKey; | 1774 _json["sshKey"] = sshKey; |
1770 } | 1775 } |
1771 return _json; | 1776 return _json; |
1772 } | 1777 } |
1773 } | 1778 } |
1774 | 1779 |
1775 /** Code and application artifacts used to deploy a version to App Engine. */ | 1780 /** Code and application artifacts used to deploy a version to App Engine. */ |
1776 class Deployment { | 1781 class Deployment { |
1777 /** | 1782 /** |
(...skipping 10 matching lines...) Expand all Loading... |
1788 /** The zip file for this deployment, if this is a zip deployment. */ | 1793 /** The zip file for this deployment, if this is a zip deployment. */ |
1789 ZipInfo zip; | 1794 ZipInfo zip; |
1790 | 1795 |
1791 Deployment(); | 1796 Deployment(); |
1792 | 1797 |
1793 Deployment.fromJson(core.Map _json) { | 1798 Deployment.fromJson(core.Map _json) { |
1794 if (_json.containsKey("container")) { | 1799 if (_json.containsKey("container")) { |
1795 container = new ContainerInfo.fromJson(_json["container"]); | 1800 container = new ContainerInfo.fromJson(_json["container"]); |
1796 } | 1801 } |
1797 if (_json.containsKey("files")) { | 1802 if (_json.containsKey("files")) { |
1798 files = commons.mapMap(_json["files"], (item) => new FileInfo.fromJson(ite
m)); | 1803 files = commons.mapMap<core.Map<core.String, core.Object>, FileInfo>(_json
["files"], (core.Map<core.String, core.Object> item) => new FileInfo.fromJson(it
em)); |
1799 } | 1804 } |
1800 if (_json.containsKey("zip")) { | 1805 if (_json.containsKey("zip")) { |
1801 zip = new ZipInfo.fromJson(_json["zip"]); | 1806 zip = new ZipInfo.fromJson(_json["zip"]); |
1802 } | 1807 } |
1803 } | 1808 } |
1804 | 1809 |
1805 core.Map toJson() { | 1810 core.Map<core.String, core.Object> toJson() { |
1806 var _json = new core.Map(); | 1811 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1807 if (container != null) { | 1812 if (container != null) { |
1808 _json["container"] = (container).toJson(); | 1813 _json["container"] = (container).toJson(); |
1809 } | 1814 } |
1810 if (files != null) { | 1815 if (files != null) { |
1811 _json["files"] = commons.mapMap(files, (item) => (item).toJson()); | 1816 _json["files"] = commons.mapMap<FileInfo, core.Map<core.String, core.Objec
t>>(files, (FileInfo item) => (item).toJson()); |
1812 } | 1817 } |
1813 if (zip != null) { | 1818 if (zip != null) { |
1814 _json["zip"] = (zip).toJson(); | 1819 _json["zip"] = (zip).toJson(); |
1815 } | 1820 } |
1816 return _json; | 1821 return _json; |
1817 } | 1822 } |
1818 } | 1823 } |
1819 | 1824 |
1820 /** Target scaling by disk usage. Only applicable for VM runtimes. */ | 1825 /** Target scaling by disk usage. Only applicable for VM runtimes. */ |
1821 class DiskUtilization { | 1826 class DiskUtilization { |
(...skipping 16 matching lines...) Expand all Loading... |
1838 targetReadOpsPerSecond = _json["targetReadOpsPerSecond"]; | 1843 targetReadOpsPerSecond = _json["targetReadOpsPerSecond"]; |
1839 } | 1844 } |
1840 if (_json.containsKey("targetWriteBytesPerSecond")) { | 1845 if (_json.containsKey("targetWriteBytesPerSecond")) { |
1841 targetWriteBytesPerSecond = _json["targetWriteBytesPerSecond"]; | 1846 targetWriteBytesPerSecond = _json["targetWriteBytesPerSecond"]; |
1842 } | 1847 } |
1843 if (_json.containsKey("targetWriteOpsPerSecond")) { | 1848 if (_json.containsKey("targetWriteOpsPerSecond")) { |
1844 targetWriteOpsPerSecond = _json["targetWriteOpsPerSecond"]; | 1849 targetWriteOpsPerSecond = _json["targetWriteOpsPerSecond"]; |
1845 } | 1850 } |
1846 } | 1851 } |
1847 | 1852 |
1848 core.Map toJson() { | 1853 core.Map<core.String, core.Object> toJson() { |
1849 var _json = new core.Map(); | 1854 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1850 if (targetReadBytesPerSecond != null) { | 1855 if (targetReadBytesPerSecond != null) { |
1851 _json["targetReadBytesPerSecond"] = targetReadBytesPerSecond; | 1856 _json["targetReadBytesPerSecond"] = targetReadBytesPerSecond; |
1852 } | 1857 } |
1853 if (targetReadOpsPerSecond != null) { | 1858 if (targetReadOpsPerSecond != null) { |
1854 _json["targetReadOpsPerSecond"] = targetReadOpsPerSecond; | 1859 _json["targetReadOpsPerSecond"] = targetReadOpsPerSecond; |
1855 } | 1860 } |
1856 if (targetWriteBytesPerSecond != null) { | 1861 if (targetWriteBytesPerSecond != null) { |
1857 _json["targetWriteBytesPerSecond"] = targetWriteBytesPerSecond; | 1862 _json["targetWriteBytesPerSecond"] = targetWriteBytesPerSecond; |
1858 } | 1863 } |
1859 if (targetWriteOpsPerSecond != null) { | 1864 if (targetWriteOpsPerSecond != null) { |
(...skipping 26 matching lines...) Expand all Loading... |
1886 | 1891 |
1887 EndpointsApiService.fromJson(core.Map _json) { | 1892 EndpointsApiService.fromJson(core.Map _json) { |
1888 if (_json.containsKey("configId")) { | 1893 if (_json.containsKey("configId")) { |
1889 configId = _json["configId"]; | 1894 configId = _json["configId"]; |
1890 } | 1895 } |
1891 if (_json.containsKey("name")) { | 1896 if (_json.containsKey("name")) { |
1892 name = _json["name"]; | 1897 name = _json["name"]; |
1893 } | 1898 } |
1894 } | 1899 } |
1895 | 1900 |
1896 core.Map toJson() { | 1901 core.Map<core.String, core.Object> toJson() { |
1897 var _json = new core.Map(); | 1902 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1898 if (configId != null) { | 1903 if (configId != null) { |
1899 _json["configId"] = configId; | 1904 _json["configId"] = configId; |
1900 } | 1905 } |
1901 if (name != null) { | 1906 if (name != null) { |
1902 _json["name"] = name; | 1907 _json["name"] = name; |
1903 } | 1908 } |
1904 return _json; | 1909 return _json; |
1905 } | 1910 } |
1906 } | 1911 } |
1907 | 1912 |
(...skipping 22 matching lines...) Expand all Loading... |
1930 errorCode = _json["errorCode"]; | 1935 errorCode = _json["errorCode"]; |
1931 } | 1936 } |
1932 if (_json.containsKey("mimeType")) { | 1937 if (_json.containsKey("mimeType")) { |
1933 mimeType = _json["mimeType"]; | 1938 mimeType = _json["mimeType"]; |
1934 } | 1939 } |
1935 if (_json.containsKey("staticFile")) { | 1940 if (_json.containsKey("staticFile")) { |
1936 staticFile = _json["staticFile"]; | 1941 staticFile = _json["staticFile"]; |
1937 } | 1942 } |
1938 } | 1943 } |
1939 | 1944 |
1940 core.Map toJson() { | 1945 core.Map<core.String, core.Object> toJson() { |
1941 var _json = new core.Map(); | 1946 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1942 if (errorCode != null) { | 1947 if (errorCode != null) { |
1943 _json["errorCode"] = errorCode; | 1948 _json["errorCode"] = errorCode; |
1944 } | 1949 } |
1945 if (mimeType != null) { | 1950 if (mimeType != null) { |
1946 _json["mimeType"] = mimeType; | 1951 _json["mimeType"] = mimeType; |
1947 } | 1952 } |
1948 if (staticFile != null) { | 1953 if (staticFile != null) { |
1949 _json["staticFile"] = staticFile; | 1954 _json["staticFile"] = staticFile; |
1950 } | 1955 } |
1951 return _json; | 1956 return _json; |
(...skipping 25 matching lines...) Expand all Loading... |
1977 mimeType = _json["mimeType"]; | 1982 mimeType = _json["mimeType"]; |
1978 } | 1983 } |
1979 if (_json.containsKey("sha1Sum")) { | 1984 if (_json.containsKey("sha1Sum")) { |
1980 sha1Sum = _json["sha1Sum"]; | 1985 sha1Sum = _json["sha1Sum"]; |
1981 } | 1986 } |
1982 if (_json.containsKey("sourceUrl")) { | 1987 if (_json.containsKey("sourceUrl")) { |
1983 sourceUrl = _json["sourceUrl"]; | 1988 sourceUrl = _json["sourceUrl"]; |
1984 } | 1989 } |
1985 } | 1990 } |
1986 | 1991 |
1987 core.Map toJson() { | 1992 core.Map<core.String, core.Object> toJson() { |
1988 var _json = new core.Map(); | 1993 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1989 if (mimeType != null) { | 1994 if (mimeType != null) { |
1990 _json["mimeType"] = mimeType; | 1995 _json["mimeType"] = mimeType; |
1991 } | 1996 } |
1992 if (sha1Sum != null) { | 1997 if (sha1Sum != null) { |
1993 _json["sha1Sum"] = sha1Sum; | 1998 _json["sha1Sum"] = sha1Sum; |
1994 } | 1999 } |
1995 if (sourceUrl != null) { | 2000 if (sourceUrl != null) { |
1996 _json["sourceUrl"] = sourceUrl; | 2001 _json["sourceUrl"] = sourceUrl; |
1997 } | 2002 } |
1998 return _json; | 2003 return _json; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2051 restartThreshold = _json["restartThreshold"]; | 2056 restartThreshold = _json["restartThreshold"]; |
2052 } | 2057 } |
2053 if (_json.containsKey("timeout")) { | 2058 if (_json.containsKey("timeout")) { |
2054 timeout = _json["timeout"]; | 2059 timeout = _json["timeout"]; |
2055 } | 2060 } |
2056 if (_json.containsKey("unhealthyThreshold")) { | 2061 if (_json.containsKey("unhealthyThreshold")) { |
2057 unhealthyThreshold = _json["unhealthyThreshold"]; | 2062 unhealthyThreshold = _json["unhealthyThreshold"]; |
2058 } | 2063 } |
2059 } | 2064 } |
2060 | 2065 |
2061 core.Map toJson() { | 2066 core.Map<core.String, core.Object> toJson() { |
2062 var _json = new core.Map(); | 2067 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2063 if (checkInterval != null) { | 2068 if (checkInterval != null) { |
2064 _json["checkInterval"] = checkInterval; | 2069 _json["checkInterval"] = checkInterval; |
2065 } | 2070 } |
2066 if (disableHealthCheck != null) { | 2071 if (disableHealthCheck != null) { |
2067 _json["disableHealthCheck"] = disableHealthCheck; | 2072 _json["disableHealthCheck"] = disableHealthCheck; |
2068 } | 2073 } |
2069 if (healthyThreshold != null) { | 2074 if (healthyThreshold != null) { |
2070 _json["healthyThreshold"] = healthyThreshold; | 2075 _json["healthyThreshold"] = healthyThreshold; |
2071 } | 2076 } |
2072 if (host != null) { | 2077 if (host != null) { |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2115 oauth2ClientId = _json["oauth2ClientId"]; | 2120 oauth2ClientId = _json["oauth2ClientId"]; |
2116 } | 2121 } |
2117 if (_json.containsKey("oauth2ClientSecret")) { | 2122 if (_json.containsKey("oauth2ClientSecret")) { |
2118 oauth2ClientSecret = _json["oauth2ClientSecret"]; | 2123 oauth2ClientSecret = _json["oauth2ClientSecret"]; |
2119 } | 2124 } |
2120 if (_json.containsKey("oauth2ClientSecretSha256")) { | 2125 if (_json.containsKey("oauth2ClientSecretSha256")) { |
2121 oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"]; | 2126 oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"]; |
2122 } | 2127 } |
2123 } | 2128 } |
2124 | 2129 |
2125 core.Map toJson() { | 2130 core.Map<core.String, core.Object> toJson() { |
2126 var _json = new core.Map(); | 2131 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2127 if (enabled != null) { | 2132 if (enabled != null) { |
2128 _json["enabled"] = enabled; | 2133 _json["enabled"] = enabled; |
2129 } | 2134 } |
2130 if (oauth2ClientId != null) { | 2135 if (oauth2ClientId != null) { |
2131 _json["oauth2ClientId"] = oauth2ClientId; | 2136 _json["oauth2ClientId"] = oauth2ClientId; |
2132 } | 2137 } |
2133 if (oauth2ClientSecret != null) { | 2138 if (oauth2ClientSecret != null) { |
2134 _json["oauth2ClientSecret"] = oauth2ClientSecret; | 2139 _json["oauth2ClientSecret"] = oauth2ClientSecret; |
2135 } | 2140 } |
2136 if (oauth2ClientSecretSha256 != null) { | 2141 if (oauth2ClientSecretSha256 != null) { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2254 vmName = _json["vmName"]; | 2259 vmName = _json["vmName"]; |
2255 } | 2260 } |
2256 if (_json.containsKey("vmStatus")) { | 2261 if (_json.containsKey("vmStatus")) { |
2257 vmStatus = _json["vmStatus"]; | 2262 vmStatus = _json["vmStatus"]; |
2258 } | 2263 } |
2259 if (_json.containsKey("vmZoneName")) { | 2264 if (_json.containsKey("vmZoneName")) { |
2260 vmZoneName = _json["vmZoneName"]; | 2265 vmZoneName = _json["vmZoneName"]; |
2261 } | 2266 } |
2262 } | 2267 } |
2263 | 2268 |
2264 core.Map toJson() { | 2269 core.Map<core.String, core.Object> toJson() { |
2265 var _json = new core.Map(); | 2270 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2266 if (appEngineRelease != null) { | 2271 if (appEngineRelease != null) { |
2267 _json["appEngineRelease"] = appEngineRelease; | 2272 _json["appEngineRelease"] = appEngineRelease; |
2268 } | 2273 } |
2269 if (availability != null) { | 2274 if (availability != null) { |
2270 _json["availability"] = availability; | 2275 _json["availability"] = availability; |
2271 } | 2276 } |
2272 if (averageLatency != null) { | 2277 if (averageLatency != null) { |
2273 _json["averageLatency"] = averageLatency; | 2278 _json["averageLatency"] = averageLatency; |
2274 } | 2279 } |
2275 if (errors != null) { | 2280 if (errors != null) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2326 | 2331 |
2327 Library.fromJson(core.Map _json) { | 2332 Library.fromJson(core.Map _json) { |
2328 if (_json.containsKey("name")) { | 2333 if (_json.containsKey("name")) { |
2329 name = _json["name"]; | 2334 name = _json["name"]; |
2330 } | 2335 } |
2331 if (_json.containsKey("version")) { | 2336 if (_json.containsKey("version")) { |
2332 version = _json["version"]; | 2337 version = _json["version"]; |
2333 } | 2338 } |
2334 } | 2339 } |
2335 | 2340 |
2336 core.Map toJson() { | 2341 core.Map<core.String, core.Object> toJson() { |
2337 var _json = new core.Map(); | 2342 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2338 if (name != null) { | 2343 if (name != null) { |
2339 _json["name"] = name; | 2344 _json["name"] = name; |
2340 } | 2345 } |
2341 if (version != null) { | 2346 if (version != null) { |
2342 _json["version"] = version; | 2347 _json["version"] = version; |
2343 } | 2348 } |
2344 return _json; | 2349 return _json; |
2345 } | 2350 } |
2346 } | 2351 } |
2347 | 2352 |
2348 /** Response message for Instances.ListInstances. */ | 2353 /** Response message for Instances.ListInstances. */ |
2349 class ListInstancesResponse { | 2354 class ListInstancesResponse { |
2350 /** The instances belonging to the requested version. */ | 2355 /** The instances belonging to the requested version. */ |
2351 core.List<Instance> instances; | 2356 core.List<Instance> instances; |
2352 /** Continuation token for fetching the next page of results. */ | 2357 /** Continuation token for fetching the next page of results. */ |
2353 core.String nextPageToken; | 2358 core.String nextPageToken; |
2354 | 2359 |
2355 ListInstancesResponse(); | 2360 ListInstancesResponse(); |
2356 | 2361 |
2357 ListInstancesResponse.fromJson(core.Map _json) { | 2362 ListInstancesResponse.fromJson(core.Map _json) { |
2358 if (_json.containsKey("instances")) { | 2363 if (_json.containsKey("instances")) { |
2359 instances = _json["instances"].map((value) => new Instance.fromJson(value)
).toList(); | 2364 instances = _json["instances"].map((value) => new Instance.fromJson(value)
).toList(); |
2360 } | 2365 } |
2361 if (_json.containsKey("nextPageToken")) { | 2366 if (_json.containsKey("nextPageToken")) { |
2362 nextPageToken = _json["nextPageToken"]; | 2367 nextPageToken = _json["nextPageToken"]; |
2363 } | 2368 } |
2364 } | 2369 } |
2365 | 2370 |
2366 core.Map toJson() { | 2371 core.Map<core.String, core.Object> toJson() { |
2367 var _json = new core.Map(); | 2372 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2368 if (instances != null) { | 2373 if (instances != null) { |
2369 _json["instances"] = instances.map((value) => (value).toJson()).toList(); | 2374 _json["instances"] = instances.map((value) => (value).toJson()).toList(); |
2370 } | 2375 } |
2371 if (nextPageToken != null) { | 2376 if (nextPageToken != null) { |
2372 _json["nextPageToken"] = nextPageToken; | 2377 _json["nextPageToken"] = nextPageToken; |
2373 } | 2378 } |
2374 return _json; | 2379 return _json; |
2375 } | 2380 } |
2376 } | 2381 } |
2377 | 2382 |
2378 /** The response message for Locations.ListLocations. */ | 2383 /** The response message for Locations.ListLocations. */ |
2379 class ListLocationsResponse { | 2384 class ListLocationsResponse { |
2380 /** A list of locations that matches the specified filter in the request. */ | 2385 /** A list of locations that matches the specified filter in the request. */ |
2381 core.List<Location> locations; | 2386 core.List<Location> locations; |
2382 /** The standard List next-page token. */ | 2387 /** The standard List next-page token. */ |
2383 core.String nextPageToken; | 2388 core.String nextPageToken; |
2384 | 2389 |
2385 ListLocationsResponse(); | 2390 ListLocationsResponse(); |
2386 | 2391 |
2387 ListLocationsResponse.fromJson(core.Map _json) { | 2392 ListLocationsResponse.fromJson(core.Map _json) { |
2388 if (_json.containsKey("locations")) { | 2393 if (_json.containsKey("locations")) { |
2389 locations = _json["locations"].map((value) => new Location.fromJson(value)
).toList(); | 2394 locations = _json["locations"].map((value) => new Location.fromJson(value)
).toList(); |
2390 } | 2395 } |
2391 if (_json.containsKey("nextPageToken")) { | 2396 if (_json.containsKey("nextPageToken")) { |
2392 nextPageToken = _json["nextPageToken"]; | 2397 nextPageToken = _json["nextPageToken"]; |
2393 } | 2398 } |
2394 } | 2399 } |
2395 | 2400 |
2396 core.Map toJson() { | 2401 core.Map<core.String, core.Object> toJson() { |
2397 var _json = new core.Map(); | 2402 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2398 if (locations != null) { | 2403 if (locations != null) { |
2399 _json["locations"] = locations.map((value) => (value).toJson()).toList(); | 2404 _json["locations"] = locations.map((value) => (value).toJson()).toList(); |
2400 } | 2405 } |
2401 if (nextPageToken != null) { | 2406 if (nextPageToken != null) { |
2402 _json["nextPageToken"] = nextPageToken; | 2407 _json["nextPageToken"] = nextPageToken; |
2403 } | 2408 } |
2404 return _json; | 2409 return _json; |
2405 } | 2410 } |
2406 } | 2411 } |
2407 | 2412 |
2408 /** The response message for Operations.ListOperations. */ | 2413 /** The response message for Operations.ListOperations. */ |
2409 class ListOperationsResponse { | 2414 class ListOperationsResponse { |
2410 /** The standard List next-page token. */ | 2415 /** The standard List next-page token. */ |
2411 core.String nextPageToken; | 2416 core.String nextPageToken; |
2412 /** A list of operations that matches the specified filter in the request. */ | 2417 /** A list of operations that matches the specified filter in the request. */ |
2413 core.List<Operation> operations; | 2418 core.List<Operation> operations; |
2414 | 2419 |
2415 ListOperationsResponse(); | 2420 ListOperationsResponse(); |
2416 | 2421 |
2417 ListOperationsResponse.fromJson(core.Map _json) { | 2422 ListOperationsResponse.fromJson(core.Map _json) { |
2418 if (_json.containsKey("nextPageToken")) { | 2423 if (_json.containsKey("nextPageToken")) { |
2419 nextPageToken = _json["nextPageToken"]; | 2424 nextPageToken = _json["nextPageToken"]; |
2420 } | 2425 } |
2421 if (_json.containsKey("operations")) { | 2426 if (_json.containsKey("operations")) { |
2422 operations = _json["operations"].map((value) => new Operation.fromJson(val
ue)).toList(); | 2427 operations = _json["operations"].map((value) => new Operation.fromJson(val
ue)).toList(); |
2423 } | 2428 } |
2424 } | 2429 } |
2425 | 2430 |
2426 core.Map toJson() { | 2431 core.Map<core.String, core.Object> toJson() { |
2427 var _json = new core.Map(); | 2432 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2428 if (nextPageToken != null) { | 2433 if (nextPageToken != null) { |
2429 _json["nextPageToken"] = nextPageToken; | 2434 _json["nextPageToken"] = nextPageToken; |
2430 } | 2435 } |
2431 if (operations != null) { | 2436 if (operations != null) { |
2432 _json["operations"] = operations.map((value) => (value).toJson()).toList()
; | 2437 _json["operations"] = operations.map((value) => (value).toJson()).toList()
; |
2433 } | 2438 } |
2434 return _json; | 2439 return _json; |
2435 } | 2440 } |
2436 } | 2441 } |
2437 | 2442 |
2438 /** Response message for Services.ListServices. */ | 2443 /** Response message for Services.ListServices. */ |
2439 class ListServicesResponse { | 2444 class ListServicesResponse { |
2440 /** Continuation token for fetching the next page of results. */ | 2445 /** Continuation token for fetching the next page of results. */ |
2441 core.String nextPageToken; | 2446 core.String nextPageToken; |
2442 /** The services belonging to the requested application. */ | 2447 /** The services belonging to the requested application. */ |
2443 core.List<Service> services; | 2448 core.List<Service> services; |
2444 | 2449 |
2445 ListServicesResponse(); | 2450 ListServicesResponse(); |
2446 | 2451 |
2447 ListServicesResponse.fromJson(core.Map _json) { | 2452 ListServicesResponse.fromJson(core.Map _json) { |
2448 if (_json.containsKey("nextPageToken")) { | 2453 if (_json.containsKey("nextPageToken")) { |
2449 nextPageToken = _json["nextPageToken"]; | 2454 nextPageToken = _json["nextPageToken"]; |
2450 } | 2455 } |
2451 if (_json.containsKey("services")) { | 2456 if (_json.containsKey("services")) { |
2452 services = _json["services"].map((value) => new Service.fromJson(value)).t
oList(); | 2457 services = _json["services"].map((value) => new Service.fromJson(value)).t
oList(); |
2453 } | 2458 } |
2454 } | 2459 } |
2455 | 2460 |
2456 core.Map toJson() { | 2461 core.Map<core.String, core.Object> toJson() { |
2457 var _json = new core.Map(); | 2462 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2458 if (nextPageToken != null) { | 2463 if (nextPageToken != null) { |
2459 _json["nextPageToken"] = nextPageToken; | 2464 _json["nextPageToken"] = nextPageToken; |
2460 } | 2465 } |
2461 if (services != null) { | 2466 if (services != null) { |
2462 _json["services"] = services.map((value) => (value).toJson()).toList(); | 2467 _json["services"] = services.map((value) => (value).toJson()).toList(); |
2463 } | 2468 } |
2464 return _json; | 2469 return _json; |
2465 } | 2470 } |
2466 } | 2471 } |
2467 | 2472 |
2468 /** Response message for Versions.ListVersions. */ | 2473 /** Response message for Versions.ListVersions. */ |
2469 class ListVersionsResponse { | 2474 class ListVersionsResponse { |
2470 /** Continuation token for fetching the next page of results. */ | 2475 /** Continuation token for fetching the next page of results. */ |
2471 core.String nextPageToken; | 2476 core.String nextPageToken; |
2472 /** The versions belonging to the requested service. */ | 2477 /** The versions belonging to the requested service. */ |
2473 core.List<Version> versions; | 2478 core.List<Version> versions; |
2474 | 2479 |
2475 ListVersionsResponse(); | 2480 ListVersionsResponse(); |
2476 | 2481 |
2477 ListVersionsResponse.fromJson(core.Map _json) { | 2482 ListVersionsResponse.fromJson(core.Map _json) { |
2478 if (_json.containsKey("nextPageToken")) { | 2483 if (_json.containsKey("nextPageToken")) { |
2479 nextPageToken = _json["nextPageToken"]; | 2484 nextPageToken = _json["nextPageToken"]; |
2480 } | 2485 } |
2481 if (_json.containsKey("versions")) { | 2486 if (_json.containsKey("versions")) { |
2482 versions = _json["versions"].map((value) => new Version.fromJson(value)).t
oList(); | 2487 versions = _json["versions"].map((value) => new Version.fromJson(value)).t
oList(); |
2483 } | 2488 } |
2484 } | 2489 } |
2485 | 2490 |
2486 core.Map toJson() { | 2491 core.Map<core.String, core.Object> toJson() { |
2487 var _json = new core.Map(); | 2492 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2488 if (nextPageToken != null) { | 2493 if (nextPageToken != null) { |
2489 _json["nextPageToken"] = nextPageToken; | 2494 _json["nextPageToken"] = nextPageToken; |
2490 } | 2495 } |
2491 if (versions != null) { | 2496 if (versions != null) { |
2492 _json["versions"] = versions.map((value) => (value).toJson()).toList(); | 2497 _json["versions"] = versions.map((value) => (value).toJson()).toList(); |
2493 } | 2498 } |
2494 return _json; | 2499 return _json; |
2495 } | 2500 } |
2496 } | 2501 } |
2497 | 2502 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2543 path = _json["path"]; | 2548 path = _json["path"]; |
2544 } | 2549 } |
2545 if (_json.containsKey("successThreshold")) { | 2550 if (_json.containsKey("successThreshold")) { |
2546 successThreshold = _json["successThreshold"]; | 2551 successThreshold = _json["successThreshold"]; |
2547 } | 2552 } |
2548 if (_json.containsKey("timeout")) { | 2553 if (_json.containsKey("timeout")) { |
2549 timeout = _json["timeout"]; | 2554 timeout = _json["timeout"]; |
2550 } | 2555 } |
2551 } | 2556 } |
2552 | 2557 |
2553 core.Map toJson() { | 2558 core.Map<core.String, core.Object> toJson() { |
2554 var _json = new core.Map(); | 2559 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2555 if (checkInterval != null) { | 2560 if (checkInterval != null) { |
2556 _json["checkInterval"] = checkInterval; | 2561 _json["checkInterval"] = checkInterval; |
2557 } | 2562 } |
2558 if (failureThreshold != null) { | 2563 if (failureThreshold != null) { |
2559 _json["failureThreshold"] = failureThreshold; | 2564 _json["failureThreshold"] = failureThreshold; |
2560 } | 2565 } |
2561 if (host != null) { | 2566 if (host != null) { |
2562 _json["host"] = host; | 2567 _json["host"] = host; |
2563 } | 2568 } |
2564 if (initialDelay != null) { | 2569 if (initialDelay != null) { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2610 locationId = _json["locationId"]; | 2615 locationId = _json["locationId"]; |
2611 } | 2616 } |
2612 if (_json.containsKey("metadata")) { | 2617 if (_json.containsKey("metadata")) { |
2613 metadata = _json["metadata"]; | 2618 metadata = _json["metadata"]; |
2614 } | 2619 } |
2615 if (_json.containsKey("name")) { | 2620 if (_json.containsKey("name")) { |
2616 name = _json["name"]; | 2621 name = _json["name"]; |
2617 } | 2622 } |
2618 } | 2623 } |
2619 | 2624 |
2620 core.Map toJson() { | 2625 core.Map<core.String, core.Object> toJson() { |
2621 var _json = new core.Map(); | 2626 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2622 if (labels != null) { | 2627 if (labels != null) { |
2623 _json["labels"] = labels; | 2628 _json["labels"] = labels; |
2624 } | 2629 } |
2625 if (locationId != null) { | 2630 if (locationId != null) { |
2626 _json["locationId"] = locationId; | 2631 _json["locationId"] = locationId; |
2627 } | 2632 } |
2628 if (metadata != null) { | 2633 if (metadata != null) { |
2629 _json["metadata"] = metadata; | 2634 _json["metadata"] = metadata; |
2630 } | 2635 } |
2631 if (name != null) { | 2636 if (name != null) { |
(...skipping 20 matching lines...) Expand all Loading... |
2652 | 2657 |
2653 LocationMetadata.fromJson(core.Map _json) { | 2658 LocationMetadata.fromJson(core.Map _json) { |
2654 if (_json.containsKey("flexibleEnvironmentAvailable")) { | 2659 if (_json.containsKey("flexibleEnvironmentAvailable")) { |
2655 flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"]; | 2660 flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"]; |
2656 } | 2661 } |
2657 if (_json.containsKey("standardEnvironmentAvailable")) { | 2662 if (_json.containsKey("standardEnvironmentAvailable")) { |
2658 standardEnvironmentAvailable = _json["standardEnvironmentAvailable"]; | 2663 standardEnvironmentAvailable = _json["standardEnvironmentAvailable"]; |
2659 } | 2664 } |
2660 } | 2665 } |
2661 | 2666 |
2662 core.Map toJson() { | 2667 core.Map<core.String, core.Object> toJson() { |
2663 var _json = new core.Map(); | 2668 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2664 if (flexibleEnvironmentAvailable != null) { | 2669 if (flexibleEnvironmentAvailable != null) { |
2665 _json["flexibleEnvironmentAvailable"] = flexibleEnvironmentAvailable; | 2670 _json["flexibleEnvironmentAvailable"] = flexibleEnvironmentAvailable; |
2666 } | 2671 } |
2667 if (standardEnvironmentAvailable != null) { | 2672 if (standardEnvironmentAvailable != null) { |
2668 _json["standardEnvironmentAvailable"] = standardEnvironmentAvailable; | 2673 _json["standardEnvironmentAvailable"] = standardEnvironmentAvailable; |
2669 } | 2674 } |
2670 return _json; | 2675 return _json; |
2671 } | 2676 } |
2672 } | 2677 } |
2673 | 2678 |
(...skipping 11 matching lines...) Expand all Loading... |
2685 core.int instances; | 2690 core.int instances; |
2686 | 2691 |
2687 ManualScaling(); | 2692 ManualScaling(); |
2688 | 2693 |
2689 ManualScaling.fromJson(core.Map _json) { | 2694 ManualScaling.fromJson(core.Map _json) { |
2690 if (_json.containsKey("instances")) { | 2695 if (_json.containsKey("instances")) { |
2691 instances = _json["instances"]; | 2696 instances = _json["instances"]; |
2692 } | 2697 } |
2693 } | 2698 } |
2694 | 2699 |
2695 core.Map toJson() { | 2700 core.Map<core.String, core.Object> toJson() { |
2696 var _json = new core.Map(); | 2701 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2697 if (instances != null) { | 2702 if (instances != null) { |
2698 _json["instances"] = instances; | 2703 _json["instances"] = instances; |
2699 } | 2704 } |
2700 return _json; | 2705 return _json; |
2701 } | 2706 } |
2702 } | 2707 } |
2703 | 2708 |
2704 /** Extra network settings. Only applicable for VM runtimes. */ | 2709 /** Extra network settings. Only applicable for VM runtimes. */ |
2705 class Network { | 2710 class Network { |
2706 /** | 2711 /** |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2743 instanceTag = _json["instanceTag"]; | 2748 instanceTag = _json["instanceTag"]; |
2744 } | 2749 } |
2745 if (_json.containsKey("name")) { | 2750 if (_json.containsKey("name")) { |
2746 name = _json["name"]; | 2751 name = _json["name"]; |
2747 } | 2752 } |
2748 if (_json.containsKey("subnetworkName")) { | 2753 if (_json.containsKey("subnetworkName")) { |
2749 subnetworkName = _json["subnetworkName"]; | 2754 subnetworkName = _json["subnetworkName"]; |
2750 } | 2755 } |
2751 } | 2756 } |
2752 | 2757 |
2753 core.Map toJson() { | 2758 core.Map<core.String, core.Object> toJson() { |
2754 var _json = new core.Map(); | 2759 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2755 if (forwardedPorts != null) { | 2760 if (forwardedPorts != null) { |
2756 _json["forwardedPorts"] = forwardedPorts; | 2761 _json["forwardedPorts"] = forwardedPorts; |
2757 } | 2762 } |
2758 if (instanceTag != null) { | 2763 if (instanceTag != null) { |
2759 _json["instanceTag"] = instanceTag; | 2764 _json["instanceTag"] = instanceTag; |
2760 } | 2765 } |
2761 if (name != null) { | 2766 if (name != null) { |
2762 _json["name"] = name; | 2767 _json["name"] = name; |
2763 } | 2768 } |
2764 if (subnetworkName != null) { | 2769 if (subnetworkName != null) { |
(...skipping 24 matching lines...) Expand all Loading... |
2789 targetReceivedPacketsPerSecond = _json["targetReceivedPacketsPerSecond"]; | 2794 targetReceivedPacketsPerSecond = _json["targetReceivedPacketsPerSecond"]; |
2790 } | 2795 } |
2791 if (_json.containsKey("targetSentBytesPerSecond")) { | 2796 if (_json.containsKey("targetSentBytesPerSecond")) { |
2792 targetSentBytesPerSecond = _json["targetSentBytesPerSecond"]; | 2797 targetSentBytesPerSecond = _json["targetSentBytesPerSecond"]; |
2793 } | 2798 } |
2794 if (_json.containsKey("targetSentPacketsPerSecond")) { | 2799 if (_json.containsKey("targetSentPacketsPerSecond")) { |
2795 targetSentPacketsPerSecond = _json["targetSentPacketsPerSecond"]; | 2800 targetSentPacketsPerSecond = _json["targetSentPacketsPerSecond"]; |
2796 } | 2801 } |
2797 } | 2802 } |
2798 | 2803 |
2799 core.Map toJson() { | 2804 core.Map<core.String, core.Object> toJson() { |
2800 var _json = new core.Map(); | 2805 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2801 if (targetReceivedBytesPerSecond != null) { | 2806 if (targetReceivedBytesPerSecond != null) { |
2802 _json["targetReceivedBytesPerSecond"] = targetReceivedBytesPerSecond; | 2807 _json["targetReceivedBytesPerSecond"] = targetReceivedBytesPerSecond; |
2803 } | 2808 } |
2804 if (targetReceivedPacketsPerSecond != null) { | 2809 if (targetReceivedPacketsPerSecond != null) { |
2805 _json["targetReceivedPacketsPerSecond"] = targetReceivedPacketsPerSecond; | 2810 _json["targetReceivedPacketsPerSecond"] = targetReceivedPacketsPerSecond; |
2806 } | 2811 } |
2807 if (targetSentBytesPerSecond != null) { | 2812 if (targetSentBytesPerSecond != null) { |
2808 _json["targetSentBytesPerSecond"] = targetSentBytesPerSecond; | 2813 _json["targetSentBytesPerSecond"] = targetSentBytesPerSecond; |
2809 } | 2814 } |
2810 if (targetSentPacketsPerSecond != null) { | 2815 if (targetSentPacketsPerSecond != null) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2870 metadata = _json["metadata"]; | 2875 metadata = _json["metadata"]; |
2871 } | 2876 } |
2872 if (_json.containsKey("name")) { | 2877 if (_json.containsKey("name")) { |
2873 name = _json["name"]; | 2878 name = _json["name"]; |
2874 } | 2879 } |
2875 if (_json.containsKey("response")) { | 2880 if (_json.containsKey("response")) { |
2876 response = _json["response"]; | 2881 response = _json["response"]; |
2877 } | 2882 } |
2878 } | 2883 } |
2879 | 2884 |
2880 core.Map toJson() { | 2885 core.Map<core.String, core.Object> toJson() { |
2881 var _json = new core.Map(); | 2886 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2882 if (done != null) { | 2887 if (done != null) { |
2883 _json["done"] = done; | 2888 _json["done"] = done; |
2884 } | 2889 } |
2885 if (error != null) { | 2890 if (error != null) { |
2886 _json["error"] = (error).toJson(); | 2891 _json["error"] = (error).toJson(); |
2887 } | 2892 } |
2888 if (metadata != null) { | 2893 if (metadata != null) { |
2889 _json["metadata"] = metadata; | 2894 _json["metadata"] = metadata; |
2890 } | 2895 } |
2891 if (name != null) { | 2896 if (name != null) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2938 operationType = _json["operationType"]; | 2943 operationType = _json["operationType"]; |
2939 } | 2944 } |
2940 if (_json.containsKey("target")) { | 2945 if (_json.containsKey("target")) { |
2941 target = _json["target"]; | 2946 target = _json["target"]; |
2942 } | 2947 } |
2943 if (_json.containsKey("user")) { | 2948 if (_json.containsKey("user")) { |
2944 user = _json["user"]; | 2949 user = _json["user"]; |
2945 } | 2950 } |
2946 } | 2951 } |
2947 | 2952 |
2948 core.Map toJson() { | 2953 core.Map<core.String, core.Object> toJson() { |
2949 var _json = new core.Map(); | 2954 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2950 if (endTime != null) { | 2955 if (endTime != null) { |
2951 _json["endTime"] = endTime; | 2956 _json["endTime"] = endTime; |
2952 } | 2957 } |
2953 if (insertTime != null) { | 2958 if (insertTime != null) { |
2954 _json["insertTime"] = insertTime; | 2959 _json["insertTime"] = insertTime; |
2955 } | 2960 } |
2956 if (method != null) { | 2961 if (method != null) { |
2957 _json["method"] = method; | 2962 _json["method"] = method; |
2958 } | 2963 } |
2959 if (operationType != null) { | 2964 if (operationType != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3001 method = _json["method"]; | 3006 method = _json["method"]; |
3002 } | 3007 } |
3003 if (_json.containsKey("target")) { | 3008 if (_json.containsKey("target")) { |
3004 target = _json["target"]; | 3009 target = _json["target"]; |
3005 } | 3010 } |
3006 if (_json.containsKey("user")) { | 3011 if (_json.containsKey("user")) { |
3007 user = _json["user"]; | 3012 user = _json["user"]; |
3008 } | 3013 } |
3009 } | 3014 } |
3010 | 3015 |
3011 core.Map toJson() { | 3016 core.Map<core.String, core.Object> toJson() { |
3012 var _json = new core.Map(); | 3017 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3013 if (endTime != null) { | 3018 if (endTime != null) { |
3014 _json["endTime"] = endTime; | 3019 _json["endTime"] = endTime; |
3015 } | 3020 } |
3016 if (insertTime != null) { | 3021 if (insertTime != null) { |
3017 _json["insertTime"] = insertTime; | 3022 _json["insertTime"] = insertTime; |
3018 } | 3023 } |
3019 if (method != null) { | 3024 if (method != null) { |
3020 _json["method"] = method; | 3025 _json["method"] = method; |
3021 } | 3026 } |
3022 if (target != null) { | 3027 if (target != null) { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3074 target = _json["target"]; | 3079 target = _json["target"]; |
3075 } | 3080 } |
3076 if (_json.containsKey("user")) { | 3081 if (_json.containsKey("user")) { |
3077 user = _json["user"]; | 3082 user = _json["user"]; |
3078 } | 3083 } |
3079 if (_json.containsKey("warning")) { | 3084 if (_json.containsKey("warning")) { |
3080 warning = _json["warning"]; | 3085 warning = _json["warning"]; |
3081 } | 3086 } |
3082 } | 3087 } |
3083 | 3088 |
3084 core.Map toJson() { | 3089 core.Map<core.String, core.Object> toJson() { |
3085 var _json = new core.Map(); | 3090 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3086 if (endTime != null) { | 3091 if (endTime != null) { |
3087 _json["endTime"] = endTime; | 3092 _json["endTime"] = endTime; |
3088 } | 3093 } |
| 3094 if (ephemeralMessage != null) { |
| 3095 _json["ephemeralMessage"] = ephemeralMessage; |
| 3096 } |
| 3097 if (insertTime != null) { |
| 3098 _json["insertTime"] = insertTime; |
| 3099 } |
| 3100 if (method != null) { |
| 3101 _json["method"] = method; |
| 3102 } |
| 3103 if (target != null) { |
| 3104 _json["target"] = target; |
| 3105 } |
| 3106 if (user != null) { |
| 3107 _json["user"] = user; |
| 3108 } |
| 3109 if (warning != null) { |
| 3110 _json["warning"] = warning; |
| 3111 } |
| 3112 return _json; |
| 3113 } |
| 3114 } |
| 3115 |
| 3116 /** Metadata for the given google.longrunning.Operation. */ |
| 3117 class OperationMetadataV1Alpha { |
| 3118 /** Time that this operation completed.@OutputOnly */ |
| 3119 core.String endTime; |
| 3120 /** |
| 3121 * Ephemeral message that may change every time the operation is polled. |
| 3122 * @OutputOnly |
| 3123 */ |
| 3124 core.String ephemeralMessage; |
| 3125 /** Time that this operation was created.@OutputOnly */ |
| 3126 core.String insertTime; |
| 3127 /** |
| 3128 * API method that initiated this operation. Example: |
| 3129 * google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly |
| 3130 */ |
| 3131 core.String method; |
| 3132 /** |
| 3133 * Name of the resource that this operation is acting on. Example: |
| 3134 * apps/myapp/services/default.@OutputOnly |
| 3135 */ |
| 3136 core.String target; |
| 3137 /** User who requested this operation.@OutputOnly */ |
| 3138 core.String user; |
| 3139 /** Durable messages that persist on every operation poll. @OutputOnly */ |
| 3140 core.List<core.String> warning; |
| 3141 |
| 3142 OperationMetadataV1Alpha(); |
| 3143 |
| 3144 OperationMetadataV1Alpha.fromJson(core.Map _json) { |
| 3145 if (_json.containsKey("endTime")) { |
| 3146 endTime = _json["endTime"]; |
| 3147 } |
| 3148 if (_json.containsKey("ephemeralMessage")) { |
| 3149 ephemeralMessage = _json["ephemeralMessage"]; |
| 3150 } |
| 3151 if (_json.containsKey("insertTime")) { |
| 3152 insertTime = _json["insertTime"]; |
| 3153 } |
| 3154 if (_json.containsKey("method")) { |
| 3155 method = _json["method"]; |
| 3156 } |
| 3157 if (_json.containsKey("target")) { |
| 3158 target = _json["target"]; |
| 3159 } |
| 3160 if (_json.containsKey("user")) { |
| 3161 user = _json["user"]; |
| 3162 } |
| 3163 if (_json.containsKey("warning")) { |
| 3164 warning = _json["warning"]; |
| 3165 } |
| 3166 } |
| 3167 |
| 3168 core.Map<core.String, core.Object> toJson() { |
| 3169 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3170 if (endTime != null) { |
| 3171 _json["endTime"] = endTime; |
| 3172 } |
3089 if (ephemeralMessage != null) { | 3173 if (ephemeralMessage != null) { |
3090 _json["ephemeralMessage"] = ephemeralMessage; | 3174 _json["ephemeralMessage"] = ephemeralMessage; |
3091 } | 3175 } |
3092 if (insertTime != null) { | 3176 if (insertTime != null) { |
3093 _json["insertTime"] = insertTime; | 3177 _json["insertTime"] = insertTime; |
3094 } | 3178 } |
3095 if (method != null) { | 3179 if (method != null) { |
3096 _json["method"] = method; | 3180 _json["method"] = method; |
3097 } | 3181 } |
3098 if (target != null) { | 3182 if (target != null) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3153 target = _json["target"]; | 3237 target = _json["target"]; |
3154 } | 3238 } |
3155 if (_json.containsKey("user")) { | 3239 if (_json.containsKey("user")) { |
3156 user = _json["user"]; | 3240 user = _json["user"]; |
3157 } | 3241 } |
3158 if (_json.containsKey("warning")) { | 3242 if (_json.containsKey("warning")) { |
3159 warning = _json["warning"]; | 3243 warning = _json["warning"]; |
3160 } | 3244 } |
3161 } | 3245 } |
3162 | 3246 |
3163 core.Map toJson() { | 3247 core.Map<core.String, core.Object> toJson() { |
3164 var _json = new core.Map(); | 3248 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3165 if (endTime != null) { | 3249 if (endTime != null) { |
3166 _json["endTime"] = endTime; | 3250 _json["endTime"] = endTime; |
3167 } | 3251 } |
3168 if (ephemeralMessage != null) { | 3252 if (ephemeralMessage != null) { |
3169 _json["ephemeralMessage"] = ephemeralMessage; | 3253 _json["ephemeralMessage"] = ephemeralMessage; |
3170 } | 3254 } |
3171 if (insertTime != null) { | 3255 if (insertTime != null) { |
3172 _json["insertTime"] = insertTime; | 3256 _json["insertTime"] = insertTime; |
3173 } | 3257 } |
3174 if (method != null) { | 3258 if (method != null) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3219 method = _json["method"]; | 3303 method = _json["method"]; |
3220 } | 3304 } |
3221 if (_json.containsKey("target")) { | 3305 if (_json.containsKey("target")) { |
3222 target = _json["target"]; | 3306 target = _json["target"]; |
3223 } | 3307 } |
3224 if (_json.containsKey("user")) { | 3308 if (_json.containsKey("user")) { |
3225 user = _json["user"]; | 3309 user = _json["user"]; |
3226 } | 3310 } |
3227 } | 3311 } |
3228 | 3312 |
3229 core.Map toJson() { | 3313 core.Map<core.String, core.Object> toJson() { |
3230 var _json = new core.Map(); | 3314 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3231 if (endTime != null) { | 3315 if (endTime != null) { |
3232 _json["endTime"] = endTime; | 3316 _json["endTime"] = endTime; |
3233 } | 3317 } |
3234 if (insertTime != null) { | 3318 if (insertTime != null) { |
3235 _json["insertTime"] = insertTime; | 3319 _json["insertTime"] = insertTime; |
3236 } | 3320 } |
3237 if (method != null) { | 3321 if (method != null) { |
3238 _json["method"] = method; | 3322 _json["method"] = method; |
3239 } | 3323 } |
3240 if (target != null) { | 3324 if (target != null) { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3286 path = _json["path"]; | 3370 path = _json["path"]; |
3287 } | 3371 } |
3288 if (_json.containsKey("successThreshold")) { | 3372 if (_json.containsKey("successThreshold")) { |
3289 successThreshold = _json["successThreshold"]; | 3373 successThreshold = _json["successThreshold"]; |
3290 } | 3374 } |
3291 if (_json.containsKey("timeout")) { | 3375 if (_json.containsKey("timeout")) { |
3292 timeout = _json["timeout"]; | 3376 timeout = _json["timeout"]; |
3293 } | 3377 } |
3294 } | 3378 } |
3295 | 3379 |
3296 core.Map toJson() { | 3380 core.Map<core.String, core.Object> toJson() { |
3297 var _json = new core.Map(); | 3381 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3298 if (checkInterval != null) { | 3382 if (checkInterval != null) { |
3299 _json["checkInterval"] = checkInterval; | 3383 _json["checkInterval"] = checkInterval; |
3300 } | 3384 } |
3301 if (failureThreshold != null) { | 3385 if (failureThreshold != null) { |
3302 _json["failureThreshold"] = failureThreshold; | 3386 _json["failureThreshold"] = failureThreshold; |
3303 } | 3387 } |
3304 if (host != null) { | 3388 if (host != null) { |
3305 _json["host"] = host; | 3389 _json["host"] = host; |
3306 } | 3390 } |
3307 if (path != null) { | 3391 if (path != null) { |
(...skipping 10 matching lines...) Expand all Loading... |
3318 } | 3402 } |
3319 | 3403 |
3320 /** Request message for 'Applications.RepairApplication'. */ | 3404 /** Request message for 'Applications.RepairApplication'. */ |
3321 class RepairApplicationRequest { | 3405 class RepairApplicationRequest { |
3322 | 3406 |
3323 RepairApplicationRequest(); | 3407 RepairApplicationRequest(); |
3324 | 3408 |
3325 RepairApplicationRequest.fromJson(core.Map _json) { | 3409 RepairApplicationRequest.fromJson(core.Map _json) { |
3326 } | 3410 } |
3327 | 3411 |
3328 core.Map toJson() { | 3412 core.Map<core.String, core.Object> toJson() { |
3329 var _json = new core.Map(); | 3413 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3330 return _json; | 3414 return _json; |
3331 } | 3415 } |
3332 } | 3416 } |
3333 | 3417 |
3334 /** Target scaling by request utilization. Only applicable for VM runtimes. */ | 3418 /** Target scaling by request utilization. Only applicable for VM runtimes. */ |
3335 class RequestUtilization { | 3419 class RequestUtilization { |
3336 /** Target number of concurrent requests. */ | 3420 /** Target number of concurrent requests. */ |
3337 core.int targetConcurrentRequests; | 3421 core.int targetConcurrentRequests; |
3338 /** Target requests per second. */ | 3422 /** Target requests per second. */ |
3339 core.int targetRequestCountPerSecond; | 3423 core.int targetRequestCountPerSecond; |
3340 | 3424 |
3341 RequestUtilization(); | 3425 RequestUtilization(); |
3342 | 3426 |
3343 RequestUtilization.fromJson(core.Map _json) { | 3427 RequestUtilization.fromJson(core.Map _json) { |
3344 if (_json.containsKey("targetConcurrentRequests")) { | 3428 if (_json.containsKey("targetConcurrentRequests")) { |
3345 targetConcurrentRequests = _json["targetConcurrentRequests"]; | 3429 targetConcurrentRequests = _json["targetConcurrentRequests"]; |
3346 } | 3430 } |
3347 if (_json.containsKey("targetRequestCountPerSecond")) { | 3431 if (_json.containsKey("targetRequestCountPerSecond")) { |
3348 targetRequestCountPerSecond = _json["targetRequestCountPerSecond"]; | 3432 targetRequestCountPerSecond = _json["targetRequestCountPerSecond"]; |
3349 } | 3433 } |
3350 } | 3434 } |
3351 | 3435 |
3352 core.Map toJson() { | 3436 core.Map<core.String, core.Object> toJson() { |
3353 var _json = new core.Map(); | 3437 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3354 if (targetConcurrentRequests != null) { | 3438 if (targetConcurrentRequests != null) { |
3355 _json["targetConcurrentRequests"] = targetConcurrentRequests; | 3439 _json["targetConcurrentRequests"] = targetConcurrentRequests; |
3356 } | 3440 } |
3357 if (targetRequestCountPerSecond != null) { | 3441 if (targetRequestCountPerSecond != null) { |
3358 _json["targetRequestCountPerSecond"] = targetRequestCountPerSecond; | 3442 _json["targetRequestCountPerSecond"] = targetRequestCountPerSecond; |
3359 } | 3443 } |
3360 return _json; | 3444 return _json; |
3361 } | 3445 } |
3362 } | 3446 } |
3363 | 3447 |
(...skipping 18 matching lines...) Expand all Loading... |
3382 diskGb = _json["diskGb"]; | 3466 diskGb = _json["diskGb"]; |
3383 } | 3467 } |
3384 if (_json.containsKey("memoryGb")) { | 3468 if (_json.containsKey("memoryGb")) { |
3385 memoryGb = _json["memoryGb"]; | 3469 memoryGb = _json["memoryGb"]; |
3386 } | 3470 } |
3387 if (_json.containsKey("volumes")) { | 3471 if (_json.containsKey("volumes")) { |
3388 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi
st(); | 3472 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi
st(); |
3389 } | 3473 } |
3390 } | 3474 } |
3391 | 3475 |
3392 core.Map toJson() { | 3476 core.Map<core.String, core.Object> toJson() { |
3393 var _json = new core.Map(); | 3477 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3394 if (cpu != null) { | 3478 if (cpu != null) { |
3395 _json["cpu"] = cpu; | 3479 _json["cpu"] = cpu; |
3396 } | 3480 } |
3397 if (diskGb != null) { | 3481 if (diskGb != null) { |
3398 _json["diskGb"] = diskGb; | 3482 _json["diskGb"] = diskGb; |
3399 } | 3483 } |
3400 if (memoryGb != null) { | 3484 if (memoryGb != null) { |
3401 _json["memoryGb"] = memoryGb; | 3485 _json["memoryGb"] = memoryGb; |
3402 } | 3486 } |
3403 if (volumes != null) { | 3487 if (volumes != null) { |
3404 _json["volumes"] = volumes.map((value) => (value).toJson()).toList(); | 3488 _json["volumes"] = volumes.map((value) => (value).toJson()).toList(); |
3405 } | 3489 } |
3406 return _json; | 3490 return _json; |
3407 } | 3491 } |
3408 } | 3492 } |
3409 | 3493 |
3410 /** Executes a script to handle the request that matches the URL pattern. */ | 3494 /** Executes a script to handle the request that matches the URL pattern. */ |
3411 class ScriptHandler { | 3495 class ScriptHandler { |
3412 /** Path to the script from the application root directory. */ | 3496 /** Path to the script from the application root directory. */ |
3413 core.String scriptPath; | 3497 core.String scriptPath; |
3414 | 3498 |
3415 ScriptHandler(); | 3499 ScriptHandler(); |
3416 | 3500 |
3417 ScriptHandler.fromJson(core.Map _json) { | 3501 ScriptHandler.fromJson(core.Map _json) { |
3418 if (_json.containsKey("scriptPath")) { | 3502 if (_json.containsKey("scriptPath")) { |
3419 scriptPath = _json["scriptPath"]; | 3503 scriptPath = _json["scriptPath"]; |
3420 } | 3504 } |
3421 } | 3505 } |
3422 | 3506 |
3423 core.Map toJson() { | 3507 core.Map<core.String, core.Object> toJson() { |
3424 var _json = new core.Map(); | 3508 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3425 if (scriptPath != null) { | 3509 if (scriptPath != null) { |
3426 _json["scriptPath"] = scriptPath; | 3510 _json["scriptPath"] = scriptPath; |
3427 } | 3511 } |
3428 return _json; | 3512 return _json; |
3429 } | 3513 } |
3430 } | 3514 } |
3431 | 3515 |
3432 /** | 3516 /** |
3433 * A Service resource is a logical component of an application that can share | 3517 * A Service resource is a logical component of an application that can share |
3434 * state and communicate in a secure fashion with other services. For example, | 3518 * state and communicate in a secure fashion with other services. For example, |
(...skipping 26 matching lines...) Expand all Loading... |
3461 id = _json["id"]; | 3545 id = _json["id"]; |
3462 } | 3546 } |
3463 if (_json.containsKey("name")) { | 3547 if (_json.containsKey("name")) { |
3464 name = _json["name"]; | 3548 name = _json["name"]; |
3465 } | 3549 } |
3466 if (_json.containsKey("split")) { | 3550 if (_json.containsKey("split")) { |
3467 split = new TrafficSplit.fromJson(_json["split"]); | 3551 split = new TrafficSplit.fromJson(_json["split"]); |
3468 } | 3552 } |
3469 } | 3553 } |
3470 | 3554 |
3471 core.Map toJson() { | 3555 core.Map<core.String, core.Object> toJson() { |
3472 var _json = new core.Map(); | 3556 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3473 if (id != null) { | 3557 if (id != null) { |
3474 _json["id"] = id; | 3558 _json["id"] = id; |
3475 } | 3559 } |
3476 if (name != null) { | 3560 if (name != null) { |
3477 _json["name"] = name; | 3561 _json["name"] = name; |
3478 } | 3562 } |
3479 if (split != null) { | 3563 if (split != null) { |
3480 _json["split"] = (split).toJson(); | 3564 _json["split"] = (split).toJson(); |
3481 } | 3565 } |
3482 return _json; | 3566 return _json; |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3547 path = _json["path"]; | 3631 path = _json["path"]; |
3548 } | 3632 } |
3549 if (_json.containsKey("requireMatchingFile")) { | 3633 if (_json.containsKey("requireMatchingFile")) { |
3550 requireMatchingFile = _json["requireMatchingFile"]; | 3634 requireMatchingFile = _json["requireMatchingFile"]; |
3551 } | 3635 } |
3552 if (_json.containsKey("uploadPathRegex")) { | 3636 if (_json.containsKey("uploadPathRegex")) { |
3553 uploadPathRegex = _json["uploadPathRegex"]; | 3637 uploadPathRegex = _json["uploadPathRegex"]; |
3554 } | 3638 } |
3555 } | 3639 } |
3556 | 3640 |
3557 core.Map toJson() { | 3641 core.Map<core.String, core.Object> toJson() { |
3558 var _json = new core.Map(); | 3642 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3559 if (applicationReadable != null) { | 3643 if (applicationReadable != null) { |
3560 _json["applicationReadable"] = applicationReadable; | 3644 _json["applicationReadable"] = applicationReadable; |
3561 } | 3645 } |
3562 if (expiration != null) { | 3646 if (expiration != null) { |
3563 _json["expiration"] = expiration; | 3647 _json["expiration"] = expiration; |
3564 } | 3648 } |
3565 if (httpHeaders != null) { | 3649 if (httpHeaders != null) { |
3566 _json["httpHeaders"] = httpHeaders; | 3650 _json["httpHeaders"] = httpHeaders; |
3567 } | 3651 } |
3568 if (mimeType != null) { | 3652 if (mimeType != null) { |
(...skipping 18 matching lines...) Expand all Loading... |
3587 * gRPC (https://github.com/grpc). The error model is designed to be: | 3671 * gRPC (https://github.com/grpc). The error model is designed to be: |
3588 * Simple to use and understand for most users | 3672 * Simple to use and understand for most users |
3589 * Flexible enough to meet unexpected needsOverviewThe Status message contains | 3673 * Flexible enough to meet unexpected needsOverviewThe Status message contains |
3590 * three pieces of data: error code, error message, and error details. The error | 3674 * three pieces of data: error code, error message, and error details. The error |
3591 * code should be an enum value of google.rpc.Code, but it may accept additional | 3675 * code should be an enum value of google.rpc.Code, but it may accept additional |
3592 * error codes if needed. The error message should be a developer-facing English | 3676 * error codes if needed. The error message should be a developer-facing English |
3593 * message that helps developers understand and resolve the error. If a | 3677 * message that helps developers understand and resolve the error. If a |
3594 * localized user-facing error message is needed, put the localized message in | 3678 * localized user-facing error message is needed, put the localized message in |
3595 * the error details or localize it in the client. The optional error details | 3679 * the error details or localize it in the client. The optional error details |
3596 * may contain arbitrary information about the error. There is a predefined set | 3680 * may contain arbitrary information about the error. There is a predefined set |
3597 * of error detail types in the package google.rpc which can be used for common | 3681 * of error detail types in the package google.rpc that can be used for common |
3598 * error conditions.Language mappingThe Status message is the logical | 3682 * error conditions.Language mappingThe Status message is the logical |
3599 * representation of the error model, but it is not necessarily the actual wire | 3683 * representation of the error model, but it is not necessarily the actual wire |
3600 * format. When the Status message is exposed in different client libraries and | 3684 * format. When the Status message is exposed in different client libraries and |
3601 * different wire protocols, it can be mapped differently. For example, it will | 3685 * different wire protocols, it can be mapped differently. For example, it will |
3602 * likely be mapped to some exceptions in Java, but more likely mapped to some | 3686 * likely be mapped to some exceptions in Java, but more likely mapped to some |
3603 * error codes in C.Other usesThe error model and the Status message can be used | 3687 * error codes in C.Other usesThe error model and the Status message can be used |
3604 * in a variety of environments, either with or without APIs, to provide a | 3688 * in a variety of environments, either with or without APIs, to provide a |
3605 * consistent developer experience across different environments.Example uses of | 3689 * consistent developer experience across different environments.Example uses of |
3606 * this error model include: | 3690 * this error model include: |
3607 * Partial errors. If a service needs to return partial errors to the client, it | 3691 * Partial errors. If a service needs to return partial errors to the client, it |
3608 * may embed the Status in the normal response to indicate the partial errors. | 3692 * may embed the Status in the normal response to indicate the partial errors. |
3609 * Workflow errors. A typical workflow has multiple steps. Each step may have a | 3693 * Workflow errors. A typical workflow has multiple steps. Each step may have a |
3610 * Status message for error reporting purpose. | 3694 * Status message for error reporting. |
3611 * Batch operations. If a client uses batch request and batch response, the | 3695 * Batch operations. If a client uses batch request and batch response, the |
3612 * Status message should be used directly inside batch response, one for each | 3696 * Status message should be used directly inside batch response, one for each |
3613 * error sub-response. | 3697 * error sub-response. |
3614 * Asynchronous operations. If an API call embeds asynchronous operation results | 3698 * Asynchronous operations. If an API call embeds asynchronous operation results |
3615 * in its response, the status of those operations should be represented | 3699 * in its response, the status of those operations should be represented |
3616 * directly using the Status message. | 3700 * directly using the Status message. |
3617 * Logging. If some API errors are stored in logs, the message Status could be | 3701 * Logging. If some API errors are stored in logs, the message Status could be |
3618 * used directly after any stripping needed for security/privacy reasons. | 3702 * used directly after any stripping needed for security/privacy reasons. |
3619 */ | 3703 */ |
3620 class Status { | 3704 class Status { |
(...skipping 21 matching lines...) Expand all Loading... |
3642 code = _json["code"]; | 3726 code = _json["code"]; |
3643 } | 3727 } |
3644 if (_json.containsKey("details")) { | 3728 if (_json.containsKey("details")) { |
3645 details = _json["details"]; | 3729 details = _json["details"]; |
3646 } | 3730 } |
3647 if (_json.containsKey("message")) { | 3731 if (_json.containsKey("message")) { |
3648 message = _json["message"]; | 3732 message = _json["message"]; |
3649 } | 3733 } |
3650 } | 3734 } |
3651 | 3735 |
3652 core.Map toJson() { | 3736 core.Map<core.String, core.Object> toJson() { |
3653 var _json = new core.Map(); | 3737 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3654 if (code != null) { | 3738 if (code != null) { |
3655 _json["code"] = code; | 3739 _json["code"] = code; |
3656 } | 3740 } |
3657 if (details != null) { | 3741 if (details != null) { |
3658 _json["details"] = details; | 3742 _json["details"] = details; |
3659 } | 3743 } |
3660 if (message != null) { | 3744 if (message != null) { |
3661 _json["message"] = message; | 3745 _json["message"] = message; |
3662 } | 3746 } |
3663 return _json; | 3747 return _json; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3699 | 3783 |
3700 TrafficSplit.fromJson(core.Map _json) { | 3784 TrafficSplit.fromJson(core.Map _json) { |
3701 if (_json.containsKey("allocations")) { | 3785 if (_json.containsKey("allocations")) { |
3702 allocations = _json["allocations"]; | 3786 allocations = _json["allocations"]; |
3703 } | 3787 } |
3704 if (_json.containsKey("shardBy")) { | 3788 if (_json.containsKey("shardBy")) { |
3705 shardBy = _json["shardBy"]; | 3789 shardBy = _json["shardBy"]; |
3706 } | 3790 } |
3707 } | 3791 } |
3708 | 3792 |
3709 core.Map toJson() { | 3793 core.Map<core.String, core.Object> toJson() { |
3710 var _json = new core.Map(); | 3794 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3711 if (allocations != null) { | 3795 if (allocations != null) { |
3712 _json["allocations"] = allocations; | 3796 _json["allocations"] = allocations; |
3713 } | 3797 } |
3714 if (shardBy != null) { | 3798 if (shardBy != null) { |
3715 _json["shardBy"] = shardBy; | 3799 _json["shardBy"] = shardBy; |
3716 } | 3800 } |
3717 return _json; | 3801 return _json; |
3718 } | 3802 } |
3719 } | 3803 } |
3720 | 3804 |
(...skipping 23 matching lines...) Expand all Loading... |
3744 domain = _json["domain"]; | 3828 domain = _json["domain"]; |
3745 } | 3829 } |
3746 if (_json.containsKey("path")) { | 3830 if (_json.containsKey("path")) { |
3747 path = _json["path"]; | 3831 path = _json["path"]; |
3748 } | 3832 } |
3749 if (_json.containsKey("service")) { | 3833 if (_json.containsKey("service")) { |
3750 service = _json["service"]; | 3834 service = _json["service"]; |
3751 } | 3835 } |
3752 } | 3836 } |
3753 | 3837 |
3754 core.Map toJson() { | 3838 core.Map<core.String, core.Object> toJson() { |
3755 var _json = new core.Map(); | 3839 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3756 if (domain != null) { | 3840 if (domain != null) { |
3757 _json["domain"] = domain; | 3841 _json["domain"] = domain; |
3758 } | 3842 } |
3759 if (path != null) { | 3843 if (path != null) { |
3760 _json["path"] = path; | 3844 _json["path"] = path; |
3761 } | 3845 } |
3762 if (service != null) { | 3846 if (service != null) { |
3763 _json["service"] = service; | 3847 _json["service"] = service; |
3764 } | 3848 } |
3765 return _json; | 3849 return _json; |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3863 securityLevel = _json["securityLevel"]; | 3947 securityLevel = _json["securityLevel"]; |
3864 } | 3948 } |
3865 if (_json.containsKey("staticFiles")) { | 3949 if (_json.containsKey("staticFiles")) { |
3866 staticFiles = new StaticFilesHandler.fromJson(_json["staticFiles"]); | 3950 staticFiles = new StaticFilesHandler.fromJson(_json["staticFiles"]); |
3867 } | 3951 } |
3868 if (_json.containsKey("urlRegex")) { | 3952 if (_json.containsKey("urlRegex")) { |
3869 urlRegex = _json["urlRegex"]; | 3953 urlRegex = _json["urlRegex"]; |
3870 } | 3954 } |
3871 } | 3955 } |
3872 | 3956 |
3873 core.Map toJson() { | 3957 core.Map<core.String, core.Object> toJson() { |
3874 var _json = new core.Map(); | 3958 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3875 if (apiEndpoint != null) { | 3959 if (apiEndpoint != null) { |
3876 _json["apiEndpoint"] = (apiEndpoint).toJson(); | 3960 _json["apiEndpoint"] = (apiEndpoint).toJson(); |
3877 } | 3961 } |
3878 if (authFailAction != null) { | 3962 if (authFailAction != null) { |
3879 _json["authFailAction"] = authFailAction; | 3963 _json["authFailAction"] = authFailAction; |
3880 } | 3964 } |
3881 if (login != null) { | 3965 if (login != null) { |
3882 _json["login"] = login; | 3966 _json["login"] = login; |
3883 } | 3967 } |
3884 if (redirectHttpResponseCode != null) { | 3968 if (redirectHttpResponseCode != null) { |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4034 * Configures readiness health checking for VM instances. Unhealthy instances | 4118 * Configures readiness health checking for VM instances. Unhealthy instances |
4035 * are not put into the backend traffic rotation.Only returned in GET requests | 4119 * are not put into the backend traffic rotation.Only returned in GET requests |
4036 * if view=FULL is set. | 4120 * if view=FULL is set. |
4037 */ | 4121 */ |
4038 ReadinessCheck readinessCheck; | 4122 ReadinessCheck readinessCheck; |
4039 /** Machine resources for this version. Only applicable for VM runtimes. */ | 4123 /** Machine resources for this version. Only applicable for VM runtimes. */ |
4040 Resources resources; | 4124 Resources resources; |
4041 /** Desired runtime. Example: python27. */ | 4125 /** Desired runtime. Example: python27. */ |
4042 core.String runtime; | 4126 core.String runtime; |
4043 /** | 4127 /** |
| 4128 * The version of the API in the given runtime environment. Please see the |
| 4129 * app.yaml reference for valid values at |
| 4130 * https://cloud.google.com/appengine/docs/standard/<language>/config/appref |
| 4131 */ |
| 4132 core.String runtimeApiVersion; |
| 4133 /** |
4044 * Current serving status of this version. Only the versions with a SERVING | 4134 * Current serving status of this version. Only the versions with a SERVING |
4045 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an | 4135 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an |
4046 * invalid value. Defaults to SERVING. | 4136 * invalid value. Defaults to SERVING. |
4047 * Possible string values are: | 4137 * Possible string values are: |
4048 * - "SERVING_STATUS_UNSPECIFIED" : Not specified. | 4138 * - "SERVING_STATUS_UNSPECIFIED" : Not specified. |
4049 * - "SERVING" : Currently serving. Instances are created according to the | 4139 * - "SERVING" : Currently serving. Instances are created according to the |
4050 * scaling settings of the version. | 4140 * scaling settings of the version. |
4051 * - "STOPPED" : Disabled. No instances will be created and the scaling | 4141 * - "STOPPED" : Disabled. No instances will be created and the scaling |
4052 * settings are ignored until the state of the version changes to SERVING. | 4142 * settings are ignored until the state of the version changes to SERVING. |
4053 */ | 4143 */ |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4139 } | 4229 } |
4140 if (_json.containsKey("readinessCheck")) { | 4230 if (_json.containsKey("readinessCheck")) { |
4141 readinessCheck = new ReadinessCheck.fromJson(_json["readinessCheck"]); | 4231 readinessCheck = new ReadinessCheck.fromJson(_json["readinessCheck"]); |
4142 } | 4232 } |
4143 if (_json.containsKey("resources")) { | 4233 if (_json.containsKey("resources")) { |
4144 resources = new Resources.fromJson(_json["resources"]); | 4234 resources = new Resources.fromJson(_json["resources"]); |
4145 } | 4235 } |
4146 if (_json.containsKey("runtime")) { | 4236 if (_json.containsKey("runtime")) { |
4147 runtime = _json["runtime"]; | 4237 runtime = _json["runtime"]; |
4148 } | 4238 } |
| 4239 if (_json.containsKey("runtimeApiVersion")) { |
| 4240 runtimeApiVersion = _json["runtimeApiVersion"]; |
| 4241 } |
4149 if (_json.containsKey("servingStatus")) { | 4242 if (_json.containsKey("servingStatus")) { |
4150 servingStatus = _json["servingStatus"]; | 4243 servingStatus = _json["servingStatus"]; |
4151 } | 4244 } |
4152 if (_json.containsKey("threadsafe")) { | 4245 if (_json.containsKey("threadsafe")) { |
4153 threadsafe = _json["threadsafe"]; | 4246 threadsafe = _json["threadsafe"]; |
4154 } | 4247 } |
4155 if (_json.containsKey("versionUrl")) { | 4248 if (_json.containsKey("versionUrl")) { |
4156 versionUrl = _json["versionUrl"]; | 4249 versionUrl = _json["versionUrl"]; |
4157 } | 4250 } |
4158 if (_json.containsKey("vm")) { | 4251 if (_json.containsKey("vm")) { |
4159 vm = _json["vm"]; | 4252 vm = _json["vm"]; |
4160 } | 4253 } |
4161 } | 4254 } |
4162 | 4255 |
4163 core.Map toJson() { | 4256 core.Map<core.String, core.Object> toJson() { |
4164 var _json = new core.Map(); | 4257 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4165 if (apiConfig != null) { | 4258 if (apiConfig != null) { |
4166 _json["apiConfig"] = (apiConfig).toJson(); | 4259 _json["apiConfig"] = (apiConfig).toJson(); |
4167 } | 4260 } |
4168 if (automaticScaling != null) { | 4261 if (automaticScaling != null) { |
4169 _json["automaticScaling"] = (automaticScaling).toJson(); | 4262 _json["automaticScaling"] = (automaticScaling).toJson(); |
4170 } | 4263 } |
4171 if (basicScaling != null) { | 4264 if (basicScaling != null) { |
4172 _json["basicScaling"] = (basicScaling).toJson(); | 4265 _json["basicScaling"] = (basicScaling).toJson(); |
4173 } | 4266 } |
4174 if (betaSettings != null) { | 4267 if (betaSettings != null) { |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4236 } | 4329 } |
4237 if (readinessCheck != null) { | 4330 if (readinessCheck != null) { |
4238 _json["readinessCheck"] = (readinessCheck).toJson(); | 4331 _json["readinessCheck"] = (readinessCheck).toJson(); |
4239 } | 4332 } |
4240 if (resources != null) { | 4333 if (resources != null) { |
4241 _json["resources"] = (resources).toJson(); | 4334 _json["resources"] = (resources).toJson(); |
4242 } | 4335 } |
4243 if (runtime != null) { | 4336 if (runtime != null) { |
4244 _json["runtime"] = runtime; | 4337 _json["runtime"] = runtime; |
4245 } | 4338 } |
| 4339 if (runtimeApiVersion != null) { |
| 4340 _json["runtimeApiVersion"] = runtimeApiVersion; |
| 4341 } |
4246 if (servingStatus != null) { | 4342 if (servingStatus != null) { |
4247 _json["servingStatus"] = servingStatus; | 4343 _json["servingStatus"] = servingStatus; |
4248 } | 4344 } |
4249 if (threadsafe != null) { | 4345 if (threadsafe != null) { |
4250 _json["threadsafe"] = threadsafe; | 4346 _json["threadsafe"] = threadsafe; |
4251 } | 4347 } |
4252 if (versionUrl != null) { | 4348 if (versionUrl != null) { |
4253 _json["versionUrl"] = versionUrl; | 4349 _json["versionUrl"] = versionUrl; |
4254 } | 4350 } |
4255 if (vm != null) { | 4351 if (vm != null) { |
(...skipping 21 matching lines...) Expand all Loading... |
4277 name = _json["name"]; | 4373 name = _json["name"]; |
4278 } | 4374 } |
4279 if (_json.containsKey("sizeGb")) { | 4375 if (_json.containsKey("sizeGb")) { |
4280 sizeGb = _json["sizeGb"]; | 4376 sizeGb = _json["sizeGb"]; |
4281 } | 4377 } |
4282 if (_json.containsKey("volumeType")) { | 4378 if (_json.containsKey("volumeType")) { |
4283 volumeType = _json["volumeType"]; | 4379 volumeType = _json["volumeType"]; |
4284 } | 4380 } |
4285 } | 4381 } |
4286 | 4382 |
4287 core.Map toJson() { | 4383 core.Map<core.String, core.Object> toJson() { |
4288 var _json = new core.Map(); | 4384 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4289 if (name != null) { | 4385 if (name != null) { |
4290 _json["name"] = name; | 4386 _json["name"] = name; |
4291 } | 4387 } |
4292 if (sizeGb != null) { | 4388 if (sizeGb != null) { |
4293 _json["sizeGb"] = sizeGb; | 4389 _json["sizeGb"] = sizeGb; |
4294 } | 4390 } |
4295 if (volumeType != null) { | 4391 if (volumeType != null) { |
4296 _json["volumeType"] = volumeType; | 4392 _json["volumeType"] = volumeType; |
4297 } | 4393 } |
4298 return _json; | 4394 return _json; |
(...skipping 19 matching lines...) Expand all Loading... |
4318 | 4414 |
4319 ZipInfo.fromJson(core.Map _json) { | 4415 ZipInfo.fromJson(core.Map _json) { |
4320 if (_json.containsKey("filesCount")) { | 4416 if (_json.containsKey("filesCount")) { |
4321 filesCount = _json["filesCount"]; | 4417 filesCount = _json["filesCount"]; |
4322 } | 4418 } |
4323 if (_json.containsKey("sourceUrl")) { | 4419 if (_json.containsKey("sourceUrl")) { |
4324 sourceUrl = _json["sourceUrl"]; | 4420 sourceUrl = _json["sourceUrl"]; |
4325 } | 4421 } |
4326 } | 4422 } |
4327 | 4423 |
4328 core.Map toJson() { | 4424 core.Map<core.String, core.Object> toJson() { |
4329 var _json = new core.Map(); | 4425 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4330 if (filesCount != null) { | 4426 if (filesCount != null) { |
4331 _json["filesCount"] = filesCount; | 4427 _json["filesCount"] = filesCount; |
4332 } | 4428 } |
4333 if (sourceUrl != null) { | 4429 if (sourceUrl != null) { |
4334 _json["sourceUrl"] = sourceUrl; | 4430 _json["sourceUrl"] = sourceUrl; |
4335 } | 4431 } |
4336 return _json; | 4432 return _json; |
4337 } | 4433 } |
4338 } | 4434 } |
OLD | NEW |