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_beta.appengine.v1beta4; | 3 library googleapis_beta.appengine.v1beta4; |
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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 } | 407 } |
408 | 408 |
409 /** | 409 /** |
410 * Lists all the modules in the application. | 410 * Lists all the modules in the application. |
411 * | 411 * |
412 * Request parameters: | 412 * Request parameters: |
413 * | 413 * |
414 * [appsId] - Part of `name`. Name of the resource requested. Example: | 414 * [appsId] - Part of `name`. Name of the resource requested. Example: |
415 * apps/myapp. | 415 * apps/myapp. |
416 * | 416 * |
| 417 * [pageSize] - Maximum results to return per page. |
| 418 * |
417 * [pageToken] - Continuation token for fetching the next page of results. | 419 * [pageToken] - Continuation token for fetching the next page of results. |
418 * | 420 * |
419 * [pageSize] - Maximum results to return per page. | |
420 * | |
421 * Completes with a [ListModulesResponse]. | 421 * Completes with a [ListModulesResponse]. |
422 * | 422 * |
423 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 423 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
424 * error. | 424 * error. |
425 * | 425 * |
426 * If the used [http.Client] completes with an error when making a REST call, | 426 * If the used [http.Client] completes with an error when making a REST call, |
427 * this method will complete with the same error. | 427 * this method will complete with the same error. |
428 */ | 428 */ |
429 async.Future<ListModulesResponse> list(core.String appsId, {core.String pageTo
ken, core.int pageSize}) { | 429 async.Future<ListModulesResponse> list(core.String appsId, {core.int pageSize,
core.String pageToken}) { |
430 var _url = null; | 430 var _url = null; |
431 var _queryParams = new core.Map(); | 431 var _queryParams = new core.Map(); |
432 var _uploadMedia = null; | 432 var _uploadMedia = null; |
433 var _uploadOptions = null; | 433 var _uploadOptions = null; |
434 var _downloadOptions = commons.DownloadOptions.Metadata; | 434 var _downloadOptions = commons.DownloadOptions.Metadata; |
435 var _body = null; | 435 var _body = null; |
436 | 436 |
437 if (appsId == null) { | 437 if (appsId == null) { |
438 throw new core.ArgumentError("Parameter appsId is required."); | 438 throw new core.ArgumentError("Parameter appsId is required."); |
439 } | 439 } |
| 440 if (pageSize != null) { |
| 441 _queryParams["pageSize"] = ["${pageSize}"]; |
| 442 } |
440 if (pageToken != null) { | 443 if (pageToken != null) { |
441 _queryParams["pageToken"] = [pageToken]; | 444 _queryParams["pageToken"] = [pageToken]; |
442 } | 445 } |
443 if (pageSize != null) { | |
444 _queryParams["pageSize"] = ["${pageSize}"]; | |
445 } | |
446 | 446 |
447 _url = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/module
s'; | 447 _url = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/module
s'; |
448 | 448 |
449 var _response = _requester.request(_url, | 449 var _response = _requester.request(_url, |
450 "GET", | 450 "GET", |
451 body: _body, | 451 body: _body, |
452 queryParams: _queryParams, | 452 queryParams: _queryParams, |
453 uploadOptions: _uploadOptions, | 453 uploadOptions: _uploadOptions, |
454 uploadMedia: _uploadMedia, | 454 uploadMedia: _uploadMedia, |
455 downloadOptions: _downloadOptions); | 455 downloadOptions: _downloadOptions); |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 /** | 701 /** |
702 * Lists the versions of a module. | 702 * Lists the versions of a module. |
703 * | 703 * |
704 * Request parameters: | 704 * Request parameters: |
705 * | 705 * |
706 * [appsId] - Part of `name`. Name of the resource requested. Example: | 706 * [appsId] - Part of `name`. Name of the resource requested. Example: |
707 * apps/myapp/modules/default. | 707 * apps/myapp/modules/default. |
708 * | 708 * |
709 * [modulesId] - Part of `name`. See documentation of `appsId`. | 709 * [modulesId] - Part of `name`. See documentation of `appsId`. |
710 * | 710 * |
711 * [pageToken] - Continuation token for fetching the next page of results. | |
712 * | |
713 * [pageSize] - Maximum results to return per page. | 711 * [pageSize] - Maximum results to return per page. |
714 * | 712 * |
715 * [view] - Controls the set of fields returned in the List response. | 713 * [view] - Controls the set of fields returned in the List response. |
716 * Possible string values are: | 714 * Possible string values are: |
717 * - "BASIC" : A BASIC. | 715 * - "BASIC" : A BASIC. |
718 * - "FULL" : A FULL. | 716 * - "FULL" : A FULL. |
719 * | 717 * |
| 718 * [pageToken] - Continuation token for fetching the next page of results. |
| 719 * |
720 * Completes with a [ListVersionsResponse]. | 720 * Completes with a [ListVersionsResponse]. |
721 * | 721 * |
722 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 722 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
723 * error. | 723 * error. |
724 * | 724 * |
725 * If the used [http.Client] completes with an error when making a REST call, | 725 * If the used [http.Client] completes with an error when making a REST call, |
726 * this method will complete with the same error. | 726 * this method will complete with the same error. |
727 */ | 727 */ |
728 async.Future<ListVersionsResponse> list(core.String appsId, core.String module
sId, {core.String pageToken, core.int pageSize, core.String view}) { | 728 async.Future<ListVersionsResponse> list(core.String appsId, core.String module
sId, {core.int pageSize, core.String view, core.String pageToken}) { |
729 var _url = null; | 729 var _url = null; |
730 var _queryParams = new core.Map(); | 730 var _queryParams = new core.Map(); |
731 var _uploadMedia = null; | 731 var _uploadMedia = null; |
732 var _uploadOptions = null; | 732 var _uploadOptions = null; |
733 var _downloadOptions = commons.DownloadOptions.Metadata; | 733 var _downloadOptions = commons.DownloadOptions.Metadata; |
734 var _body = null; | 734 var _body = null; |
735 | 735 |
736 if (appsId == null) { | 736 if (appsId == null) { |
737 throw new core.ArgumentError("Parameter appsId is required."); | 737 throw new core.ArgumentError("Parameter appsId is required."); |
738 } | 738 } |
739 if (modulesId == null) { | 739 if (modulesId == null) { |
740 throw new core.ArgumentError("Parameter modulesId is required."); | 740 throw new core.ArgumentError("Parameter modulesId is required."); |
741 } | 741 } |
742 if (pageToken != null) { | |
743 _queryParams["pageToken"] = [pageToken]; | |
744 } | |
745 if (pageSize != null) { | 742 if (pageSize != null) { |
746 _queryParams["pageSize"] = ["${pageSize}"]; | 743 _queryParams["pageSize"] = ["${pageSize}"]; |
747 } | 744 } |
748 if (view != null) { | 745 if (view != null) { |
749 _queryParams["view"] = [view]; | 746 _queryParams["view"] = [view]; |
750 } | 747 } |
| 748 if (pageToken != null) { |
| 749 _queryParams["pageToken"] = [pageToken]; |
| 750 } |
751 | 751 |
752 _url = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/module
s/' + commons.Escaper.ecapeVariable('$modulesId') + '/versions'; | 752 _url = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/module
s/' + commons.Escaper.ecapeVariable('$modulesId') + '/versions'; |
753 | 753 |
754 var _response = _requester.request(_url, | 754 var _response = _requester.request(_url, |
755 "GET", | 755 "GET", |
756 body: _body, | 756 body: _body, |
757 queryParams: _queryParams, | 757 queryParams: _queryParams, |
758 uploadOptions: _uploadOptions, | 758 uploadOptions: _uploadOptions, |
759 uploadMedia: _uploadMedia, | 759 uploadMedia: _uploadMedia, |
760 downloadOptions: _downloadOptions); | 760 downloadOptions: _downloadOptions); |
(...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 queryParams: _queryParams, | 1135 queryParams: _queryParams, |
1136 uploadOptions: _uploadOptions, | 1136 uploadOptions: _uploadOptions, |
1137 uploadMedia: _uploadMedia, | 1137 uploadMedia: _uploadMedia, |
1138 downloadOptions: _downloadOptions); | 1138 downloadOptions: _downloadOptions); |
1139 return _response.then((data) => new Operation.fromJson(data)); | 1139 return _response.then((data) => new Operation.fromJson(data)); |
1140 } | 1140 } |
1141 | 1141 |
1142 /** | 1142 /** |
1143 * Lists operations that match the specified filter in the request. If the | 1143 * Lists operations that match the specified filter in the request. If the |
1144 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name | 1144 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name |
1145 * binding below allows API services to override the binding to use different | 1145 * binding allows API services to override the binding to use different |
1146 * resource name schemes, such as users / * /operations. | 1146 * resource name schemes, such as users / * /operations. To override the |
| 1147 * binding, API services can add a binding such as "/v1/{name=users / * |
| 1148 * }/operations" to their service configuration. For backwards compatibility, |
| 1149 * the default name includes the operations collection id, however overriding |
| 1150 * users must ensure the name binding is the parent resource, without the |
| 1151 * operations collection id. |
1147 * | 1152 * |
1148 * Request parameters: | 1153 * Request parameters: |
1149 * | 1154 * |
1150 * [appsId] - Part of `name`. The name of the operation collection. | 1155 * [appsId] - Part of `name`. The name of the operation's parent resource. |
1151 * | |
1152 * [pageToken] - The standard list page token. | |
1153 * | 1156 * |
1154 * [pageSize] - The standard list page size. | 1157 * [pageSize] - The standard list page size. |
1155 * | 1158 * |
1156 * [filter] - The standard list filter. | 1159 * [filter] - The standard list filter. |
1157 * | 1160 * |
| 1161 * [pageToken] - The standard list page token. |
| 1162 * |
1158 * Completes with a [ListOperationsResponse]. | 1163 * Completes with a [ListOperationsResponse]. |
1159 * | 1164 * |
1160 * Completes with a [commons.ApiRequestError] if the API endpoint returned an | 1165 * Completes with a [commons.ApiRequestError] if the API endpoint returned an |
1161 * error. | 1166 * error. |
1162 * | 1167 * |
1163 * If the used [http.Client] completes with an error when making a REST call, | 1168 * If the used [http.Client] completes with an error when making a REST call, |
1164 * this method will complete with the same error. | 1169 * this method will complete with the same error. |
1165 */ | 1170 */ |
1166 async.Future<ListOperationsResponse> list(core.String appsId, {core.String pag
eToken, core.int pageSize, core.String filter}) { | 1171 async.Future<ListOperationsResponse> list(core.String appsId, {core.int pageSi
ze, core.String filter, core.String pageToken}) { |
1167 var _url = null; | 1172 var _url = null; |
1168 var _queryParams = new core.Map(); | 1173 var _queryParams = new core.Map(); |
1169 var _uploadMedia = null; | 1174 var _uploadMedia = null; |
1170 var _uploadOptions = null; | 1175 var _uploadOptions = null; |
1171 var _downloadOptions = commons.DownloadOptions.Metadata; | 1176 var _downloadOptions = commons.DownloadOptions.Metadata; |
1172 var _body = null; | 1177 var _body = null; |
1173 | 1178 |
1174 if (appsId == null) { | 1179 if (appsId == null) { |
1175 throw new core.ArgumentError("Parameter appsId is required."); | 1180 throw new core.ArgumentError("Parameter appsId is required."); |
1176 } | 1181 } |
1177 if (pageToken != null) { | |
1178 _queryParams["pageToken"] = [pageToken]; | |
1179 } | |
1180 if (pageSize != null) { | 1182 if (pageSize != null) { |
1181 _queryParams["pageSize"] = ["${pageSize}"]; | 1183 _queryParams["pageSize"] = ["${pageSize}"]; |
1182 } | 1184 } |
1183 if (filter != null) { | 1185 if (filter != null) { |
1184 _queryParams["filter"] = [filter]; | 1186 _queryParams["filter"] = [filter]; |
1185 } | 1187 } |
| 1188 if (pageToken != null) { |
| 1189 _queryParams["pageToken"] = [pageToken]; |
| 1190 } |
1186 | 1191 |
1187 _url = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operat
ions'; | 1192 _url = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operat
ions'; |
1188 | 1193 |
1189 var _response = _requester.request(_url, | 1194 var _response = _requester.request(_url, |
1190 "GET", | 1195 "GET", |
1191 body: _body, | 1196 body: _body, |
1192 queryParams: _queryParams, | 1197 queryParams: _queryParams, |
1193 uploadOptions: _uploadOptions, | 1198 uploadOptions: _uploadOptions, |
1194 uploadMedia: _uploadMedia, | 1199 uploadMedia: _uploadMedia, |
1195 downloadOptions: _downloadOptions); | 1200 downloadOptions: _downloadOptions); |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 script = _json["script"]; | 1272 script = _json["script"]; |
1268 } | 1273 } |
1269 if (_json.containsKey("securityLevel")) { | 1274 if (_json.containsKey("securityLevel")) { |
1270 securityLevel = _json["securityLevel"]; | 1275 securityLevel = _json["securityLevel"]; |
1271 } | 1276 } |
1272 if (_json.containsKey("url")) { | 1277 if (_json.containsKey("url")) { |
1273 url = _json["url"]; | 1278 url = _json["url"]; |
1274 } | 1279 } |
1275 } | 1280 } |
1276 | 1281 |
1277 core.Map toJson() { | 1282 core.Map<core.String, core.Object> toJson() { |
1278 var _json = new core.Map(); | 1283 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1279 if (authFailAction != null) { | 1284 if (authFailAction != null) { |
1280 _json["authFailAction"] = authFailAction; | 1285 _json["authFailAction"] = authFailAction; |
1281 } | 1286 } |
1282 if (login != null) { | 1287 if (login != null) { |
1283 _json["login"] = login; | 1288 _json["login"] = login; |
1284 } | 1289 } |
1285 if (script != null) { | 1290 if (script != null) { |
1286 _json["script"] = script; | 1291 _json["script"] = script; |
1287 } | 1292 } |
1288 if (securityLevel != null) { | 1293 if (securityLevel != null) { |
(...skipping 12 matching lines...) Expand all Loading... |
1301 core.String scriptPath; | 1306 core.String scriptPath; |
1302 | 1307 |
1303 ApiEndpointHandler(); | 1308 ApiEndpointHandler(); |
1304 | 1309 |
1305 ApiEndpointHandler.fromJson(core.Map _json) { | 1310 ApiEndpointHandler.fromJson(core.Map _json) { |
1306 if (_json.containsKey("scriptPath")) { | 1311 if (_json.containsKey("scriptPath")) { |
1307 scriptPath = _json["scriptPath"]; | 1312 scriptPath = _json["scriptPath"]; |
1308 } | 1313 } |
1309 } | 1314 } |
1310 | 1315 |
1311 core.Map toJson() { | 1316 core.Map<core.String, core.Object> toJson() { |
1312 var _json = new core.Map(); | 1317 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1313 if (scriptPath != null) { | 1318 if (scriptPath != null) { |
1314 _json["scriptPath"] = scriptPath; | 1319 _json["scriptPath"] = scriptPath; |
1315 } | 1320 } |
1316 return _json; | 1321 return _json; |
1317 } | 1322 } |
1318 } | 1323 } |
1319 | 1324 |
1320 /** | 1325 /** |
1321 * An Application resource contains the top-level configuration of an App Engine | 1326 * An Application resource contains the top-level configuration of an App Engine |
1322 * application. | 1327 * application. |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1400 id = _json["id"]; | 1405 id = _json["id"]; |
1401 } | 1406 } |
1402 if (_json.containsKey("location")) { | 1407 if (_json.containsKey("location")) { |
1403 location = _json["location"]; | 1408 location = _json["location"]; |
1404 } | 1409 } |
1405 if (_json.containsKey("name")) { | 1410 if (_json.containsKey("name")) { |
1406 name = _json["name"]; | 1411 name = _json["name"]; |
1407 } | 1412 } |
1408 } | 1413 } |
1409 | 1414 |
1410 core.Map toJson() { | 1415 core.Map<core.String, core.Object> toJson() { |
1411 var _json = new core.Map(); | 1416 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1412 if (authDomain != null) { | 1417 if (authDomain != null) { |
1413 _json["authDomain"] = authDomain; | 1418 _json["authDomain"] = authDomain; |
1414 } | 1419 } |
1415 if (codeBucket != null) { | 1420 if (codeBucket != null) { |
1416 _json["codeBucket"] = codeBucket; | 1421 _json["codeBucket"] = codeBucket; |
1417 } | 1422 } |
1418 if (defaultBucket != null) { | 1423 if (defaultBucket != null) { |
1419 _json["defaultBucket"] = defaultBucket; | 1424 _json["defaultBucket"] = defaultBucket; |
1420 } | 1425 } |
1421 if (defaultCookieExpiration != null) { | 1426 if (defaultCookieExpiration != null) { |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1529 minTotalInstances = _json["minTotalInstances"]; | 1534 minTotalInstances = _json["minTotalInstances"]; |
1530 } | 1535 } |
1531 if (_json.containsKey("networkUtilization")) { | 1536 if (_json.containsKey("networkUtilization")) { |
1532 networkUtilization = new NetworkUtilization.fromJson(_json["networkUtiliza
tion"]); | 1537 networkUtilization = new NetworkUtilization.fromJson(_json["networkUtiliza
tion"]); |
1533 } | 1538 } |
1534 if (_json.containsKey("requestUtilization")) { | 1539 if (_json.containsKey("requestUtilization")) { |
1535 requestUtilization = new RequestUtilization.fromJson(_json["requestUtiliza
tion"]); | 1540 requestUtilization = new RequestUtilization.fromJson(_json["requestUtiliza
tion"]); |
1536 } | 1541 } |
1537 } | 1542 } |
1538 | 1543 |
1539 core.Map toJson() { | 1544 core.Map<core.String, core.Object> toJson() { |
1540 var _json = new core.Map(); | 1545 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1541 if (coolDownPeriod != null) { | 1546 if (coolDownPeriod != null) { |
1542 _json["coolDownPeriod"] = coolDownPeriod; | 1547 _json["coolDownPeriod"] = coolDownPeriod; |
1543 } | 1548 } |
1544 if (cpuUtilization != null) { | 1549 if (cpuUtilization != null) { |
1545 _json["cpuUtilization"] = (cpuUtilization).toJson(); | 1550 _json["cpuUtilization"] = (cpuUtilization).toJson(); |
1546 } | 1551 } |
1547 if (diskUtilization != null) { | 1552 if (diskUtilization != null) { |
1548 _json["diskUtilization"] = (diskUtilization).toJson(); | 1553 _json["diskUtilization"] = (diskUtilization).toJson(); |
1549 } | 1554 } |
1550 if (maxConcurrentRequests != null) { | 1555 if (maxConcurrentRequests != null) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1597 | 1602 |
1598 BasicScaling.fromJson(core.Map _json) { | 1603 BasicScaling.fromJson(core.Map _json) { |
1599 if (_json.containsKey("idleTimeout")) { | 1604 if (_json.containsKey("idleTimeout")) { |
1600 idleTimeout = _json["idleTimeout"]; | 1605 idleTimeout = _json["idleTimeout"]; |
1601 } | 1606 } |
1602 if (_json.containsKey("maxInstances")) { | 1607 if (_json.containsKey("maxInstances")) { |
1603 maxInstances = _json["maxInstances"]; | 1608 maxInstances = _json["maxInstances"]; |
1604 } | 1609 } |
1605 } | 1610 } |
1606 | 1611 |
1607 core.Map toJson() { | 1612 core.Map<core.String, core.Object> toJson() { |
1608 var _json = new core.Map(); | 1613 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1609 if (idleTimeout != null) { | 1614 if (idleTimeout != null) { |
1610 _json["idleTimeout"] = idleTimeout; | 1615 _json["idleTimeout"] = idleTimeout; |
1611 } | 1616 } |
1612 if (maxInstances != null) { | 1617 if (maxInstances != null) { |
1613 _json["maxInstances"] = maxInstances; | 1618 _json["maxInstances"] = maxInstances; |
1614 } | 1619 } |
1615 return _json; | 1620 return _json; |
1616 } | 1621 } |
1617 } | 1622 } |
1618 | 1623 |
(...skipping 11 matching lines...) Expand all Loading... |
1630 core.String image; | 1635 core.String image; |
1631 | 1636 |
1632 ContainerInfo(); | 1637 ContainerInfo(); |
1633 | 1638 |
1634 ContainerInfo.fromJson(core.Map _json) { | 1639 ContainerInfo.fromJson(core.Map _json) { |
1635 if (_json.containsKey("image")) { | 1640 if (_json.containsKey("image")) { |
1636 image = _json["image"]; | 1641 image = _json["image"]; |
1637 } | 1642 } |
1638 } | 1643 } |
1639 | 1644 |
1640 core.Map toJson() { | 1645 core.Map<core.String, core.Object> toJson() { |
1641 var _json = new core.Map(); | 1646 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1642 if (image != null) { | 1647 if (image != null) { |
1643 _json["image"] = image; | 1648 _json["image"] = image; |
1644 } | 1649 } |
1645 return _json; | 1650 return _json; |
1646 } | 1651 } |
1647 } | 1652 } |
1648 | 1653 |
1649 /** Target scaling by CPU usage. */ | 1654 /** Target scaling by CPU usage. */ |
1650 class CpuUtilization { | 1655 class CpuUtilization { |
1651 /** Period of time over which CPU utilization is calculated. */ | 1656 /** Period of time over which CPU utilization is calculated. */ |
1652 core.String aggregationWindowLength; | 1657 core.String aggregationWindowLength; |
1653 /** | 1658 /** |
1654 * Target CPU utilization ratio to maintain when scaling. Must be between 0 | 1659 * Target CPU utilization ratio to maintain when scaling. Must be between 0 |
1655 * and 1. | 1660 * and 1. |
1656 */ | 1661 */ |
1657 core.double targetUtilization; | 1662 core.double targetUtilization; |
1658 | 1663 |
1659 CpuUtilization(); | 1664 CpuUtilization(); |
1660 | 1665 |
1661 CpuUtilization.fromJson(core.Map _json) { | 1666 CpuUtilization.fromJson(core.Map _json) { |
1662 if (_json.containsKey("aggregationWindowLength")) { | 1667 if (_json.containsKey("aggregationWindowLength")) { |
1663 aggregationWindowLength = _json["aggregationWindowLength"]; | 1668 aggregationWindowLength = _json["aggregationWindowLength"]; |
1664 } | 1669 } |
1665 if (_json.containsKey("targetUtilization")) { | 1670 if (_json.containsKey("targetUtilization")) { |
1666 targetUtilization = _json["targetUtilization"]; | 1671 targetUtilization = _json["targetUtilization"]; |
1667 } | 1672 } |
1668 } | 1673 } |
1669 | 1674 |
1670 core.Map toJson() { | 1675 core.Map<core.String, core.Object> toJson() { |
1671 var _json = new core.Map(); | 1676 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1672 if (aggregationWindowLength != null) { | 1677 if (aggregationWindowLength != null) { |
1673 _json["aggregationWindowLength"] = aggregationWindowLength; | 1678 _json["aggregationWindowLength"] = aggregationWindowLength; |
1674 } | 1679 } |
1675 if (targetUtilization != null) { | 1680 if (targetUtilization != null) { |
1676 _json["targetUtilization"] = targetUtilization; | 1681 _json["targetUtilization"] = targetUtilization; |
1677 } | 1682 } |
1678 return _json; | 1683 return _json; |
1679 } | 1684 } |
1680 } | 1685 } |
1681 | 1686 |
(...skipping 10 matching lines...) Expand all Loading... |
1692 core.String sshKey; | 1697 core.String sshKey; |
1693 | 1698 |
1694 DebugInstanceRequest(); | 1699 DebugInstanceRequest(); |
1695 | 1700 |
1696 DebugInstanceRequest.fromJson(core.Map _json) { | 1701 DebugInstanceRequest.fromJson(core.Map _json) { |
1697 if (_json.containsKey("sshKey")) { | 1702 if (_json.containsKey("sshKey")) { |
1698 sshKey = _json["sshKey"]; | 1703 sshKey = _json["sshKey"]; |
1699 } | 1704 } |
1700 } | 1705 } |
1701 | 1706 |
1702 core.Map toJson() { | 1707 core.Map<core.String, core.Object> toJson() { |
1703 var _json = new core.Map(); | 1708 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1704 if (sshKey != null) { | 1709 if (sshKey != null) { |
1705 _json["sshKey"] = sshKey; | 1710 _json["sshKey"] = sshKey; |
1706 } | 1711 } |
1707 return _json; | 1712 return _json; |
1708 } | 1713 } |
1709 } | 1714 } |
1710 | 1715 |
1711 /** Code and application artifacts used to deploy a version to App Engine. */ | 1716 /** Code and application artifacts used to deploy a version to App Engine. */ |
1712 class Deployment { | 1717 class Deployment { |
1713 /** | 1718 /** |
(...skipping 14 matching lines...) Expand all Loading... |
1728 */ | 1733 */ |
1729 core.List<SourceReference> sourceReferences; | 1734 core.List<SourceReference> sourceReferences; |
1730 | 1735 |
1731 Deployment(); | 1736 Deployment(); |
1732 | 1737 |
1733 Deployment.fromJson(core.Map _json) { | 1738 Deployment.fromJson(core.Map _json) { |
1734 if (_json.containsKey("container")) { | 1739 if (_json.containsKey("container")) { |
1735 container = new ContainerInfo.fromJson(_json["container"]); | 1740 container = new ContainerInfo.fromJson(_json["container"]); |
1736 } | 1741 } |
1737 if (_json.containsKey("files")) { | 1742 if (_json.containsKey("files")) { |
1738 files = commons.mapMap(_json["files"], (item) => new FileInfo.fromJson(ite
m)); | 1743 files = commons.mapMap<core.Map<core.String, core.Object>, FileInfo>(_json
["files"], (core.Map<core.String, core.Object> item) => new FileInfo.fromJson(it
em)); |
1739 } | 1744 } |
1740 if (_json.containsKey("sourceReferences")) { | 1745 if (_json.containsKey("sourceReferences")) { |
1741 sourceReferences = _json["sourceReferences"].map((value) => new SourceRefe
rence.fromJson(value)).toList(); | 1746 sourceReferences = _json["sourceReferences"].map((value) => new SourceRefe
rence.fromJson(value)).toList(); |
1742 } | 1747 } |
1743 } | 1748 } |
1744 | 1749 |
1745 core.Map toJson() { | 1750 core.Map<core.String, core.Object> toJson() { |
1746 var _json = new core.Map(); | 1751 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1747 if (container != null) { | 1752 if (container != null) { |
1748 _json["container"] = (container).toJson(); | 1753 _json["container"] = (container).toJson(); |
1749 } | 1754 } |
1750 if (files != null) { | 1755 if (files != null) { |
1751 _json["files"] = commons.mapMap(files, (item) => (item).toJson()); | 1756 _json["files"] = commons.mapMap<FileInfo, core.Map<core.String, core.Objec
t>>(files, (FileInfo item) => (item).toJson()); |
1752 } | 1757 } |
1753 if (sourceReferences != null) { | 1758 if (sourceReferences != null) { |
1754 _json["sourceReferences"] = sourceReferences.map((value) => (value).toJson
()).toList(); | 1759 _json["sourceReferences"] = sourceReferences.map((value) => (value).toJson
()).toList(); |
1755 } | 1760 } |
1756 return _json; | 1761 return _json; |
1757 } | 1762 } |
1758 } | 1763 } |
1759 | 1764 |
1760 /** Target scaling by disk usage. Only applicable for VM runtimes. */ | 1765 /** Target scaling by disk usage. Only applicable for VM runtimes. */ |
1761 class DiskUtilization { | 1766 class DiskUtilization { |
(...skipping 16 matching lines...) Expand all Loading... |
1778 targetReadOpsPerSec = _json["targetReadOpsPerSec"]; | 1783 targetReadOpsPerSec = _json["targetReadOpsPerSec"]; |
1779 } | 1784 } |
1780 if (_json.containsKey("targetWriteBytesPerSec")) { | 1785 if (_json.containsKey("targetWriteBytesPerSec")) { |
1781 targetWriteBytesPerSec = _json["targetWriteBytesPerSec"]; | 1786 targetWriteBytesPerSec = _json["targetWriteBytesPerSec"]; |
1782 } | 1787 } |
1783 if (_json.containsKey("targetWriteOpsPerSec")) { | 1788 if (_json.containsKey("targetWriteOpsPerSec")) { |
1784 targetWriteOpsPerSec = _json["targetWriteOpsPerSec"]; | 1789 targetWriteOpsPerSec = _json["targetWriteOpsPerSec"]; |
1785 } | 1790 } |
1786 } | 1791 } |
1787 | 1792 |
1788 core.Map toJson() { | 1793 core.Map<core.String, core.Object> toJson() { |
1789 var _json = new core.Map(); | 1794 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1790 if (targetReadBytesPerSec != null) { | 1795 if (targetReadBytesPerSec != null) { |
1791 _json["targetReadBytesPerSec"] = targetReadBytesPerSec; | 1796 _json["targetReadBytesPerSec"] = targetReadBytesPerSec; |
1792 } | 1797 } |
1793 if (targetReadOpsPerSec != null) { | 1798 if (targetReadOpsPerSec != null) { |
1794 _json["targetReadOpsPerSec"] = targetReadOpsPerSec; | 1799 _json["targetReadOpsPerSec"] = targetReadOpsPerSec; |
1795 } | 1800 } |
1796 if (targetWriteBytesPerSec != null) { | 1801 if (targetWriteBytesPerSec != null) { |
1797 _json["targetWriteBytesPerSec"] = targetWriteBytesPerSec; | 1802 _json["targetWriteBytesPerSec"] = targetWriteBytesPerSec; |
1798 } | 1803 } |
1799 if (targetWriteOpsPerSec != null) { | 1804 if (targetWriteOpsPerSec != null) { |
(...skipping 28 matching lines...) Expand all Loading... |
1828 errorCode = _json["errorCode"]; | 1833 errorCode = _json["errorCode"]; |
1829 } | 1834 } |
1830 if (_json.containsKey("mimeType")) { | 1835 if (_json.containsKey("mimeType")) { |
1831 mimeType = _json["mimeType"]; | 1836 mimeType = _json["mimeType"]; |
1832 } | 1837 } |
1833 if (_json.containsKey("staticFile")) { | 1838 if (_json.containsKey("staticFile")) { |
1834 staticFile = _json["staticFile"]; | 1839 staticFile = _json["staticFile"]; |
1835 } | 1840 } |
1836 } | 1841 } |
1837 | 1842 |
1838 core.Map toJson() { | 1843 core.Map<core.String, core.Object> toJson() { |
1839 var _json = new core.Map(); | 1844 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1840 if (errorCode != null) { | 1845 if (errorCode != null) { |
1841 _json["errorCode"] = errorCode; | 1846 _json["errorCode"] = errorCode; |
1842 } | 1847 } |
1843 if (mimeType != null) { | 1848 if (mimeType != null) { |
1844 _json["mimeType"] = mimeType; | 1849 _json["mimeType"] = mimeType; |
1845 } | 1850 } |
1846 if (staticFile != null) { | 1851 if (staticFile != null) { |
1847 _json["staticFile"] = staticFile; | 1852 _json["staticFile"] = staticFile; |
1848 } | 1853 } |
1849 return _json; | 1854 return _json; |
(...skipping 25 matching lines...) Expand all Loading... |
1875 mimeType = _json["mimeType"]; | 1880 mimeType = _json["mimeType"]; |
1876 } | 1881 } |
1877 if (_json.containsKey("sha1Sum")) { | 1882 if (_json.containsKey("sha1Sum")) { |
1878 sha1Sum = _json["sha1Sum"]; | 1883 sha1Sum = _json["sha1Sum"]; |
1879 } | 1884 } |
1880 if (_json.containsKey("sourceUrl")) { | 1885 if (_json.containsKey("sourceUrl")) { |
1881 sourceUrl = _json["sourceUrl"]; | 1886 sourceUrl = _json["sourceUrl"]; |
1882 } | 1887 } |
1883 } | 1888 } |
1884 | 1889 |
1885 core.Map toJson() { | 1890 core.Map<core.String, core.Object> toJson() { |
1886 var _json = new core.Map(); | 1891 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1887 if (mimeType != null) { | 1892 if (mimeType != null) { |
1888 _json["mimeType"] = mimeType; | 1893 _json["mimeType"] = mimeType; |
1889 } | 1894 } |
1890 if (sha1Sum != null) { | 1895 if (sha1Sum != null) { |
1891 _json["sha1Sum"] = sha1Sum; | 1896 _json["sha1Sum"] = sha1Sum; |
1892 } | 1897 } |
1893 if (sourceUrl != null) { | 1898 if (sourceUrl != null) { |
1894 _json["sourceUrl"] = sourceUrl; | 1899 _json["sourceUrl"] = sourceUrl; |
1895 } | 1900 } |
1896 return _json; | 1901 return _json; |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1949 restartThreshold = _json["restartThreshold"]; | 1954 restartThreshold = _json["restartThreshold"]; |
1950 } | 1955 } |
1951 if (_json.containsKey("timeout")) { | 1956 if (_json.containsKey("timeout")) { |
1952 timeout = _json["timeout"]; | 1957 timeout = _json["timeout"]; |
1953 } | 1958 } |
1954 if (_json.containsKey("unhealthyThreshold")) { | 1959 if (_json.containsKey("unhealthyThreshold")) { |
1955 unhealthyThreshold = _json["unhealthyThreshold"]; | 1960 unhealthyThreshold = _json["unhealthyThreshold"]; |
1956 } | 1961 } |
1957 } | 1962 } |
1958 | 1963 |
1959 core.Map toJson() { | 1964 core.Map<core.String, core.Object> toJson() { |
1960 var _json = new core.Map(); | 1965 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
1961 if (checkInterval != null) { | 1966 if (checkInterval != null) { |
1962 _json["checkInterval"] = checkInterval; | 1967 _json["checkInterval"] = checkInterval; |
1963 } | 1968 } |
1964 if (disableHealthCheck != null) { | 1969 if (disableHealthCheck != null) { |
1965 _json["disableHealthCheck"] = disableHealthCheck; | 1970 _json["disableHealthCheck"] = disableHealthCheck; |
1966 } | 1971 } |
1967 if (healthyThreshold != null) { | 1972 if (healthyThreshold != null) { |
1968 _json["healthyThreshold"] = healthyThreshold; | 1973 _json["healthyThreshold"] = healthyThreshold; |
1969 } | 1974 } |
1970 if (host != null) { | 1975 if (host != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2012 oauth2ClientId = _json["oauth2ClientId"]; | 2017 oauth2ClientId = _json["oauth2ClientId"]; |
2013 } | 2018 } |
2014 if (_json.containsKey("oauth2ClientSecret")) { | 2019 if (_json.containsKey("oauth2ClientSecret")) { |
2015 oauth2ClientSecret = _json["oauth2ClientSecret"]; | 2020 oauth2ClientSecret = _json["oauth2ClientSecret"]; |
2016 } | 2021 } |
2017 if (_json.containsKey("oauth2ClientSecretSha256")) { | 2022 if (_json.containsKey("oauth2ClientSecretSha256")) { |
2018 oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"]; | 2023 oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"]; |
2019 } | 2024 } |
2020 } | 2025 } |
2021 | 2026 |
2022 core.Map toJson() { | 2027 core.Map<core.String, core.Object> toJson() { |
2023 var _json = new core.Map(); | 2028 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2024 if (enabled != null) { | 2029 if (enabled != null) { |
2025 _json["enabled"] = enabled; | 2030 _json["enabled"] = enabled; |
2026 } | 2031 } |
2027 if (oauth2ClientId != null) { | 2032 if (oauth2ClientId != null) { |
2028 _json["oauth2ClientId"] = oauth2ClientId; | 2033 _json["oauth2ClientId"] = oauth2ClientId; |
2029 } | 2034 } |
2030 if (oauth2ClientSecret != null) { | 2035 if (oauth2ClientSecret != null) { |
2031 _json["oauth2ClientSecret"] = oauth2ClientSecret; | 2036 _json["oauth2ClientSecret"] = oauth2ClientSecret; |
2032 } | 2037 } |
2033 if (oauth2ClientSecretSha256 != null) { | 2038 if (oauth2ClientSecretSha256 != null) { |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2151 vmStatus = _json["vmStatus"]; | 2156 vmStatus = _json["vmStatus"]; |
2152 } | 2157 } |
2153 if (_json.containsKey("vmUnlocked")) { | 2158 if (_json.containsKey("vmUnlocked")) { |
2154 vmUnlocked = _json["vmUnlocked"]; | 2159 vmUnlocked = _json["vmUnlocked"]; |
2155 } | 2160 } |
2156 if (_json.containsKey("vmZoneName")) { | 2161 if (_json.containsKey("vmZoneName")) { |
2157 vmZoneName = _json["vmZoneName"]; | 2162 vmZoneName = _json["vmZoneName"]; |
2158 } | 2163 } |
2159 } | 2164 } |
2160 | 2165 |
2161 core.Map toJson() { | 2166 core.Map<core.String, core.Object> toJson() { |
2162 var _json = new core.Map(); | 2167 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2163 if (appEngineRelease != null) { | 2168 if (appEngineRelease != null) { |
2164 _json["appEngineRelease"] = appEngineRelease; | 2169 _json["appEngineRelease"] = appEngineRelease; |
2165 } | 2170 } |
2166 if (availability != null) { | 2171 if (availability != null) { |
2167 _json["availability"] = availability; | 2172 _json["availability"] = availability; |
2168 } | 2173 } |
2169 if (averageLatency != null) { | 2174 if (averageLatency != null) { |
2170 _json["averageLatency"] = averageLatency; | 2175 _json["averageLatency"] = averageLatency; |
2171 } | 2176 } |
2172 if (errors != null) { | 2177 if (errors != null) { |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2223 | 2228 |
2224 Library.fromJson(core.Map _json) { | 2229 Library.fromJson(core.Map _json) { |
2225 if (_json.containsKey("name")) { | 2230 if (_json.containsKey("name")) { |
2226 name = _json["name"]; | 2231 name = _json["name"]; |
2227 } | 2232 } |
2228 if (_json.containsKey("version")) { | 2233 if (_json.containsKey("version")) { |
2229 version = _json["version"]; | 2234 version = _json["version"]; |
2230 } | 2235 } |
2231 } | 2236 } |
2232 | 2237 |
2233 core.Map toJson() { | 2238 core.Map<core.String, core.Object> toJson() { |
2234 var _json = new core.Map(); | 2239 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2235 if (name != null) { | 2240 if (name != null) { |
2236 _json["name"] = name; | 2241 _json["name"] = name; |
2237 } | 2242 } |
2238 if (version != null) { | 2243 if (version != null) { |
2239 _json["version"] = version; | 2244 _json["version"] = version; |
2240 } | 2245 } |
2241 return _json; | 2246 return _json; |
2242 } | 2247 } |
2243 } | 2248 } |
2244 | 2249 |
2245 /** Response message for Instances.ListInstances. */ | 2250 /** Response message for Instances.ListInstances. */ |
2246 class ListInstancesResponse { | 2251 class ListInstancesResponse { |
2247 /** The instances belonging to the requested version. */ | 2252 /** The instances belonging to the requested version. */ |
2248 core.List<Instance> instances; | 2253 core.List<Instance> instances; |
2249 /** Continuation token for fetching the next page of results. */ | 2254 /** Continuation token for fetching the next page of results. */ |
2250 core.String nextPageToken; | 2255 core.String nextPageToken; |
2251 | 2256 |
2252 ListInstancesResponse(); | 2257 ListInstancesResponse(); |
2253 | 2258 |
2254 ListInstancesResponse.fromJson(core.Map _json) { | 2259 ListInstancesResponse.fromJson(core.Map _json) { |
2255 if (_json.containsKey("instances")) { | 2260 if (_json.containsKey("instances")) { |
2256 instances = _json["instances"].map((value) => new Instance.fromJson(value)
).toList(); | 2261 instances = _json["instances"].map((value) => new Instance.fromJson(value)
).toList(); |
2257 } | 2262 } |
2258 if (_json.containsKey("nextPageToken")) { | 2263 if (_json.containsKey("nextPageToken")) { |
2259 nextPageToken = _json["nextPageToken"]; | 2264 nextPageToken = _json["nextPageToken"]; |
2260 } | 2265 } |
2261 } | 2266 } |
2262 | 2267 |
2263 core.Map toJson() { | 2268 core.Map<core.String, core.Object> toJson() { |
2264 var _json = new core.Map(); | 2269 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2265 if (instances != null) { | 2270 if (instances != null) { |
2266 _json["instances"] = instances.map((value) => (value).toJson()).toList(); | 2271 _json["instances"] = instances.map((value) => (value).toJson()).toList(); |
2267 } | 2272 } |
2268 if (nextPageToken != null) { | 2273 if (nextPageToken != null) { |
2269 _json["nextPageToken"] = nextPageToken; | 2274 _json["nextPageToken"] = nextPageToken; |
2270 } | 2275 } |
2271 return _json; | 2276 return _json; |
2272 } | 2277 } |
2273 } | 2278 } |
2274 | 2279 |
2275 /** The response message for Locations.ListLocations. */ | 2280 /** The response message for Locations.ListLocations. */ |
2276 class ListLocationsResponse { | 2281 class ListLocationsResponse { |
2277 /** A list of locations that matches the specified filter in the request. */ | 2282 /** A list of locations that matches the specified filter in the request. */ |
2278 core.List<Location> locations; | 2283 core.List<Location> locations; |
2279 /** The standard List next-page token. */ | 2284 /** The standard List next-page token. */ |
2280 core.String nextPageToken; | 2285 core.String nextPageToken; |
2281 | 2286 |
2282 ListLocationsResponse(); | 2287 ListLocationsResponse(); |
2283 | 2288 |
2284 ListLocationsResponse.fromJson(core.Map _json) { | 2289 ListLocationsResponse.fromJson(core.Map _json) { |
2285 if (_json.containsKey("locations")) { | 2290 if (_json.containsKey("locations")) { |
2286 locations = _json["locations"].map((value) => new Location.fromJson(value)
).toList(); | 2291 locations = _json["locations"].map((value) => new Location.fromJson(value)
).toList(); |
2287 } | 2292 } |
2288 if (_json.containsKey("nextPageToken")) { | 2293 if (_json.containsKey("nextPageToken")) { |
2289 nextPageToken = _json["nextPageToken"]; | 2294 nextPageToken = _json["nextPageToken"]; |
2290 } | 2295 } |
2291 } | 2296 } |
2292 | 2297 |
2293 core.Map toJson() { | 2298 core.Map<core.String, core.Object> toJson() { |
2294 var _json = new core.Map(); | 2299 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2295 if (locations != null) { | 2300 if (locations != null) { |
2296 _json["locations"] = locations.map((value) => (value).toJson()).toList(); | 2301 _json["locations"] = locations.map((value) => (value).toJson()).toList(); |
2297 } | 2302 } |
2298 if (nextPageToken != null) { | 2303 if (nextPageToken != null) { |
2299 _json["nextPageToken"] = nextPageToken; | 2304 _json["nextPageToken"] = nextPageToken; |
2300 } | 2305 } |
2301 return _json; | 2306 return _json; |
2302 } | 2307 } |
2303 } | 2308 } |
2304 | 2309 |
2305 /** Response message for Modules.ListModules. */ | 2310 /** Response message for Modules.ListModules. */ |
2306 class ListModulesResponse { | 2311 class ListModulesResponse { |
2307 /** The modules belonging to the requested application. */ | 2312 /** The modules belonging to the requested application. */ |
2308 core.List<Module> modules; | 2313 core.List<Module> modules; |
2309 /** Continuation token for fetching the next page of results. */ | 2314 /** Continuation token for fetching the next page of results. */ |
2310 core.String nextPageToken; | 2315 core.String nextPageToken; |
2311 | 2316 |
2312 ListModulesResponse(); | 2317 ListModulesResponse(); |
2313 | 2318 |
2314 ListModulesResponse.fromJson(core.Map _json) { | 2319 ListModulesResponse.fromJson(core.Map _json) { |
2315 if (_json.containsKey("modules")) { | 2320 if (_json.containsKey("modules")) { |
2316 modules = _json["modules"].map((value) => new Module.fromJson(value)).toLi
st(); | 2321 modules = _json["modules"].map((value) => new Module.fromJson(value)).toLi
st(); |
2317 } | 2322 } |
2318 if (_json.containsKey("nextPageToken")) { | 2323 if (_json.containsKey("nextPageToken")) { |
2319 nextPageToken = _json["nextPageToken"]; | 2324 nextPageToken = _json["nextPageToken"]; |
2320 } | 2325 } |
2321 } | 2326 } |
2322 | 2327 |
2323 core.Map toJson() { | 2328 core.Map<core.String, core.Object> toJson() { |
2324 var _json = new core.Map(); | 2329 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2325 if (modules != null) { | 2330 if (modules != null) { |
2326 _json["modules"] = modules.map((value) => (value).toJson()).toList(); | 2331 _json["modules"] = modules.map((value) => (value).toJson()).toList(); |
2327 } | 2332 } |
2328 if (nextPageToken != null) { | 2333 if (nextPageToken != null) { |
2329 _json["nextPageToken"] = nextPageToken; | 2334 _json["nextPageToken"] = nextPageToken; |
2330 } | 2335 } |
2331 return _json; | 2336 return _json; |
2332 } | 2337 } |
2333 } | 2338 } |
2334 | 2339 |
2335 /** The response message for Operations.ListOperations. */ | 2340 /** The response message for Operations.ListOperations. */ |
2336 class ListOperationsResponse { | 2341 class ListOperationsResponse { |
2337 /** The standard List next-page token. */ | 2342 /** The standard List next-page token. */ |
2338 core.String nextPageToken; | 2343 core.String nextPageToken; |
2339 /** A list of operations that matches the specified filter in the request. */ | 2344 /** A list of operations that matches the specified filter in the request. */ |
2340 core.List<Operation> operations; | 2345 core.List<Operation> operations; |
2341 | 2346 |
2342 ListOperationsResponse(); | 2347 ListOperationsResponse(); |
2343 | 2348 |
2344 ListOperationsResponse.fromJson(core.Map _json) { | 2349 ListOperationsResponse.fromJson(core.Map _json) { |
2345 if (_json.containsKey("nextPageToken")) { | 2350 if (_json.containsKey("nextPageToken")) { |
2346 nextPageToken = _json["nextPageToken"]; | 2351 nextPageToken = _json["nextPageToken"]; |
2347 } | 2352 } |
2348 if (_json.containsKey("operations")) { | 2353 if (_json.containsKey("operations")) { |
2349 operations = _json["operations"].map((value) => new Operation.fromJson(val
ue)).toList(); | 2354 operations = _json["operations"].map((value) => new Operation.fromJson(val
ue)).toList(); |
2350 } | 2355 } |
2351 } | 2356 } |
2352 | 2357 |
2353 core.Map toJson() { | 2358 core.Map<core.String, core.Object> toJson() { |
2354 var _json = new core.Map(); | 2359 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2355 if (nextPageToken != null) { | 2360 if (nextPageToken != null) { |
2356 _json["nextPageToken"] = nextPageToken; | 2361 _json["nextPageToken"] = nextPageToken; |
2357 } | 2362 } |
2358 if (operations != null) { | 2363 if (operations != null) { |
2359 _json["operations"] = operations.map((value) => (value).toJson()).toList()
; | 2364 _json["operations"] = operations.map((value) => (value).toJson()).toList()
; |
2360 } | 2365 } |
2361 return _json; | 2366 return _json; |
2362 } | 2367 } |
2363 } | 2368 } |
2364 | 2369 |
2365 /** Response message for Versions.ListVersions. */ | 2370 /** Response message for Versions.ListVersions. */ |
2366 class ListVersionsResponse { | 2371 class ListVersionsResponse { |
2367 /** Continuation token for fetching the next page of results. */ | 2372 /** Continuation token for fetching the next page of results. */ |
2368 core.String nextPageToken; | 2373 core.String nextPageToken; |
2369 /** The versions belonging to the requested module. */ | 2374 /** The versions belonging to the requested module. */ |
2370 core.List<Version> versions; | 2375 core.List<Version> versions; |
2371 | 2376 |
2372 ListVersionsResponse(); | 2377 ListVersionsResponse(); |
2373 | 2378 |
2374 ListVersionsResponse.fromJson(core.Map _json) { | 2379 ListVersionsResponse.fromJson(core.Map _json) { |
2375 if (_json.containsKey("nextPageToken")) { | 2380 if (_json.containsKey("nextPageToken")) { |
2376 nextPageToken = _json["nextPageToken"]; | 2381 nextPageToken = _json["nextPageToken"]; |
2377 } | 2382 } |
2378 if (_json.containsKey("versions")) { | 2383 if (_json.containsKey("versions")) { |
2379 versions = _json["versions"].map((value) => new Version.fromJson(value)).t
oList(); | 2384 versions = _json["versions"].map((value) => new Version.fromJson(value)).t
oList(); |
2380 } | 2385 } |
2381 } | 2386 } |
2382 | 2387 |
2383 core.Map toJson() { | 2388 core.Map<core.String, core.Object> toJson() { |
2384 var _json = new core.Map(); | 2389 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2385 if (nextPageToken != null) { | 2390 if (nextPageToken != null) { |
2386 _json["nextPageToken"] = nextPageToken; | 2391 _json["nextPageToken"] = nextPageToken; |
2387 } | 2392 } |
2388 if (versions != null) { | 2393 if (versions != null) { |
2389 _json["versions"] = versions.map((value) => (value).toJson()).toList(); | 2394 _json["versions"] = versions.map((value) => (value).toJson()).toList(); |
2390 } | 2395 } |
2391 return _json; | 2396 return _json; |
2392 } | 2397 } |
2393 } | 2398 } |
2394 | 2399 |
(...skipping 30 matching lines...) Expand all Loading... |
2425 locationId = _json["locationId"]; | 2430 locationId = _json["locationId"]; |
2426 } | 2431 } |
2427 if (_json.containsKey("metadata")) { | 2432 if (_json.containsKey("metadata")) { |
2428 metadata = _json["metadata"]; | 2433 metadata = _json["metadata"]; |
2429 } | 2434 } |
2430 if (_json.containsKey("name")) { | 2435 if (_json.containsKey("name")) { |
2431 name = _json["name"]; | 2436 name = _json["name"]; |
2432 } | 2437 } |
2433 } | 2438 } |
2434 | 2439 |
2435 core.Map toJson() { | 2440 core.Map<core.String, core.Object> toJson() { |
2436 var _json = new core.Map(); | 2441 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2437 if (labels != null) { | 2442 if (labels != null) { |
2438 _json["labels"] = labels; | 2443 _json["labels"] = labels; |
2439 } | 2444 } |
2440 if (locationId != null) { | 2445 if (locationId != null) { |
2441 _json["locationId"] = locationId; | 2446 _json["locationId"] = locationId; |
2442 } | 2447 } |
2443 if (metadata != null) { | 2448 if (metadata != null) { |
2444 _json["metadata"] = metadata; | 2449 _json["metadata"] = metadata; |
2445 } | 2450 } |
2446 if (name != null) { | 2451 if (name != null) { |
(...skipping 20 matching lines...) Expand all Loading... |
2467 | 2472 |
2468 LocationMetadata.fromJson(core.Map _json) { | 2473 LocationMetadata.fromJson(core.Map _json) { |
2469 if (_json.containsKey("flexibleEnvironmentAvailable")) { | 2474 if (_json.containsKey("flexibleEnvironmentAvailable")) { |
2470 flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"]; | 2475 flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"]; |
2471 } | 2476 } |
2472 if (_json.containsKey("standardEnvironmentAvailable")) { | 2477 if (_json.containsKey("standardEnvironmentAvailable")) { |
2473 standardEnvironmentAvailable = _json["standardEnvironmentAvailable"]; | 2478 standardEnvironmentAvailable = _json["standardEnvironmentAvailable"]; |
2474 } | 2479 } |
2475 } | 2480 } |
2476 | 2481 |
2477 core.Map toJson() { | 2482 core.Map<core.String, core.Object> toJson() { |
2478 var _json = new core.Map(); | 2483 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2479 if (flexibleEnvironmentAvailable != null) { | 2484 if (flexibleEnvironmentAvailable != null) { |
2480 _json["flexibleEnvironmentAvailable"] = flexibleEnvironmentAvailable; | 2485 _json["flexibleEnvironmentAvailable"] = flexibleEnvironmentAvailable; |
2481 } | 2486 } |
2482 if (standardEnvironmentAvailable != null) { | 2487 if (standardEnvironmentAvailable != null) { |
2483 _json["standardEnvironmentAvailable"] = standardEnvironmentAvailable; | 2488 _json["standardEnvironmentAvailable"] = standardEnvironmentAvailable; |
2484 } | 2489 } |
2485 return _json; | 2490 return _json; |
2486 } | 2491 } |
2487 } | 2492 } |
2488 | 2493 |
(...skipping 11 matching lines...) Expand all Loading... |
2500 core.int instances; | 2505 core.int instances; |
2501 | 2506 |
2502 ManualScaling(); | 2507 ManualScaling(); |
2503 | 2508 |
2504 ManualScaling.fromJson(core.Map _json) { | 2509 ManualScaling.fromJson(core.Map _json) { |
2505 if (_json.containsKey("instances")) { | 2510 if (_json.containsKey("instances")) { |
2506 instances = _json["instances"]; | 2511 instances = _json["instances"]; |
2507 } | 2512 } |
2508 } | 2513 } |
2509 | 2514 |
2510 core.Map toJson() { | 2515 core.Map<core.String, core.Object> toJson() { |
2511 var _json = new core.Map(); | 2516 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2512 if (instances != null) { | 2517 if (instances != null) { |
2513 _json["instances"] = instances; | 2518 _json["instances"] = instances; |
2514 } | 2519 } |
2515 return _json; | 2520 return _json; |
2516 } | 2521 } |
2517 } | 2522 } |
2518 | 2523 |
2519 /** | 2524 /** |
2520 * A Module resource is a logical component of an application that can share | 2525 * A Module resource is a logical component of an application that can share |
2521 * state and communicate in a secure fashion with other modules. For example, an | 2526 * state and communicate in a secure fashion with other modules. For example, an |
(...skipping 26 matching lines...) Expand all Loading... |
2548 id = _json["id"]; | 2553 id = _json["id"]; |
2549 } | 2554 } |
2550 if (_json.containsKey("name")) { | 2555 if (_json.containsKey("name")) { |
2551 name = _json["name"]; | 2556 name = _json["name"]; |
2552 } | 2557 } |
2553 if (_json.containsKey("split")) { | 2558 if (_json.containsKey("split")) { |
2554 split = new TrafficSplit.fromJson(_json["split"]); | 2559 split = new TrafficSplit.fromJson(_json["split"]); |
2555 } | 2560 } |
2556 } | 2561 } |
2557 | 2562 |
2558 core.Map toJson() { | 2563 core.Map<core.String, core.Object> toJson() { |
2559 var _json = new core.Map(); | 2564 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2560 if (id != null) { | 2565 if (id != null) { |
2561 _json["id"] = id; | 2566 _json["id"] = id; |
2562 } | 2567 } |
2563 if (name != null) { | 2568 if (name != null) { |
2564 _json["name"] = name; | 2569 _json["name"] = name; |
2565 } | 2570 } |
2566 if (split != null) { | 2571 if (split != null) { |
2567 _json["split"] = (split).toJson(); | 2572 _json["split"] = (split).toJson(); |
2568 } | 2573 } |
2569 return _json; | 2574 return _json; |
(...skipping 22 matching lines...) Expand all Loading... |
2592 forwardedPorts = _json["forwardedPorts"]; | 2597 forwardedPorts = _json["forwardedPorts"]; |
2593 } | 2598 } |
2594 if (_json.containsKey("instanceTag")) { | 2599 if (_json.containsKey("instanceTag")) { |
2595 instanceTag = _json["instanceTag"]; | 2600 instanceTag = _json["instanceTag"]; |
2596 } | 2601 } |
2597 if (_json.containsKey("name")) { | 2602 if (_json.containsKey("name")) { |
2598 name = _json["name"]; | 2603 name = _json["name"]; |
2599 } | 2604 } |
2600 } | 2605 } |
2601 | 2606 |
2602 core.Map toJson() { | 2607 core.Map<core.String, core.Object> toJson() { |
2603 var _json = new core.Map(); | 2608 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2604 if (forwardedPorts != null) { | 2609 if (forwardedPorts != null) { |
2605 _json["forwardedPorts"] = forwardedPorts; | 2610 _json["forwardedPorts"] = forwardedPorts; |
2606 } | 2611 } |
2607 if (instanceTag != null) { | 2612 if (instanceTag != null) { |
2608 _json["instanceTag"] = instanceTag; | 2613 _json["instanceTag"] = instanceTag; |
2609 } | 2614 } |
2610 if (name != null) { | 2615 if (name != null) { |
2611 _json["name"] = name; | 2616 _json["name"] = name; |
2612 } | 2617 } |
2613 return _json; | 2618 return _json; |
(...skipping 21 matching lines...) Expand all Loading... |
2635 targetReceivedPacketsPerSec = _json["targetReceivedPacketsPerSec"]; | 2640 targetReceivedPacketsPerSec = _json["targetReceivedPacketsPerSec"]; |
2636 } | 2641 } |
2637 if (_json.containsKey("targetSentBytesPerSec")) { | 2642 if (_json.containsKey("targetSentBytesPerSec")) { |
2638 targetSentBytesPerSec = _json["targetSentBytesPerSec"]; | 2643 targetSentBytesPerSec = _json["targetSentBytesPerSec"]; |
2639 } | 2644 } |
2640 if (_json.containsKey("targetSentPacketsPerSec")) { | 2645 if (_json.containsKey("targetSentPacketsPerSec")) { |
2641 targetSentPacketsPerSec = _json["targetSentPacketsPerSec"]; | 2646 targetSentPacketsPerSec = _json["targetSentPacketsPerSec"]; |
2642 } | 2647 } |
2643 } | 2648 } |
2644 | 2649 |
2645 core.Map toJson() { | 2650 core.Map<core.String, core.Object> toJson() { |
2646 var _json = new core.Map(); | 2651 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2647 if (targetReceivedBytesPerSec != null) { | 2652 if (targetReceivedBytesPerSec != null) { |
2648 _json["targetReceivedBytesPerSec"] = targetReceivedBytesPerSec; | 2653 _json["targetReceivedBytesPerSec"] = targetReceivedBytesPerSec; |
2649 } | 2654 } |
2650 if (targetReceivedPacketsPerSec != null) { | 2655 if (targetReceivedPacketsPerSec != null) { |
2651 _json["targetReceivedPacketsPerSec"] = targetReceivedPacketsPerSec; | 2656 _json["targetReceivedPacketsPerSec"] = targetReceivedPacketsPerSec; |
2652 } | 2657 } |
2653 if (targetSentBytesPerSec != null) { | 2658 if (targetSentBytesPerSec != null) { |
2654 _json["targetSentBytesPerSec"] = targetSentBytesPerSec; | 2659 _json["targetSentBytesPerSec"] = targetSentBytesPerSec; |
2655 } | 2660 } |
2656 if (targetSentPacketsPerSec != null) { | 2661 if (targetSentPacketsPerSec != null) { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2716 metadata = _json["metadata"]; | 2721 metadata = _json["metadata"]; |
2717 } | 2722 } |
2718 if (_json.containsKey("name")) { | 2723 if (_json.containsKey("name")) { |
2719 name = _json["name"]; | 2724 name = _json["name"]; |
2720 } | 2725 } |
2721 if (_json.containsKey("response")) { | 2726 if (_json.containsKey("response")) { |
2722 response = _json["response"]; | 2727 response = _json["response"]; |
2723 } | 2728 } |
2724 } | 2729 } |
2725 | 2730 |
2726 core.Map toJson() { | 2731 core.Map<core.String, core.Object> toJson() { |
2727 var _json = new core.Map(); | 2732 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2728 if (done != null) { | 2733 if (done != null) { |
2729 _json["done"] = done; | 2734 _json["done"] = done; |
2730 } | 2735 } |
2731 if (error != null) { | 2736 if (error != null) { |
2732 _json["error"] = (error).toJson(); | 2737 _json["error"] = (error).toJson(); |
2733 } | 2738 } |
2734 if (metadata != null) { | 2739 if (metadata != null) { |
2735 _json["metadata"] = metadata; | 2740 _json["metadata"] = metadata; |
2736 } | 2741 } |
2737 if (name != null) { | 2742 if (name != null) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2784 operationType = _json["operationType"]; | 2789 operationType = _json["operationType"]; |
2785 } | 2790 } |
2786 if (_json.containsKey("target")) { | 2791 if (_json.containsKey("target")) { |
2787 target = _json["target"]; | 2792 target = _json["target"]; |
2788 } | 2793 } |
2789 if (_json.containsKey("user")) { | 2794 if (_json.containsKey("user")) { |
2790 user = _json["user"]; | 2795 user = _json["user"]; |
2791 } | 2796 } |
2792 } | 2797 } |
2793 | 2798 |
2794 core.Map toJson() { | 2799 core.Map<core.String, core.Object> toJson() { |
2795 var _json = new core.Map(); | 2800 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2796 if (endTime != null) { | 2801 if (endTime != null) { |
2797 _json["endTime"] = endTime; | 2802 _json["endTime"] = endTime; |
2798 } | 2803 } |
2799 if (insertTime != null) { | 2804 if (insertTime != null) { |
2800 _json["insertTime"] = insertTime; | 2805 _json["insertTime"] = insertTime; |
2801 } | 2806 } |
2802 if (method != null) { | 2807 if (method != null) { |
2803 _json["method"] = method; | 2808 _json["method"] = method; |
2804 } | 2809 } |
2805 if (operationType != null) { | 2810 if (operationType != null) { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2847 method = _json["method"]; | 2852 method = _json["method"]; |
2848 } | 2853 } |
2849 if (_json.containsKey("target")) { | 2854 if (_json.containsKey("target")) { |
2850 target = _json["target"]; | 2855 target = _json["target"]; |
2851 } | 2856 } |
2852 if (_json.containsKey("user")) { | 2857 if (_json.containsKey("user")) { |
2853 user = _json["user"]; | 2858 user = _json["user"]; |
2854 } | 2859 } |
2855 } | 2860 } |
2856 | 2861 |
2857 core.Map toJson() { | 2862 core.Map<core.String, core.Object> toJson() { |
2858 var _json = new core.Map(); | 2863 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2859 if (endTime != null) { | 2864 if (endTime != null) { |
2860 _json["endTime"] = endTime; | 2865 _json["endTime"] = endTime; |
2861 } | 2866 } |
2862 if (insertTime != null) { | 2867 if (insertTime != null) { |
2863 _json["insertTime"] = insertTime; | 2868 _json["insertTime"] = insertTime; |
2864 } | 2869 } |
2865 if (method != null) { | 2870 if (method != null) { |
2866 _json["method"] = method; | 2871 _json["method"] = method; |
2867 } | 2872 } |
2868 if (target != null) { | 2873 if (target != null) { |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2920 target = _json["target"]; | 2925 target = _json["target"]; |
2921 } | 2926 } |
2922 if (_json.containsKey("user")) { | 2927 if (_json.containsKey("user")) { |
2923 user = _json["user"]; | 2928 user = _json["user"]; |
2924 } | 2929 } |
2925 if (_json.containsKey("warning")) { | 2930 if (_json.containsKey("warning")) { |
2926 warning = _json["warning"]; | 2931 warning = _json["warning"]; |
2927 } | 2932 } |
2928 } | 2933 } |
2929 | 2934 |
2930 core.Map toJson() { | 2935 core.Map<core.String, core.Object> toJson() { |
2931 var _json = new core.Map(); | 2936 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
2932 if (endTime != null) { | 2937 if (endTime != null) { |
2933 _json["endTime"] = endTime; | 2938 _json["endTime"] = endTime; |
2934 } | 2939 } |
| 2940 if (ephemeralMessage != null) { |
| 2941 _json["ephemeralMessage"] = ephemeralMessage; |
| 2942 } |
| 2943 if (insertTime != null) { |
| 2944 _json["insertTime"] = insertTime; |
| 2945 } |
| 2946 if (method != null) { |
| 2947 _json["method"] = method; |
| 2948 } |
| 2949 if (target != null) { |
| 2950 _json["target"] = target; |
| 2951 } |
| 2952 if (user != null) { |
| 2953 _json["user"] = user; |
| 2954 } |
| 2955 if (warning != null) { |
| 2956 _json["warning"] = warning; |
| 2957 } |
| 2958 return _json; |
| 2959 } |
| 2960 } |
| 2961 |
| 2962 /** Metadata for the given google.longrunning.Operation. */ |
| 2963 class OperationMetadataV1Alpha { |
| 2964 /** Time that this operation completed.@OutputOnly */ |
| 2965 core.String endTime; |
| 2966 /** |
| 2967 * Ephemeral message that may change every time the operation is polled. |
| 2968 * @OutputOnly |
| 2969 */ |
| 2970 core.String ephemeralMessage; |
| 2971 /** Time that this operation was created.@OutputOnly */ |
| 2972 core.String insertTime; |
| 2973 /** |
| 2974 * API method that initiated this operation. Example: |
| 2975 * google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly |
| 2976 */ |
| 2977 core.String method; |
| 2978 /** |
| 2979 * Name of the resource that this operation is acting on. Example: |
| 2980 * apps/myapp/services/default.@OutputOnly |
| 2981 */ |
| 2982 core.String target; |
| 2983 /** User who requested this operation.@OutputOnly */ |
| 2984 core.String user; |
| 2985 /** Durable messages that persist on every operation poll. @OutputOnly */ |
| 2986 core.List<core.String> warning; |
| 2987 |
| 2988 OperationMetadataV1Alpha(); |
| 2989 |
| 2990 OperationMetadataV1Alpha.fromJson(core.Map _json) { |
| 2991 if (_json.containsKey("endTime")) { |
| 2992 endTime = _json["endTime"]; |
| 2993 } |
| 2994 if (_json.containsKey("ephemeralMessage")) { |
| 2995 ephemeralMessage = _json["ephemeralMessage"]; |
| 2996 } |
| 2997 if (_json.containsKey("insertTime")) { |
| 2998 insertTime = _json["insertTime"]; |
| 2999 } |
| 3000 if (_json.containsKey("method")) { |
| 3001 method = _json["method"]; |
| 3002 } |
| 3003 if (_json.containsKey("target")) { |
| 3004 target = _json["target"]; |
| 3005 } |
| 3006 if (_json.containsKey("user")) { |
| 3007 user = _json["user"]; |
| 3008 } |
| 3009 if (_json.containsKey("warning")) { |
| 3010 warning = _json["warning"]; |
| 3011 } |
| 3012 } |
| 3013 |
| 3014 core.Map<core.String, core.Object> toJson() { |
| 3015 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
| 3016 if (endTime != null) { |
| 3017 _json["endTime"] = endTime; |
| 3018 } |
2935 if (ephemeralMessage != null) { | 3019 if (ephemeralMessage != null) { |
2936 _json["ephemeralMessage"] = ephemeralMessage; | 3020 _json["ephemeralMessage"] = ephemeralMessage; |
2937 } | 3021 } |
2938 if (insertTime != null) { | 3022 if (insertTime != null) { |
2939 _json["insertTime"] = insertTime; | 3023 _json["insertTime"] = insertTime; |
2940 } | 3024 } |
2941 if (method != null) { | 3025 if (method != null) { |
2942 _json["method"] = method; | 3026 _json["method"] = method; |
2943 } | 3027 } |
2944 if (target != null) { | 3028 if (target != null) { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2999 target = _json["target"]; | 3083 target = _json["target"]; |
3000 } | 3084 } |
3001 if (_json.containsKey("user")) { | 3085 if (_json.containsKey("user")) { |
3002 user = _json["user"]; | 3086 user = _json["user"]; |
3003 } | 3087 } |
3004 if (_json.containsKey("warning")) { | 3088 if (_json.containsKey("warning")) { |
3005 warning = _json["warning"]; | 3089 warning = _json["warning"]; |
3006 } | 3090 } |
3007 } | 3091 } |
3008 | 3092 |
3009 core.Map toJson() { | 3093 core.Map<core.String, core.Object> toJson() { |
3010 var _json = new core.Map(); | 3094 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3011 if (endTime != null) { | 3095 if (endTime != null) { |
3012 _json["endTime"] = endTime; | 3096 _json["endTime"] = endTime; |
3013 } | 3097 } |
3014 if (ephemeralMessage != null) { | 3098 if (ephemeralMessage != null) { |
3015 _json["ephemeralMessage"] = ephemeralMessage; | 3099 _json["ephemeralMessage"] = ephemeralMessage; |
3016 } | 3100 } |
3017 if (insertTime != null) { | 3101 if (insertTime != null) { |
3018 _json["insertTime"] = insertTime; | 3102 _json["insertTime"] = insertTime; |
3019 } | 3103 } |
3020 if (method != null) { | 3104 if (method != null) { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3065 method = _json["method"]; | 3149 method = _json["method"]; |
3066 } | 3150 } |
3067 if (_json.containsKey("target")) { | 3151 if (_json.containsKey("target")) { |
3068 target = _json["target"]; | 3152 target = _json["target"]; |
3069 } | 3153 } |
3070 if (_json.containsKey("user")) { | 3154 if (_json.containsKey("user")) { |
3071 user = _json["user"]; | 3155 user = _json["user"]; |
3072 } | 3156 } |
3073 } | 3157 } |
3074 | 3158 |
3075 core.Map toJson() { | 3159 core.Map<core.String, core.Object> toJson() { |
3076 var _json = new core.Map(); | 3160 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3077 if (endTime != null) { | 3161 if (endTime != null) { |
3078 _json["endTime"] = endTime; | 3162 _json["endTime"] = endTime; |
3079 } | 3163 } |
3080 if (insertTime != null) { | 3164 if (insertTime != null) { |
3081 _json["insertTime"] = insertTime; | 3165 _json["insertTime"] = insertTime; |
3082 } | 3166 } |
3083 if (method != null) { | 3167 if (method != null) { |
3084 _json["method"] = method; | 3168 _json["method"] = method; |
3085 } | 3169 } |
3086 if (target != null) { | 3170 if (target != null) { |
(...skipping 17 matching lines...) Expand all Loading... |
3104 | 3188 |
3105 RequestUtilization.fromJson(core.Map _json) { | 3189 RequestUtilization.fromJson(core.Map _json) { |
3106 if (_json.containsKey("targetConcurrentRequests")) { | 3190 if (_json.containsKey("targetConcurrentRequests")) { |
3107 targetConcurrentRequests = _json["targetConcurrentRequests"]; | 3191 targetConcurrentRequests = _json["targetConcurrentRequests"]; |
3108 } | 3192 } |
3109 if (_json.containsKey("targetRequestCountPerSec")) { | 3193 if (_json.containsKey("targetRequestCountPerSec")) { |
3110 targetRequestCountPerSec = _json["targetRequestCountPerSec"]; | 3194 targetRequestCountPerSec = _json["targetRequestCountPerSec"]; |
3111 } | 3195 } |
3112 } | 3196 } |
3113 | 3197 |
3114 core.Map toJson() { | 3198 core.Map<core.String, core.Object> toJson() { |
3115 var _json = new core.Map(); | 3199 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3116 if (targetConcurrentRequests != null) { | 3200 if (targetConcurrentRequests != null) { |
3117 _json["targetConcurrentRequests"] = targetConcurrentRequests; | 3201 _json["targetConcurrentRequests"] = targetConcurrentRequests; |
3118 } | 3202 } |
3119 if (targetRequestCountPerSec != null) { | 3203 if (targetRequestCountPerSec != null) { |
3120 _json["targetRequestCountPerSec"] = targetRequestCountPerSec; | 3204 _json["targetRequestCountPerSec"] = targetRequestCountPerSec; |
3121 } | 3205 } |
3122 return _json; | 3206 return _json; |
3123 } | 3207 } |
3124 } | 3208 } |
3125 | 3209 |
(...skipping 18 matching lines...) Expand all Loading... |
3144 diskGb = _json["diskGb"]; | 3228 diskGb = _json["diskGb"]; |
3145 } | 3229 } |
3146 if (_json.containsKey("memoryGb")) { | 3230 if (_json.containsKey("memoryGb")) { |
3147 memoryGb = _json["memoryGb"]; | 3231 memoryGb = _json["memoryGb"]; |
3148 } | 3232 } |
3149 if (_json.containsKey("volumes")) { | 3233 if (_json.containsKey("volumes")) { |
3150 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi
st(); | 3234 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi
st(); |
3151 } | 3235 } |
3152 } | 3236 } |
3153 | 3237 |
3154 core.Map toJson() { | 3238 core.Map<core.String, core.Object> toJson() { |
3155 var _json = new core.Map(); | 3239 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3156 if (cpu != null) { | 3240 if (cpu != null) { |
3157 _json["cpu"] = cpu; | 3241 _json["cpu"] = cpu; |
3158 } | 3242 } |
3159 if (diskGb != null) { | 3243 if (diskGb != null) { |
3160 _json["diskGb"] = diskGb; | 3244 _json["diskGb"] = diskGb; |
3161 } | 3245 } |
3162 if (memoryGb != null) { | 3246 if (memoryGb != null) { |
3163 _json["memoryGb"] = memoryGb; | 3247 _json["memoryGb"] = memoryGb; |
3164 } | 3248 } |
3165 if (volumes != null) { | 3249 if (volumes != null) { |
3166 _json["volumes"] = volumes.map((value) => (value).toJson()).toList(); | 3250 _json["volumes"] = volumes.map((value) => (value).toJson()).toList(); |
3167 } | 3251 } |
3168 return _json; | 3252 return _json; |
3169 } | 3253 } |
3170 } | 3254 } |
3171 | 3255 |
3172 /** Executes a script to handle the request that matches the URL pattern. */ | 3256 /** Executes a script to handle the request that matches the URL pattern. */ |
3173 class ScriptHandler { | 3257 class ScriptHandler { |
3174 /** Path to the script from the application root directory. */ | 3258 /** Path to the script from the application root directory. */ |
3175 core.String scriptPath; | 3259 core.String scriptPath; |
3176 | 3260 |
3177 ScriptHandler(); | 3261 ScriptHandler(); |
3178 | 3262 |
3179 ScriptHandler.fromJson(core.Map _json) { | 3263 ScriptHandler.fromJson(core.Map _json) { |
3180 if (_json.containsKey("scriptPath")) { | 3264 if (_json.containsKey("scriptPath")) { |
3181 scriptPath = _json["scriptPath"]; | 3265 scriptPath = _json["scriptPath"]; |
3182 } | 3266 } |
3183 } | 3267 } |
3184 | 3268 |
3185 core.Map toJson() { | 3269 core.Map<core.String, core.Object> toJson() { |
3186 var _json = new core.Map(); | 3270 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3187 if (scriptPath != null) { | 3271 if (scriptPath != null) { |
3188 _json["scriptPath"] = scriptPath; | 3272 _json["scriptPath"] = scriptPath; |
3189 } | 3273 } |
3190 return _json; | 3274 return _json; |
3191 } | 3275 } |
3192 } | 3276 } |
3193 | 3277 |
3194 /** | 3278 /** |
3195 * Reference to a particular snapshot of the source tree used to build and | 3279 * Reference to a particular snapshot of the source tree used to build and |
3196 * deploy the application. | 3280 * deploy the application. |
(...skipping 15 matching lines...) Expand all Loading... |
3212 | 3296 |
3213 SourceReference.fromJson(core.Map _json) { | 3297 SourceReference.fromJson(core.Map _json) { |
3214 if (_json.containsKey("repository")) { | 3298 if (_json.containsKey("repository")) { |
3215 repository = _json["repository"]; | 3299 repository = _json["repository"]; |
3216 } | 3300 } |
3217 if (_json.containsKey("revisionId")) { | 3301 if (_json.containsKey("revisionId")) { |
3218 revisionId = _json["revisionId"]; | 3302 revisionId = _json["revisionId"]; |
3219 } | 3303 } |
3220 } | 3304 } |
3221 | 3305 |
3222 core.Map toJson() { | 3306 core.Map<core.String, core.Object> toJson() { |
3223 var _json = new core.Map(); | 3307 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3224 if (repository != null) { | 3308 if (repository != null) { |
3225 _json["repository"] = repository; | 3309 _json["repository"] = repository; |
3226 } | 3310 } |
3227 if (revisionId != null) { | 3311 if (revisionId != null) { |
3228 _json["revisionId"] = revisionId; | 3312 _json["revisionId"] = revisionId; |
3229 } | 3313 } |
3230 return _json; | 3314 return _json; |
3231 } | 3315 } |
3232 } | 3316 } |
3233 | 3317 |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3283 httpHeaders = _json["httpHeaders"]; | 3367 httpHeaders = _json["httpHeaders"]; |
3284 } | 3368 } |
3285 if (_json.containsKey("mimeType")) { | 3369 if (_json.containsKey("mimeType")) { |
3286 mimeType = _json["mimeType"]; | 3370 mimeType = _json["mimeType"]; |
3287 } | 3371 } |
3288 if (_json.containsKey("requireMatchingFile")) { | 3372 if (_json.containsKey("requireMatchingFile")) { |
3289 requireMatchingFile = _json["requireMatchingFile"]; | 3373 requireMatchingFile = _json["requireMatchingFile"]; |
3290 } | 3374 } |
3291 } | 3375 } |
3292 | 3376 |
3293 core.Map toJson() { | 3377 core.Map<core.String, core.Object> toJson() { |
3294 var _json = new core.Map(); | 3378 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3295 if (applicationReadable != null) { | 3379 if (applicationReadable != null) { |
3296 _json["applicationReadable"] = applicationReadable; | 3380 _json["applicationReadable"] = applicationReadable; |
3297 } | 3381 } |
3298 if (directory != null) { | 3382 if (directory != null) { |
3299 _json["directory"] = directory; | 3383 _json["directory"] = directory; |
3300 } | 3384 } |
3301 if (expiration != null) { | 3385 if (expiration != null) { |
3302 _json["expiration"] = expiration; | 3386 _json["expiration"] = expiration; |
3303 } | 3387 } |
3304 if (httpHeaders != null) { | 3388 if (httpHeaders != null) { |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3375 path = _json["path"]; | 3459 path = _json["path"]; |
3376 } | 3460 } |
3377 if (_json.containsKey("requireMatchingFile")) { | 3461 if (_json.containsKey("requireMatchingFile")) { |
3378 requireMatchingFile = _json["requireMatchingFile"]; | 3462 requireMatchingFile = _json["requireMatchingFile"]; |
3379 } | 3463 } |
3380 if (_json.containsKey("uploadPathRegex")) { | 3464 if (_json.containsKey("uploadPathRegex")) { |
3381 uploadPathRegex = _json["uploadPathRegex"]; | 3465 uploadPathRegex = _json["uploadPathRegex"]; |
3382 } | 3466 } |
3383 } | 3467 } |
3384 | 3468 |
3385 core.Map toJson() { | 3469 core.Map<core.String, core.Object> toJson() { |
3386 var _json = new core.Map(); | 3470 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3387 if (applicationReadable != null) { | 3471 if (applicationReadable != null) { |
3388 _json["applicationReadable"] = applicationReadable; | 3472 _json["applicationReadable"] = applicationReadable; |
3389 } | 3473 } |
3390 if (expiration != null) { | 3474 if (expiration != null) { |
3391 _json["expiration"] = expiration; | 3475 _json["expiration"] = expiration; |
3392 } | 3476 } |
3393 if (httpHeaders != null) { | 3477 if (httpHeaders != null) { |
3394 _json["httpHeaders"] = httpHeaders; | 3478 _json["httpHeaders"] = httpHeaders; |
3395 } | 3479 } |
3396 if (mimeType != null) { | 3480 if (mimeType != null) { |
(...skipping 18 matching lines...) Expand all Loading... |
3415 * gRPC (https://github.com/grpc). The error model is designed to be: | 3499 * gRPC (https://github.com/grpc). The error model is designed to be: |
3416 * Simple to use and understand for most users | 3500 * Simple to use and understand for most users |
3417 * Flexible enough to meet unexpected needsOverviewThe Status message contains | 3501 * Flexible enough to meet unexpected needsOverviewThe Status message contains |
3418 * three pieces of data: error code, error message, and error details. The error | 3502 * three pieces of data: error code, error message, and error details. The error |
3419 * code should be an enum value of google.rpc.Code, but it may accept additional | 3503 * code should be an enum value of google.rpc.Code, but it may accept additional |
3420 * error codes if needed. The error message should be a developer-facing English | 3504 * error codes if needed. The error message should be a developer-facing English |
3421 * message that helps developers understand and resolve the error. If a | 3505 * message that helps developers understand and resolve the error. If a |
3422 * localized user-facing error message is needed, put the localized message in | 3506 * localized user-facing error message is needed, put the localized message in |
3423 * the error details or localize it in the client. The optional error details | 3507 * the error details or localize it in the client. The optional error details |
3424 * may contain arbitrary information about the error. There is a predefined set | 3508 * may contain arbitrary information about the error. There is a predefined set |
3425 * of error detail types in the package google.rpc which can be used for common | 3509 * of error detail types in the package google.rpc that can be used for common |
3426 * error conditions.Language mappingThe Status message is the logical | 3510 * error conditions.Language mappingThe Status message is the logical |
3427 * representation of the error model, but it is not necessarily the actual wire | 3511 * representation of the error model, but it is not necessarily the actual wire |
3428 * format. When the Status message is exposed in different client libraries and | 3512 * format. When the Status message is exposed in different client libraries and |
3429 * different wire protocols, it can be mapped differently. For example, it will | 3513 * different wire protocols, it can be mapped differently. For example, it will |
3430 * likely be mapped to some exceptions in Java, but more likely mapped to some | 3514 * likely be mapped to some exceptions in Java, but more likely mapped to some |
3431 * error codes in C.Other usesThe error model and the Status message can be used | 3515 * error codes in C.Other usesThe error model and the Status message can be used |
3432 * in a variety of environments, either with or without APIs, to provide a | 3516 * in a variety of environments, either with or without APIs, to provide a |
3433 * consistent developer experience across different environments.Example uses of | 3517 * consistent developer experience across different environments.Example uses of |
3434 * this error model include: | 3518 * this error model include: |
3435 * Partial errors. If a service needs to return partial errors to the client, it | 3519 * Partial errors. If a service needs to return partial errors to the client, it |
3436 * may embed the Status in the normal response to indicate the partial errors. | 3520 * may embed the Status in the normal response to indicate the partial errors. |
3437 * Workflow errors. A typical workflow has multiple steps. Each step may have a | 3521 * Workflow errors. A typical workflow has multiple steps. Each step may have a |
3438 * Status message for error reporting purpose. | 3522 * Status message for error reporting. |
3439 * Batch operations. If a client uses batch request and batch response, the | 3523 * Batch operations. If a client uses batch request and batch response, the |
3440 * Status message should be used directly inside batch response, one for each | 3524 * Status message should be used directly inside batch response, one for each |
3441 * error sub-response. | 3525 * error sub-response. |
3442 * Asynchronous operations. If an API call embeds asynchronous operation results | 3526 * Asynchronous operations. If an API call embeds asynchronous operation results |
3443 * in its response, the status of those operations should be represented | 3527 * in its response, the status of those operations should be represented |
3444 * directly using the Status message. | 3528 * directly using the Status message. |
3445 * Logging. If some API errors are stored in logs, the message Status could be | 3529 * Logging. If some API errors are stored in logs, the message Status could be |
3446 * used directly after any stripping needed for security/privacy reasons. | 3530 * used directly after any stripping needed for security/privacy reasons. |
3447 */ | 3531 */ |
3448 class Status { | 3532 class Status { |
(...skipping 21 matching lines...) Expand all Loading... |
3470 code = _json["code"]; | 3554 code = _json["code"]; |
3471 } | 3555 } |
3472 if (_json.containsKey("details")) { | 3556 if (_json.containsKey("details")) { |
3473 details = _json["details"]; | 3557 details = _json["details"]; |
3474 } | 3558 } |
3475 if (_json.containsKey("message")) { | 3559 if (_json.containsKey("message")) { |
3476 message = _json["message"]; | 3560 message = _json["message"]; |
3477 } | 3561 } |
3478 } | 3562 } |
3479 | 3563 |
3480 core.Map toJson() { | 3564 core.Map<core.String, core.Object> toJson() { |
3481 var _json = new core.Map(); | 3565 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3482 if (code != null) { | 3566 if (code != null) { |
3483 _json["code"] = code; | 3567 _json["code"] = code; |
3484 } | 3568 } |
3485 if (details != null) { | 3569 if (details != null) { |
3486 _json["details"] = details; | 3570 _json["details"] = details; |
3487 } | 3571 } |
3488 if (message != null) { | 3572 if (message != null) { |
3489 _json["message"] = message; | 3573 _json["message"] = message; |
3490 } | 3574 } |
3491 return _json; | 3575 return _json; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3525 | 3609 |
3526 TrafficSplit.fromJson(core.Map _json) { | 3610 TrafficSplit.fromJson(core.Map _json) { |
3527 if (_json.containsKey("allocations")) { | 3611 if (_json.containsKey("allocations")) { |
3528 allocations = _json["allocations"]; | 3612 allocations = _json["allocations"]; |
3529 } | 3613 } |
3530 if (_json.containsKey("shardBy")) { | 3614 if (_json.containsKey("shardBy")) { |
3531 shardBy = _json["shardBy"]; | 3615 shardBy = _json["shardBy"]; |
3532 } | 3616 } |
3533 } | 3617 } |
3534 | 3618 |
3535 core.Map toJson() { | 3619 core.Map<core.String, core.Object> toJson() { |
3536 var _json = new core.Map(); | 3620 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3537 if (allocations != null) { | 3621 if (allocations != null) { |
3538 _json["allocations"] = allocations; | 3622 _json["allocations"] = allocations; |
3539 } | 3623 } |
3540 if (shardBy != null) { | 3624 if (shardBy != null) { |
3541 _json["shardBy"] = shardBy; | 3625 _json["shardBy"] = shardBy; |
3542 } | 3626 } |
3543 return _json; | 3627 return _json; |
3544 } | 3628 } |
3545 } | 3629 } |
3546 | 3630 |
(...skipping 23 matching lines...) Expand all Loading... |
3570 domain = _json["domain"]; | 3654 domain = _json["domain"]; |
3571 } | 3655 } |
3572 if (_json.containsKey("module")) { | 3656 if (_json.containsKey("module")) { |
3573 module = _json["module"]; | 3657 module = _json["module"]; |
3574 } | 3658 } |
3575 if (_json.containsKey("path")) { | 3659 if (_json.containsKey("path")) { |
3576 path = _json["path"]; | 3660 path = _json["path"]; |
3577 } | 3661 } |
3578 } | 3662 } |
3579 | 3663 |
3580 core.Map toJson() { | 3664 core.Map<core.String, core.Object> toJson() { |
3581 var _json = new core.Map(); | 3665 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3582 if (domain != null) { | 3666 if (domain != null) { |
3583 _json["domain"] = domain; | 3667 _json["domain"] = domain; |
3584 } | 3668 } |
3585 if (module != null) { | 3669 if (module != null) { |
3586 _json["module"] = module; | 3670 _json["module"] = module; |
3587 } | 3671 } |
3588 if (path != null) { | 3672 if (path != null) { |
3589 _json["path"] = path; | 3673 _json["path"] = path; |
3590 } | 3674 } |
3591 return _json; | 3675 return _json; |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3698 staticDirectory = new StaticDirectoryHandler.fromJson(_json["staticDirecto
ry"]); | 3782 staticDirectory = new StaticDirectoryHandler.fromJson(_json["staticDirecto
ry"]); |
3699 } | 3783 } |
3700 if (_json.containsKey("staticFiles")) { | 3784 if (_json.containsKey("staticFiles")) { |
3701 staticFiles = new StaticFilesHandler.fromJson(_json["staticFiles"]); | 3785 staticFiles = new StaticFilesHandler.fromJson(_json["staticFiles"]); |
3702 } | 3786 } |
3703 if (_json.containsKey("urlRegex")) { | 3787 if (_json.containsKey("urlRegex")) { |
3704 urlRegex = _json["urlRegex"]; | 3788 urlRegex = _json["urlRegex"]; |
3705 } | 3789 } |
3706 } | 3790 } |
3707 | 3791 |
3708 core.Map toJson() { | 3792 core.Map<core.String, core.Object> toJson() { |
3709 var _json = new core.Map(); | 3793 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3710 if (apiEndpoint != null) { | 3794 if (apiEndpoint != null) { |
3711 _json["apiEndpoint"] = (apiEndpoint).toJson(); | 3795 _json["apiEndpoint"] = (apiEndpoint).toJson(); |
3712 } | 3796 } |
3713 if (authFailAction != null) { | 3797 if (authFailAction != null) { |
3714 _json["authFailAction"] = authFailAction; | 3798 _json["authFailAction"] = authFailAction; |
3715 } | 3799 } |
3716 if (login != null) { | 3800 if (login != null) { |
3717 _json["login"] = login; | 3801 _json["login"] = login; |
3718 } | 3802 } |
3719 if (redirectHttpResponseCode != null) { | 3803 if (redirectHttpResponseCode != null) { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3849 * Files that match this pattern will not be built into this version. Only | 3933 * Files that match this pattern will not be built into this version. Only |
3850 * applicable for Go runtimes.Only returned in GET requests if view=FULL is | 3934 * applicable for Go runtimes.Only returned in GET requests if view=FULL is |
3851 * set. | 3935 * set. |
3852 */ | 3936 */ |
3853 core.String nobuildFilesRegex; | 3937 core.String nobuildFilesRegex; |
3854 /** Machine resources for this version. Only applicable for VM runtimes. */ | 3938 /** Machine resources for this version. Only applicable for VM runtimes. */ |
3855 Resources resources; | 3939 Resources resources; |
3856 /** Desired runtime. Example: python27. */ | 3940 /** Desired runtime. Example: python27. */ |
3857 core.String runtime; | 3941 core.String runtime; |
3858 /** | 3942 /** |
| 3943 * The version of the API in the given runtime environment. Please see the |
| 3944 * app.yaml reference for valid values at |
| 3945 * https://cloud.google.com/appengine/docs/standard/<language>/config/appref |
| 3946 */ |
| 3947 core.String runtimeApiVersion; |
| 3948 /** |
3859 * Current serving status of this version. Only the versions with a SERVING | 3949 * Current serving status of this version. Only the versions with a SERVING |
3860 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an | 3950 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an |
3861 * invalid value. Defaults to SERVING. | 3951 * invalid value. Defaults to SERVING. |
3862 * Possible string values are: | 3952 * Possible string values are: |
3863 * - "SERVING_STATUS_UNSPECIFIED" : Not specified. | 3953 * - "SERVING_STATUS_UNSPECIFIED" : Not specified. |
3864 * - "SERVING" : Currently serving. Instances are created according to the | 3954 * - "SERVING" : Currently serving. Instances are created according to the |
3865 * scaling settings of the version. | 3955 * scaling settings of the version. |
3866 * - "STOPPED" : Disabled. No instances will be created and the scaling | 3956 * - "STOPPED" : Disabled. No instances will be created and the scaling |
3867 * settings are ignored until the state of the version changes to SERVING. | 3957 * settings are ignored until the state of the version changes to SERVING. |
3868 */ | 3958 */ |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3937 } | 4027 } |
3938 if (_json.containsKey("nobuildFilesRegex")) { | 4028 if (_json.containsKey("nobuildFilesRegex")) { |
3939 nobuildFilesRegex = _json["nobuildFilesRegex"]; | 4029 nobuildFilesRegex = _json["nobuildFilesRegex"]; |
3940 } | 4030 } |
3941 if (_json.containsKey("resources")) { | 4031 if (_json.containsKey("resources")) { |
3942 resources = new Resources.fromJson(_json["resources"]); | 4032 resources = new Resources.fromJson(_json["resources"]); |
3943 } | 4033 } |
3944 if (_json.containsKey("runtime")) { | 4034 if (_json.containsKey("runtime")) { |
3945 runtime = _json["runtime"]; | 4035 runtime = _json["runtime"]; |
3946 } | 4036 } |
| 4037 if (_json.containsKey("runtimeApiVersion")) { |
| 4038 runtimeApiVersion = _json["runtimeApiVersion"]; |
| 4039 } |
3947 if (_json.containsKey("servingStatus")) { | 4040 if (_json.containsKey("servingStatus")) { |
3948 servingStatus = _json["servingStatus"]; | 4041 servingStatus = _json["servingStatus"]; |
3949 } | 4042 } |
3950 if (_json.containsKey("threadsafe")) { | 4043 if (_json.containsKey("threadsafe")) { |
3951 threadsafe = _json["threadsafe"]; | 4044 threadsafe = _json["threadsafe"]; |
3952 } | 4045 } |
3953 if (_json.containsKey("vm")) { | 4046 if (_json.containsKey("vm")) { |
3954 vm = _json["vm"]; | 4047 vm = _json["vm"]; |
3955 } | 4048 } |
3956 } | 4049 } |
3957 | 4050 |
3958 core.Map toJson() { | 4051 core.Map<core.String, core.Object> toJson() { |
3959 var _json = new core.Map(); | 4052 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
3960 if (apiConfig != null) { | 4053 if (apiConfig != null) { |
3961 _json["apiConfig"] = (apiConfig).toJson(); | 4054 _json["apiConfig"] = (apiConfig).toJson(); |
3962 } | 4055 } |
3963 if (automaticScaling != null) { | 4056 if (automaticScaling != null) { |
3964 _json["automaticScaling"] = (automaticScaling).toJson(); | 4057 _json["automaticScaling"] = (automaticScaling).toJson(); |
3965 } | 4058 } |
3966 if (basicScaling != null) { | 4059 if (basicScaling != null) { |
3967 _json["basicScaling"] = (basicScaling).toJson(); | 4060 _json["basicScaling"] = (basicScaling).toJson(); |
3968 } | 4061 } |
3969 if (betaSettings != null) { | 4062 if (betaSettings != null) { |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4019 } | 4112 } |
4020 if (nobuildFilesRegex != null) { | 4113 if (nobuildFilesRegex != null) { |
4021 _json["nobuildFilesRegex"] = nobuildFilesRegex; | 4114 _json["nobuildFilesRegex"] = nobuildFilesRegex; |
4022 } | 4115 } |
4023 if (resources != null) { | 4116 if (resources != null) { |
4024 _json["resources"] = (resources).toJson(); | 4117 _json["resources"] = (resources).toJson(); |
4025 } | 4118 } |
4026 if (runtime != null) { | 4119 if (runtime != null) { |
4027 _json["runtime"] = runtime; | 4120 _json["runtime"] = runtime; |
4028 } | 4121 } |
| 4122 if (runtimeApiVersion != null) { |
| 4123 _json["runtimeApiVersion"] = runtimeApiVersion; |
| 4124 } |
4029 if (servingStatus != null) { | 4125 if (servingStatus != null) { |
4030 _json["servingStatus"] = servingStatus; | 4126 _json["servingStatus"] = servingStatus; |
4031 } | 4127 } |
4032 if (threadsafe != null) { | 4128 if (threadsafe != null) { |
4033 _json["threadsafe"] = threadsafe; | 4129 _json["threadsafe"] = threadsafe; |
4034 } | 4130 } |
4035 if (vm != null) { | 4131 if (vm != null) { |
4036 _json["vm"] = vm; | 4132 _json["vm"] = vm; |
4037 } | 4133 } |
4038 return _json; | 4134 return _json; |
(...skipping 18 matching lines...) Expand all Loading... |
4057 name = _json["name"]; | 4153 name = _json["name"]; |
4058 } | 4154 } |
4059 if (_json.containsKey("sizeGb")) { | 4155 if (_json.containsKey("sizeGb")) { |
4060 sizeGb = _json["sizeGb"]; | 4156 sizeGb = _json["sizeGb"]; |
4061 } | 4157 } |
4062 if (_json.containsKey("volumeType")) { | 4158 if (_json.containsKey("volumeType")) { |
4063 volumeType = _json["volumeType"]; | 4159 volumeType = _json["volumeType"]; |
4064 } | 4160 } |
4065 } | 4161 } |
4066 | 4162 |
4067 core.Map toJson() { | 4163 core.Map<core.String, core.Object> toJson() { |
4068 var _json = new core.Map(); | 4164 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c
ore.Object>(); |
4069 if (name != null) { | 4165 if (name != null) { |
4070 _json["name"] = name; | 4166 _json["name"] = name; |
4071 } | 4167 } |
4072 if (sizeGb != null) { | 4168 if (sizeGb != null) { |
4073 _json["sizeGb"] = sizeGb; | 4169 _json["sizeGb"] = sizeGb; |
4074 } | 4170 } |
4075 if (volumeType != null) { | 4171 if (volumeType != null) { |
4076 _json["volumeType"] = volumeType; | 4172 _json["volumeType"] = volumeType; |
4077 } | 4173 } |
4078 return _json; | 4174 return _json; |
4079 } | 4175 } |
4080 } | 4176 } |
OLD | NEW |