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

Side by Side Diff: generated/googleapis_beta/lib/appengine/v1beta.dart

Issue 2936613002: Api-Roll 50: 2017-06-12 (Closed)
Patch Set: Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // This is a generated file (see the discoveryapis_generator project). 1 // This is a generated file (see the discoveryapis_generator project).
2 2
3 library googleapis_beta.appengine.v1beta; 3 library googleapis_beta.appengine.v1beta;
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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 } 391 }
392 392
393 /** 393 /**
394 * Lists all SSL certificates the user is authorized to administer. 394 * Lists all SSL certificates the user is authorized to administer.
395 * 395 *
396 * Request parameters: 396 * Request parameters:
397 * 397 *
398 * [appsId] - Part of `parent`. Name of the parent Application resource. 398 * [appsId] - Part of `parent`. Name of the parent Application resource.
399 * Example: apps/myapp. 399 * Example: apps/myapp.
400 * 400 *
401 * [pageSize] - Maximum results to return per page.
402 *
401 * [pageToken] - Continuation token for fetching the next page of results. 403 * [pageToken] - Continuation token for fetching the next page of results.
402 * 404 *
403 * [pageSize] - Maximum results to return per page.
404 *
405 * Completes with a [ListAuthorizedCertificatesResponse]. 405 * Completes with a [ListAuthorizedCertificatesResponse].
406 * 406 *
407 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 407 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
408 * error. 408 * error.
409 * 409 *
410 * If the used [http.Client] completes with an error when making a REST call, 410 * If the used [http.Client] completes with an error when making a REST call,
411 * this method will complete with the same error. 411 * this method will complete with the same error.
412 */ 412 */
413 async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, {cor e.String pageToken, core.int pageSize}) { 413 async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, {cor e.int pageSize, core.String pageToken}) {
414 var _url = null; 414 var _url = null;
415 var _queryParams = new core.Map(); 415 var _queryParams = new core.Map();
416 var _uploadMedia = null; 416 var _uploadMedia = null;
417 var _uploadOptions = null; 417 var _uploadOptions = null;
418 var _downloadOptions = commons.DownloadOptions.Metadata; 418 var _downloadOptions = commons.DownloadOptions.Metadata;
419 var _body = null; 419 var _body = null;
420 420
421 if (appsId == null) { 421 if (appsId == null) {
422 throw new core.ArgumentError("Parameter appsId is required."); 422 throw new core.ArgumentError("Parameter appsId is required.");
423 } 423 }
424 if (pageSize != null) {
425 _queryParams["pageSize"] = ["${pageSize}"];
426 }
424 if (pageToken != null) { 427 if (pageToken != null) {
425 _queryParams["pageToken"] = [pageToken]; 428 _queryParams["pageToken"] = [pageToken];
426 } 429 }
427 if (pageSize != null) {
428 _queryParams["pageSize"] = ["${pageSize}"];
429 }
430 430
431 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authori zedCertificates'; 431 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authori zedCertificates';
432 432
433 var _response = _requester.request(_url, 433 var _response = _requester.request(_url,
434 "GET", 434 "GET",
435 body: _body, 435 body: _body,
436 queryParams: _queryParams, 436 queryParams: _queryParams,
437 uploadOptions: _uploadOptions, 437 uploadOptions: _uploadOptions,
438 uploadMedia: _uploadMedia, 438 uploadMedia: _uploadMedia,
439 downloadOptions: _downloadOptions); 439 downloadOptions: _downloadOptions);
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
708 } 708 }
709 709
710 /** 710 /**
711 * Lists the domain mappings on an application. 711 * Lists the domain mappings on an application.
712 * 712 *
713 * Request parameters: 713 * Request parameters:
714 * 714 *
715 * [appsId] - Part of `parent`. Name of the parent Application resource. 715 * [appsId] - Part of `parent`. Name of the parent Application resource.
716 * Example: apps/myapp. 716 * Example: apps/myapp.
717 * 717 *
718 * [pageSize] - Maximum results to return per page.
719 *
718 * [pageToken] - Continuation token for fetching the next page of results. 720 * [pageToken] - Continuation token for fetching the next page of results.
719 * 721 *
720 * [pageSize] - Maximum results to return per page.
721 *
722 * Completes with a [ListDomainMappingsResponse]. 722 * Completes with a [ListDomainMappingsResponse].
723 * 723 *
724 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 724 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
725 * error. 725 * error.
726 * 726 *
727 * If the used [http.Client] completes with an error when making a REST call, 727 * If the used [http.Client] completes with an error when making a REST call,
728 * this method will complete with the same error. 728 * this method will complete with the same error.
729 */ 729 */
730 async.Future<ListDomainMappingsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) { 730 async.Future<ListDomainMappingsResponse> list(core.String appsId, {core.int pa geSize, core.String pageToken}) {
731 var _url = null; 731 var _url = null;
732 var _queryParams = new core.Map(); 732 var _queryParams = new core.Map();
733 var _uploadMedia = null; 733 var _uploadMedia = null;
734 var _uploadOptions = null; 734 var _uploadOptions = null;
735 var _downloadOptions = commons.DownloadOptions.Metadata; 735 var _downloadOptions = commons.DownloadOptions.Metadata;
736 var _body = null; 736 var _body = null;
737 737
738 if (appsId == null) { 738 if (appsId == null) {
739 throw new core.ArgumentError("Parameter appsId is required."); 739 throw new core.ArgumentError("Parameter appsId is required.");
740 } 740 }
741 if (pageSize != null) {
742 _queryParams["pageSize"] = ["${pageSize}"];
743 }
741 if (pageToken != null) { 744 if (pageToken != null) {
742 _queryParams["pageToken"] = [pageToken]; 745 _queryParams["pageToken"] = [pageToken];
743 } 746 }
744 if (pageSize != null) {
745 _queryParams["pageSize"] = ["${pageSize}"];
746 }
747 747
748 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainM appings'; 748 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainM appings';
749 749
750 var _response = _requester.request(_url, 750 var _response = _requester.request(_url,
751 "GET", 751 "GET",
752 body: _body, 752 body: _body,
753 queryParams: _queryParams, 753 queryParams: _queryParams,
754 uploadOptions: _uploadOptions, 754 uploadOptions: _uploadOptions,
755 uploadMedia: _uploadMedia, 755 uploadMedia: _uploadMedia,
756 downloadOptions: _downloadOptions); 756 downloadOptions: _downloadOptions);
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
974 queryParams: _queryParams, 974 queryParams: _queryParams,
975 uploadOptions: _uploadOptions, 975 uploadOptions: _uploadOptions,
976 uploadMedia: _uploadMedia, 976 uploadMedia: _uploadMedia,
977 downloadOptions: _downloadOptions); 977 downloadOptions: _downloadOptions);
978 return _response.then((data) => new Operation.fromJson(data)); 978 return _response.then((data) => new Operation.fromJson(data));
979 } 979 }
980 980
981 /** 981 /**
982 * Lists operations that match the specified filter in the request. If the 982 * Lists operations that match the specified filter in the request. If the
983 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name 983 * server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name
984 * binding below allows API services to override the binding to use different 984 * binding allows API services to override the binding to use different
985 * resource name schemes, such as users / * /operations. 985 * resource name schemes, such as users / * /operations. To override the
986 * binding, API services can add a binding such as "/v1/{name=users / *
987 * }/operations" to their service configuration. For backwards compatibility,
988 * the default name includes the operations collection id, however overriding
989 * users must ensure the name binding is the parent resource, without the
990 * operations collection id.
986 * 991 *
987 * Request parameters: 992 * Request parameters:
988 * 993 *
989 * [appsId] - Part of `name`. The name of the operation collection. 994 * [appsId] - Part of `name`. The name of the operation's parent resource.
990 *
991 * [pageSize] - The standard list page size.
992 * 995 *
993 * [filter] - The standard list filter. 996 * [filter] - The standard list filter.
994 * 997 *
995 * [pageToken] - The standard list page token. 998 * [pageToken] - The standard list page token.
996 * 999 *
1000 * [pageSize] - The standard list page size.
1001 *
997 * Completes with a [ListOperationsResponse]. 1002 * Completes with a [ListOperationsResponse].
998 * 1003 *
999 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1004 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1000 * error. 1005 * error.
1001 * 1006 *
1002 * If the used [http.Client] completes with an error when making a REST call, 1007 * If the used [http.Client] completes with an error when making a REST call,
1003 * this method will complete with the same error. 1008 * this method will complete with the same error.
1004 */ 1009 */
1005 async.Future<ListOperationsResponse> list(core.String appsId, {core.int pageSi ze, core.String filter, core.String pageToken}) { 1010 async.Future<ListOperationsResponse> list(core.String appsId, {core.String fil ter, core.String pageToken, core.int pageSize}) {
1006 var _url = null; 1011 var _url = null;
1007 var _queryParams = new core.Map(); 1012 var _queryParams = new core.Map();
1008 var _uploadMedia = null; 1013 var _uploadMedia = null;
1009 var _uploadOptions = null; 1014 var _uploadOptions = null;
1010 var _downloadOptions = commons.DownloadOptions.Metadata; 1015 var _downloadOptions = commons.DownloadOptions.Metadata;
1011 var _body = null; 1016 var _body = null;
1012 1017
1013 if (appsId == null) { 1018 if (appsId == null) {
1014 throw new core.ArgumentError("Parameter appsId is required."); 1019 throw new core.ArgumentError("Parameter appsId is required.");
1015 } 1020 }
1016 if (pageSize != null) {
1017 _queryParams["pageSize"] = ["${pageSize}"];
1018 }
1019 if (filter != null) { 1021 if (filter != null) {
1020 _queryParams["filter"] = [filter]; 1022 _queryParams["filter"] = [filter];
1021 } 1023 }
1022 if (pageToken != null) { 1024 if (pageToken != null) {
1023 _queryParams["pageToken"] = [pageToken]; 1025 _queryParams["pageToken"] = [pageToken];
1024 } 1026 }
1027 if (pageSize != null) {
1028 _queryParams["pageSize"] = ["${pageSize}"];
1029 }
1025 1030
1026 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operati ons'; 1031 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operati ons';
1027 1032
1028 var _response = _requester.request(_url, 1033 var _response = _requester.request(_url,
1029 "GET", 1034 "GET",
1030 body: _body, 1035 body: _body,
1031 queryParams: _queryParams, 1036 queryParams: _queryParams,
1032 uploadOptions: _uploadOptions, 1037 uploadOptions: _uploadOptions,
1033 uploadMedia: _uploadMedia, 1038 uploadMedia: _uploadMedia,
1034 downloadOptions: _downloadOptions); 1039 downloadOptions: _downloadOptions);
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 } 1142 }
1138 1143
1139 /** 1144 /**
1140 * Lists all the services in the application. 1145 * Lists all the services in the application.
1141 * 1146 *
1142 * Request parameters: 1147 * Request parameters:
1143 * 1148 *
1144 * [appsId] - Part of `parent`. Name of the parent Application resource. 1149 * [appsId] - Part of `parent`. Name of the parent Application resource.
1145 * Example: apps/myapp. 1150 * Example: apps/myapp.
1146 * 1151 *
1152 * [pageSize] - Maximum results to return per page.
1153 *
1147 * [pageToken] - Continuation token for fetching the next page of results. 1154 * [pageToken] - Continuation token for fetching the next page of results.
1148 * 1155 *
1149 * [pageSize] - Maximum results to return per page.
1150 *
1151 * Completes with a [ListServicesResponse]. 1156 * Completes with a [ListServicesResponse].
1152 * 1157 *
1153 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1158 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1154 * error. 1159 * error.
1155 * 1160 *
1156 * If the used [http.Client] completes with an error when making a REST call, 1161 * If the used [http.Client] completes with an error when making a REST call,
1157 * this method will complete with the same error. 1162 * this method will complete with the same error.
1158 */ 1163 */
1159 async.Future<ListServicesResponse> list(core.String appsId, {core.String pageT oken, core.int pageSize}) { 1164 async.Future<ListServicesResponse> list(core.String appsId, {core.int pageSize , core.String pageToken}) {
1160 var _url = null; 1165 var _url = null;
1161 var _queryParams = new core.Map(); 1166 var _queryParams = new core.Map();
1162 var _uploadMedia = null; 1167 var _uploadMedia = null;
1163 var _uploadOptions = null; 1168 var _uploadOptions = null;
1164 var _downloadOptions = commons.DownloadOptions.Metadata; 1169 var _downloadOptions = commons.DownloadOptions.Metadata;
1165 var _body = null; 1170 var _body = null;
1166 1171
1167 if (appsId == null) { 1172 if (appsId == null) {
1168 throw new core.ArgumentError("Parameter appsId is required."); 1173 throw new core.ArgumentError("Parameter appsId is required.");
1169 } 1174 }
1175 if (pageSize != null) {
1176 _queryParams["pageSize"] = ["${pageSize}"];
1177 }
1170 if (pageToken != null) { 1178 if (pageToken != null) {
1171 _queryParams["pageToken"] = [pageToken]; 1179 _queryParams["pageToken"] = [pageToken];
1172 } 1180 }
1173 if (pageSize != null) {
1174 _queryParams["pageSize"] = ["${pageSize}"];
1175 }
1176 1181
1177 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/service s'; 1182 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/service s';
1178 1183
1179 var _response = _requester.request(_url, 1184 var _response = _requester.request(_url,
1180 "GET", 1185 "GET",
1181 body: _body, 1186 body: _body,
1182 queryParams: _queryParams, 1187 queryParams: _queryParams,
1183 uploadOptions: _uploadOptions, 1188 uploadOptions: _uploadOptions,
1184 uploadMedia: _uploadMedia, 1189 uploadMedia: _uploadMedia,
1185 downloadOptions: _downloadOptions); 1190 downloadOptions: _downloadOptions);
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1431 /** 1436 /**
1432 * Lists the versions of a service. 1437 * Lists the versions of a service.
1433 * 1438 *
1434 * Request parameters: 1439 * Request parameters:
1435 * 1440 *
1436 * [appsId] - Part of `parent`. Name of the parent Service resource. Example: 1441 * [appsId] - Part of `parent`. Name of the parent Service resource. Example:
1437 * apps/myapp/services/default. 1442 * apps/myapp/services/default.
1438 * 1443 *
1439 * [servicesId] - Part of `parent`. See documentation of `appsId`. 1444 * [servicesId] - Part of `parent`. See documentation of `appsId`.
1440 * 1445 *
1446 * [pageToken] - Continuation token for fetching the next page of results.
1447 *
1441 * [pageSize] - Maximum results to return per page. 1448 * [pageSize] - Maximum results to return per page.
1442 * 1449 *
1443 * [view] - Controls the set of fields returned in the List response. 1450 * [view] - Controls the set of fields returned in the List response.
1444 * Possible string values are: 1451 * Possible string values are:
1445 * - "BASIC" : A BASIC. 1452 * - "BASIC" : A BASIC.
1446 * - "FULL" : A FULL. 1453 * - "FULL" : A FULL.
1447 * 1454 *
1448 * [pageToken] - Continuation token for fetching the next page of results.
1449 *
1450 * Completes with a [ListVersionsResponse]. 1455 * Completes with a [ListVersionsResponse].
1451 * 1456 *
1452 * Completes with a [commons.ApiRequestError] if the API endpoint returned an 1457 * Completes with a [commons.ApiRequestError] if the API endpoint returned an
1453 * error. 1458 * error.
1454 * 1459 *
1455 * If the used [http.Client] completes with an error when making a REST call, 1460 * If the used [http.Client] completes with an error when making a REST call,
1456 * this method will complete with the same error. 1461 * this method will complete with the same error.
1457 */ 1462 */
1458 async.Future<ListVersionsResponse> list(core.String appsId, core.String servic esId, {core.int pageSize, core.String view, core.String pageToken}) { 1463 async.Future<ListVersionsResponse> list(core.String appsId, core.String servic esId, {core.String pageToken, core.int pageSize, core.String view}) {
1459 var _url = null; 1464 var _url = null;
1460 var _queryParams = new core.Map(); 1465 var _queryParams = new core.Map();
1461 var _uploadMedia = null; 1466 var _uploadMedia = null;
1462 var _uploadOptions = null; 1467 var _uploadOptions = null;
1463 var _downloadOptions = commons.DownloadOptions.Metadata; 1468 var _downloadOptions = commons.DownloadOptions.Metadata;
1464 var _body = null; 1469 var _body = null;
1465 1470
1466 if (appsId == null) { 1471 if (appsId == null) {
1467 throw new core.ArgumentError("Parameter appsId is required."); 1472 throw new core.ArgumentError("Parameter appsId is required.");
1468 } 1473 }
1469 if (servicesId == null) { 1474 if (servicesId == null) {
1470 throw new core.ArgumentError("Parameter servicesId is required."); 1475 throw new core.ArgumentError("Parameter servicesId is required.");
1471 } 1476 }
1477 if (pageToken != null) {
1478 _queryParams["pageToken"] = [pageToken];
1479 }
1472 if (pageSize != null) { 1480 if (pageSize != null) {
1473 _queryParams["pageSize"] = ["${pageSize}"]; 1481 _queryParams["pageSize"] = ["${pageSize}"];
1474 } 1482 }
1475 if (view != null) { 1483 if (view != null) {
1476 _queryParams["view"] = [view]; 1484 _queryParams["view"] = [view];
1477 } 1485 }
1478 if (pageToken != null) {
1479 _queryParams["pageToken"] = [pageToken];
1480 }
1481 1486
1482 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/service s/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions'; 1487 _url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/service s/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions';
1483 1488
1484 var _response = _requester.request(_url, 1489 var _response = _requester.request(_url,
1485 "GET", 1490 "GET",
1486 body: _body, 1491 body: _body,
1487 queryParams: _queryParams, 1492 queryParams: _queryParams,
1488 uploadOptions: _uploadOptions, 1493 uploadOptions: _uploadOptions,
1489 uploadMedia: _uploadMedia, 1494 uploadMedia: _uploadMedia,
1490 downloadOptions: _downloadOptions); 1495 downloadOptions: _downloadOptions);
(...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after
1885 script = _json["script"]; 1890 script = _json["script"];
1886 } 1891 }
1887 if (_json.containsKey("securityLevel")) { 1892 if (_json.containsKey("securityLevel")) {
1888 securityLevel = _json["securityLevel"]; 1893 securityLevel = _json["securityLevel"];
1889 } 1894 }
1890 if (_json.containsKey("url")) { 1895 if (_json.containsKey("url")) {
1891 url = _json["url"]; 1896 url = _json["url"];
1892 } 1897 }
1893 } 1898 }
1894 1899
1895 core.Map toJson() { 1900 core.Map<core.String, core.Object> toJson() {
1896 var _json = new core.Map(); 1901 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1897 if (authFailAction != null) { 1902 if (authFailAction != null) {
1898 _json["authFailAction"] = authFailAction; 1903 _json["authFailAction"] = authFailAction;
1899 } 1904 }
1900 if (login != null) { 1905 if (login != null) {
1901 _json["login"] = login; 1906 _json["login"] = login;
1902 } 1907 }
1903 if (script != null) { 1908 if (script != null) {
1904 _json["script"] = script; 1909 _json["script"] = script;
1905 } 1910 }
1906 if (securityLevel != null) { 1911 if (securityLevel != null) {
(...skipping 12 matching lines...) Expand all
1919 core.String scriptPath; 1924 core.String scriptPath;
1920 1925
1921 ApiEndpointHandler(); 1926 ApiEndpointHandler();
1922 1927
1923 ApiEndpointHandler.fromJson(core.Map _json) { 1928 ApiEndpointHandler.fromJson(core.Map _json) {
1924 if (_json.containsKey("scriptPath")) { 1929 if (_json.containsKey("scriptPath")) {
1925 scriptPath = _json["scriptPath"]; 1930 scriptPath = _json["scriptPath"];
1926 } 1931 }
1927 } 1932 }
1928 1933
1929 core.Map toJson() { 1934 core.Map<core.String, core.Object> toJson() {
1930 var _json = new core.Map(); 1935 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
1931 if (scriptPath != null) { 1936 if (scriptPath != null) {
1932 _json["scriptPath"] = scriptPath; 1937 _json["scriptPath"] = scriptPath;
1933 } 1938 }
1934 return _json; 1939 return _json;
1935 } 1940 }
1936 } 1941 }
1937 1942
1938 /** 1943 /**
1939 * An Application resource contains the top-level configuration of an App Engine 1944 * An Application resource contains the top-level configuration of an App Engine
1940 * application. 1945 * application. Next tag: 19
1941 */ 1946 */
1942 class Application { 1947 class Application {
1943 /** 1948 /**
1944 * Google Apps authentication domain that controls which users can access this 1949 * Google Apps authentication domain that controls which users can access this
1945 * application.Defaults to open access for any Google Account. 1950 * application.Defaults to open access for any Google Account.
1946 */ 1951 */
1947 core.String authDomain; 1952 core.String authDomain;
1948 /** 1953 /**
1949 * Google Cloud Storage bucket that can be used for storing files associated 1954 * Google Cloud Storage bucket that can be used for storing files associated
1950 * with this application. This bucket is associated with the application and 1955 * with this application. This bucket is associated with the application and
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
2038 locationId = _json["locationId"]; 2043 locationId = _json["locationId"];
2039 } 2044 }
2040 if (_json.containsKey("name")) { 2045 if (_json.containsKey("name")) {
2041 name = _json["name"]; 2046 name = _json["name"];
2042 } 2047 }
2043 if (_json.containsKey("servingStatus")) { 2048 if (_json.containsKey("servingStatus")) {
2044 servingStatus = _json["servingStatus"]; 2049 servingStatus = _json["servingStatus"];
2045 } 2050 }
2046 } 2051 }
2047 2052
2048 core.Map toJson() { 2053 core.Map<core.String, core.Object> toJson() {
2049 var _json = new core.Map(); 2054 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2050 if (authDomain != null) { 2055 if (authDomain != null) {
2051 _json["authDomain"] = authDomain; 2056 _json["authDomain"] = authDomain;
2052 } 2057 }
2053 if (codeBucket != null) { 2058 if (codeBucket != null) {
2054 _json["codeBucket"] = codeBucket; 2059 _json["codeBucket"] = codeBucket;
2055 } 2060 }
2056 if (defaultBucket != null) { 2061 if (defaultBucket != null) {
2057 _json["defaultBucket"] = defaultBucket; 2062 _json["defaultBucket"] = defaultBucket;
2058 } 2063 }
2059 if (defaultCookieExpiration != null) { 2064 if (defaultCookieExpiration != null) {
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
2164 id = _json["id"]; 2169 id = _json["id"];
2165 } 2170 }
2166 if (_json.containsKey("name")) { 2171 if (_json.containsKey("name")) {
2167 name = _json["name"]; 2172 name = _json["name"];
2168 } 2173 }
2169 if (_json.containsKey("visibleDomainMappings")) { 2174 if (_json.containsKey("visibleDomainMappings")) {
2170 visibleDomainMappings = _json["visibleDomainMappings"]; 2175 visibleDomainMappings = _json["visibleDomainMappings"];
2171 } 2176 }
2172 } 2177 }
2173 2178
2174 core.Map toJson() { 2179 core.Map<core.String, core.Object> toJson() {
2175 var _json = new core.Map(); 2180 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2176 if (certificateRawData != null) { 2181 if (certificateRawData != null) {
2177 _json["certificateRawData"] = (certificateRawData).toJson(); 2182 _json["certificateRawData"] = (certificateRawData).toJson();
2178 } 2183 }
2179 if (displayName != null) { 2184 if (displayName != null) {
2180 _json["displayName"] = displayName; 2185 _json["displayName"] = displayName;
2181 } 2186 }
2182 if (domainMappingsCount != null) { 2187 if (domainMappingsCount != null) {
2183 _json["domainMappingsCount"] = domainMappingsCount; 2188 _json["domainMappingsCount"] = domainMappingsCount;
2184 } 2189 }
2185 if (domainNames != null) { 2190 if (domainNames != null) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2222 2227
2223 AuthorizedDomain.fromJson(core.Map _json) { 2228 AuthorizedDomain.fromJson(core.Map _json) {
2224 if (_json.containsKey("id")) { 2229 if (_json.containsKey("id")) {
2225 id = _json["id"]; 2230 id = _json["id"];
2226 } 2231 }
2227 if (_json.containsKey("name")) { 2232 if (_json.containsKey("name")) {
2228 name = _json["name"]; 2233 name = _json["name"];
2229 } 2234 }
2230 } 2235 }
2231 2236
2232 core.Map toJson() { 2237 core.Map<core.String, core.Object> toJson() {
2233 var _json = new core.Map(); 2238 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2234 if (id != null) { 2239 if (id != null) {
2235 _json["id"] = id; 2240 _json["id"] = id;
2236 } 2241 }
2237 if (name != null) { 2242 if (name != null) {
2238 _json["name"] = name; 2243 _json["name"] = name;
2239 } 2244 }
2240 return _json; 2245 return _json;
2241 } 2246 }
2242 } 2247 }
2243 2248
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2285 */ 2290 */
2286 core.String minPendingLatency; 2291 core.String minPendingLatency;
2287 /** 2292 /**
2288 * Minimum number of instances that should be maintained for this version. 2293 * Minimum number of instances that should be maintained for this version.
2289 */ 2294 */
2290 core.int minTotalInstances; 2295 core.int minTotalInstances;
2291 /** Target scaling by network usage. */ 2296 /** Target scaling by network usage. */
2292 NetworkUtilization networkUtilization; 2297 NetworkUtilization networkUtilization;
2293 /** Target scaling by request utilization. */ 2298 /** Target scaling by request utilization. */
2294 RequestUtilization requestUtilization; 2299 RequestUtilization requestUtilization;
2300 /** Scheduler settings for standard environment. */
2301 StandardSchedulerSettings standardSchedulerSettings;
2295 2302
2296 AutomaticScaling(); 2303 AutomaticScaling();
2297 2304
2298 AutomaticScaling.fromJson(core.Map _json) { 2305 AutomaticScaling.fromJson(core.Map _json) {
2299 if (_json.containsKey("coolDownPeriod")) { 2306 if (_json.containsKey("coolDownPeriod")) {
2300 coolDownPeriod = _json["coolDownPeriod"]; 2307 coolDownPeriod = _json["coolDownPeriod"];
2301 } 2308 }
2302 if (_json.containsKey("cpuUtilization")) { 2309 if (_json.containsKey("cpuUtilization")) {
2303 cpuUtilization = new CpuUtilization.fromJson(_json["cpuUtilization"]); 2310 cpuUtilization = new CpuUtilization.fromJson(_json["cpuUtilization"]);
2304 } 2311 }
(...skipping 20 matching lines...) Expand all
2325 } 2332 }
2326 if (_json.containsKey("minTotalInstances")) { 2333 if (_json.containsKey("minTotalInstances")) {
2327 minTotalInstances = _json["minTotalInstances"]; 2334 minTotalInstances = _json["minTotalInstances"];
2328 } 2335 }
2329 if (_json.containsKey("networkUtilization")) { 2336 if (_json.containsKey("networkUtilization")) {
2330 networkUtilization = new NetworkUtilization.fromJson(_json["networkUtiliza tion"]); 2337 networkUtilization = new NetworkUtilization.fromJson(_json["networkUtiliza tion"]);
2331 } 2338 }
2332 if (_json.containsKey("requestUtilization")) { 2339 if (_json.containsKey("requestUtilization")) {
2333 requestUtilization = new RequestUtilization.fromJson(_json["requestUtiliza tion"]); 2340 requestUtilization = new RequestUtilization.fromJson(_json["requestUtiliza tion"]);
2334 } 2341 }
2342 if (_json.containsKey("standardSchedulerSettings")) {
2343 standardSchedulerSettings = new StandardSchedulerSettings.fromJson(_json[" standardSchedulerSettings"]);
2344 }
2335 } 2345 }
2336 2346
2337 core.Map toJson() { 2347 core.Map<core.String, core.Object> toJson() {
2338 var _json = new core.Map(); 2348 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2339 if (coolDownPeriod != null) { 2349 if (coolDownPeriod != null) {
2340 _json["coolDownPeriod"] = coolDownPeriod; 2350 _json["coolDownPeriod"] = coolDownPeriod;
2341 } 2351 }
2342 if (cpuUtilization != null) { 2352 if (cpuUtilization != null) {
2343 _json["cpuUtilization"] = (cpuUtilization).toJson(); 2353 _json["cpuUtilization"] = (cpuUtilization).toJson();
2344 } 2354 }
2345 if (diskUtilization != null) { 2355 if (diskUtilization != null) {
2346 _json["diskUtilization"] = (diskUtilization).toJson(); 2356 _json["diskUtilization"] = (diskUtilization).toJson();
2347 } 2357 }
2348 if (maxConcurrentRequests != null) { 2358 if (maxConcurrentRequests != null) {
(...skipping 16 matching lines...) Expand all
2365 } 2375 }
2366 if (minTotalInstances != null) { 2376 if (minTotalInstances != null) {
2367 _json["minTotalInstances"] = minTotalInstances; 2377 _json["minTotalInstances"] = minTotalInstances;
2368 } 2378 }
2369 if (networkUtilization != null) { 2379 if (networkUtilization != null) {
2370 _json["networkUtilization"] = (networkUtilization).toJson(); 2380 _json["networkUtilization"] = (networkUtilization).toJson();
2371 } 2381 }
2372 if (requestUtilization != null) { 2382 if (requestUtilization != null) {
2373 _json["requestUtilization"] = (requestUtilization).toJson(); 2383 _json["requestUtilization"] = (requestUtilization).toJson();
2374 } 2384 }
2385 if (standardSchedulerSettings != null) {
2386 _json["standardSchedulerSettings"] = (standardSchedulerSettings).toJson();
2387 }
2375 return _json; 2388 return _json;
2376 } 2389 }
2377 } 2390 }
2378 2391
2379 /** 2392 /**
2380 * A service with basic scaling will create an instance when the application 2393 * A service with basic scaling will create an instance when the application
2381 * receives a request. The instance will be turned down when the app becomes 2394 * receives a request. The instance will be turned down when the app becomes
2382 * idle. Basic scaling is ideal for work that is intermittent or driven by user 2395 * idle. Basic scaling is ideal for work that is intermittent or driven by user
2383 * activity. 2396 * activity.
2384 */ 2397 */
(...skipping 10 matching lines...) Expand all
2395 2408
2396 BasicScaling.fromJson(core.Map _json) { 2409 BasicScaling.fromJson(core.Map _json) {
2397 if (_json.containsKey("idleTimeout")) { 2410 if (_json.containsKey("idleTimeout")) {
2398 idleTimeout = _json["idleTimeout"]; 2411 idleTimeout = _json["idleTimeout"];
2399 } 2412 }
2400 if (_json.containsKey("maxInstances")) { 2413 if (_json.containsKey("maxInstances")) {
2401 maxInstances = _json["maxInstances"]; 2414 maxInstances = _json["maxInstances"];
2402 } 2415 }
2403 } 2416 }
2404 2417
2405 core.Map toJson() { 2418 core.Map<core.String, core.Object> toJson() {
2406 var _json = new core.Map(); 2419 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2407 if (idleTimeout != null) { 2420 if (idleTimeout != null) {
2408 _json["idleTimeout"] = idleTimeout; 2421 _json["idleTimeout"] = idleTimeout;
2409 } 2422 }
2410 if (maxInstances != null) { 2423 if (maxInstances != null) {
2411 _json["maxInstances"] = maxInstances; 2424 _json["maxInstances"] = maxInstances;
2412 } 2425 }
2413 return _json; 2426 return _json;
2414 } 2427 }
2415 } 2428 }
2416 2429
2430 /** Google Cloud Container Builder build information. */
2431 class BuildInfo {
2432 /**
2433 * The Google Cloud Container Builder build id. Example:
2434 * "f966068f-08b2-42c8-bdfe-74137dff2bf9"
2435 */
2436 core.String cloudBuildId;
2437
2438 BuildInfo();
2439
2440 BuildInfo.fromJson(core.Map _json) {
2441 if (_json.containsKey("cloudBuildId")) {
2442 cloudBuildId = _json["cloudBuildId"];
2443 }
2444 }
2445
2446 core.Map<core.String, core.Object> toJson() {
2447 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2448 if (cloudBuildId != null) {
2449 _json["cloudBuildId"] = cloudBuildId;
2450 }
2451 return _json;
2452 }
2453 }
2454
2417 /** An SSL certificate obtained from a certificate authority. */ 2455 /** An SSL certificate obtained from a certificate authority. */
2418 class CertificateRawData { 2456 class CertificateRawData {
2419 /** 2457 /**
2420 * Unencrypted PEM encoded RSA private key. This field is set once on 2458 * Unencrypted PEM encoded RSA private key. This field is set once on
2421 * certificate creation and then encrypted. The key size must be 2048 bits or 2459 * certificate creation and then encrypted. The key size must be 2048 bits or
2422 * fewer. Must include the header and footer. Example: <pre> -----BEGIN RSA 2460 * fewer. Must include the header and footer. Example: <pre> -----BEGIN RSA
2423 * PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE KEY----- 2461 * PRIVATE KEY----- <unencrypted_key_value> -----END RSA PRIVATE KEY-----
2424 * </pre> @InputOnly 2462 * </pre> @InputOnly
2425 */ 2463 */
2426 core.String privateKey; 2464 core.String privateKey;
2427 /** 2465 /**
2428 * PEM encoded x.509 public key certificate. This field is set once on 2466 * PEM encoded x.509 public key certificate. This field is set once on
2429 * certificate creation. Must include the header and footer. Example: <pre> 2467 * certificate creation. Must include the header and footer. Example: <pre>
2430 * -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE----- 2468 * -----BEGIN CERTIFICATE----- <certificate_value> -----END CERTIFICATE-----
2431 * </pre> 2469 * </pre>
2432 */ 2470 */
2433 core.String publicCertificate; 2471 core.String publicCertificate;
2434 2472
2435 CertificateRawData(); 2473 CertificateRawData();
2436 2474
2437 CertificateRawData.fromJson(core.Map _json) { 2475 CertificateRawData.fromJson(core.Map _json) {
2438 if (_json.containsKey("privateKey")) { 2476 if (_json.containsKey("privateKey")) {
2439 privateKey = _json["privateKey"]; 2477 privateKey = _json["privateKey"];
2440 } 2478 }
2441 if (_json.containsKey("publicCertificate")) { 2479 if (_json.containsKey("publicCertificate")) {
2442 publicCertificate = _json["publicCertificate"]; 2480 publicCertificate = _json["publicCertificate"];
2443 } 2481 }
2444 } 2482 }
2445 2483
2446 core.Map toJson() { 2484 core.Map<core.String, core.Object> toJson() {
2447 var _json = new core.Map(); 2485 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2448 if (privateKey != null) { 2486 if (privateKey != null) {
2449 _json["privateKey"] = privateKey; 2487 _json["privateKey"] = privateKey;
2450 } 2488 }
2451 if (publicCertificate != null) { 2489 if (publicCertificate != null) {
2452 _json["publicCertificate"] = publicCertificate; 2490 _json["publicCertificate"] = publicCertificate;
2453 } 2491 }
2454 return _json; 2492 return _json;
2455 } 2493 }
2456 } 2494 }
2457 2495
(...skipping 11 matching lines...) Expand all
2469 core.String image; 2507 core.String image;
2470 2508
2471 ContainerInfo(); 2509 ContainerInfo();
2472 2510
2473 ContainerInfo.fromJson(core.Map _json) { 2511 ContainerInfo.fromJson(core.Map _json) {
2474 if (_json.containsKey("image")) { 2512 if (_json.containsKey("image")) {
2475 image = _json["image"]; 2513 image = _json["image"];
2476 } 2514 }
2477 } 2515 }
2478 2516
2479 core.Map toJson() { 2517 core.Map<core.String, core.Object> toJson() {
2480 var _json = new core.Map(); 2518 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2481 if (image != null) { 2519 if (image != null) {
2482 _json["image"] = image; 2520 _json["image"] = image;
2483 } 2521 }
2484 return _json; 2522 return _json;
2485 } 2523 }
2486 } 2524 }
2487 2525
2488 /** Target scaling by CPU usage. */ 2526 /** Target scaling by CPU usage. */
2489 class CpuUtilization { 2527 class CpuUtilization {
2490 /** Period of time over which CPU utilization is calculated. */ 2528 /** Period of time over which CPU utilization is calculated. */
2491 core.String aggregationWindowLength; 2529 core.String aggregationWindowLength;
2492 /** 2530 /**
2493 * Target CPU utilization ratio to maintain when scaling. Must be between 0 2531 * Target CPU utilization ratio to maintain when scaling. Must be between 0
2494 * and 1. 2532 * and 1.
2495 */ 2533 */
2496 core.double targetUtilization; 2534 core.double targetUtilization;
2497 2535
2498 CpuUtilization(); 2536 CpuUtilization();
2499 2537
2500 CpuUtilization.fromJson(core.Map _json) { 2538 CpuUtilization.fromJson(core.Map _json) {
2501 if (_json.containsKey("aggregationWindowLength")) { 2539 if (_json.containsKey("aggregationWindowLength")) {
2502 aggregationWindowLength = _json["aggregationWindowLength"]; 2540 aggregationWindowLength = _json["aggregationWindowLength"];
2503 } 2541 }
2504 if (_json.containsKey("targetUtilization")) { 2542 if (_json.containsKey("targetUtilization")) {
2505 targetUtilization = _json["targetUtilization"]; 2543 targetUtilization = _json["targetUtilization"];
2506 } 2544 }
2507 } 2545 }
2508 2546
2509 core.Map toJson() { 2547 core.Map<core.String, core.Object> toJson() {
2510 var _json = new core.Map(); 2548 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2511 if (aggregationWindowLength != null) { 2549 if (aggregationWindowLength != null) {
2512 _json["aggregationWindowLength"] = aggregationWindowLength; 2550 _json["aggregationWindowLength"] = aggregationWindowLength;
2513 } 2551 }
2514 if (targetUtilization != null) { 2552 if (targetUtilization != null) {
2515 _json["targetUtilization"] = targetUtilization; 2553 _json["targetUtilization"] = targetUtilization;
2516 } 2554 }
2517 return _json; 2555 return _json;
2518 } 2556 }
2519 } 2557 }
2520 2558
(...skipping 10 matching lines...) Expand all
2531 core.String sshKey; 2569 core.String sshKey;
2532 2570
2533 DebugInstanceRequest(); 2571 DebugInstanceRequest();
2534 2572
2535 DebugInstanceRequest.fromJson(core.Map _json) { 2573 DebugInstanceRequest.fromJson(core.Map _json) {
2536 if (_json.containsKey("sshKey")) { 2574 if (_json.containsKey("sshKey")) {
2537 sshKey = _json["sshKey"]; 2575 sshKey = _json["sshKey"];
2538 } 2576 }
2539 } 2577 }
2540 2578
2541 core.Map toJson() { 2579 core.Map<core.String, core.Object> toJson() {
2542 var _json = new core.Map(); 2580 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2543 if (sshKey != null) { 2581 if (sshKey != null) {
2544 _json["sshKey"] = sshKey; 2582 _json["sshKey"] = sshKey;
2545 } 2583 }
2546 return _json; 2584 return _json;
2547 } 2585 }
2548 } 2586 }
2549 2587
2550 /** Code and application artifacts used to deploy a version to App Engine. */ 2588 /** Code and application artifacts used to deploy a version to App Engine. */
2551 class Deployment { 2589 class Deployment {
2590 /** Google Cloud Container Builder build information. */
2591 BuildInfo build;
2552 /** 2592 /**
2553 * The Docker image for the container that runs the version. Only applicable 2593 * The Docker image for the container that runs the version. Only applicable
2554 * for instances running in the App Engine flexible environment. 2594 * for instances running in the App Engine flexible environment.
2555 */ 2595 */
2556 ContainerInfo container; 2596 ContainerInfo container;
2557 /** 2597 /**
2558 * Manifest of the files stored in Google Cloud Storage that are included as 2598 * Manifest of the files stored in Google Cloud Storage that are included as
2559 * part of this version. All files must be readable using the credentials 2599 * part of this version. All files must be readable using the credentials
2560 * supplied with this call. 2600 * supplied with this call.
2561 */ 2601 */
2562 core.Map<core.String, FileInfo> files; 2602 core.Map<core.String, FileInfo> files;
2563 /** The zip file for this deployment, if this is a zip deployment. */ 2603 /** The zip file for this deployment, if this is a zip deployment. */
2564 ZipInfo zip; 2604 ZipInfo zip;
2565 2605
2566 Deployment(); 2606 Deployment();
2567 2607
2568 Deployment.fromJson(core.Map _json) { 2608 Deployment.fromJson(core.Map _json) {
2609 if (_json.containsKey("build")) {
2610 build = new BuildInfo.fromJson(_json["build"]);
2611 }
2569 if (_json.containsKey("container")) { 2612 if (_json.containsKey("container")) {
2570 container = new ContainerInfo.fromJson(_json["container"]); 2613 container = new ContainerInfo.fromJson(_json["container"]);
2571 } 2614 }
2572 if (_json.containsKey("files")) { 2615 if (_json.containsKey("files")) {
2573 files = commons.mapMap(_json["files"], (item) => new FileInfo.fromJson(ite m)); 2616 files = commons.mapMap<core.Map<core.String, core.Object>, FileInfo>(_json ["files"], (core.Map<core.String, core.Object> item) => new FileInfo.fromJson(it em));
2574 } 2617 }
2575 if (_json.containsKey("zip")) { 2618 if (_json.containsKey("zip")) {
2576 zip = new ZipInfo.fromJson(_json["zip"]); 2619 zip = new ZipInfo.fromJson(_json["zip"]);
2577 } 2620 }
2578 } 2621 }
2579 2622
2580 core.Map toJson() { 2623 core.Map<core.String, core.Object> toJson() {
2581 var _json = new core.Map(); 2624 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2625 if (build != null) {
2626 _json["build"] = (build).toJson();
2627 }
2582 if (container != null) { 2628 if (container != null) {
2583 _json["container"] = (container).toJson(); 2629 _json["container"] = (container).toJson();
2584 } 2630 }
2585 if (files != null) { 2631 if (files != null) {
2586 _json["files"] = commons.mapMap(files, (item) => (item).toJson()); 2632 _json["files"] = commons.mapMap<FileInfo, core.Map<core.String, core.Objec t>>(files, (FileInfo item) => (item).toJson());
2587 } 2633 }
2588 if (zip != null) { 2634 if (zip != null) {
2589 _json["zip"] = (zip).toJson(); 2635 _json["zip"] = (zip).toJson();
2590 } 2636 }
2591 return _json; 2637 return _json;
2592 } 2638 }
2593 } 2639 }
2594 2640
2595 /** Target scaling by disk usage. Only applicable for VM runtimes. */ 2641 /** Target scaling by disk usage. Only applicable for VM runtimes. */
2596 class DiskUtilization { 2642 class DiskUtilization {
(...skipping 16 matching lines...) Expand all
2613 targetReadOpsPerSecond = _json["targetReadOpsPerSecond"]; 2659 targetReadOpsPerSecond = _json["targetReadOpsPerSecond"];
2614 } 2660 }
2615 if (_json.containsKey("targetWriteBytesPerSecond")) { 2661 if (_json.containsKey("targetWriteBytesPerSecond")) {
2616 targetWriteBytesPerSecond = _json["targetWriteBytesPerSecond"]; 2662 targetWriteBytesPerSecond = _json["targetWriteBytesPerSecond"];
2617 } 2663 }
2618 if (_json.containsKey("targetWriteOpsPerSecond")) { 2664 if (_json.containsKey("targetWriteOpsPerSecond")) {
2619 targetWriteOpsPerSecond = _json["targetWriteOpsPerSecond"]; 2665 targetWriteOpsPerSecond = _json["targetWriteOpsPerSecond"];
2620 } 2666 }
2621 } 2667 }
2622 2668
2623 core.Map toJson() { 2669 core.Map<core.String, core.Object> toJson() {
2624 var _json = new core.Map(); 2670 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2625 if (targetReadBytesPerSecond != null) { 2671 if (targetReadBytesPerSecond != null) {
2626 _json["targetReadBytesPerSecond"] = targetReadBytesPerSecond; 2672 _json["targetReadBytesPerSecond"] = targetReadBytesPerSecond;
2627 } 2673 }
2628 if (targetReadOpsPerSecond != null) { 2674 if (targetReadOpsPerSecond != null) {
2629 _json["targetReadOpsPerSecond"] = targetReadOpsPerSecond; 2675 _json["targetReadOpsPerSecond"] = targetReadOpsPerSecond;
2630 } 2676 }
2631 if (targetWriteBytesPerSecond != null) { 2677 if (targetWriteBytesPerSecond != null) {
2632 _json["targetWriteBytesPerSecond"] = targetWriteBytesPerSecond; 2678 _json["targetWriteBytesPerSecond"] = targetWriteBytesPerSecond;
2633 } 2679 }
2634 if (targetWriteOpsPerSecond != null) { 2680 if (targetWriteOpsPerSecond != null) {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2671 name = _json["name"]; 2717 name = _json["name"];
2672 } 2718 }
2673 if (_json.containsKey("resourceRecords")) { 2719 if (_json.containsKey("resourceRecords")) {
2674 resourceRecords = _json["resourceRecords"].map((value) => new ResourceReco rd.fromJson(value)).toList(); 2720 resourceRecords = _json["resourceRecords"].map((value) => new ResourceReco rd.fromJson(value)).toList();
2675 } 2721 }
2676 if (_json.containsKey("sslSettings")) { 2722 if (_json.containsKey("sslSettings")) {
2677 sslSettings = new SslSettings.fromJson(_json["sslSettings"]); 2723 sslSettings = new SslSettings.fromJson(_json["sslSettings"]);
2678 } 2724 }
2679 } 2725 }
2680 2726
2681 core.Map toJson() { 2727 core.Map<core.String, core.Object> toJson() {
2682 var _json = new core.Map(); 2728 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2683 if (id != null) { 2729 if (id != null) {
2684 _json["id"] = id; 2730 _json["id"] = id;
2685 } 2731 }
2686 if (name != null) { 2732 if (name != null) {
2687 _json["name"] = name; 2733 _json["name"] = name;
2688 } 2734 }
2689 if (resourceRecords != null) { 2735 if (resourceRecords != null) {
2690 _json["resourceRecords"] = resourceRecords.map((value) => (value).toJson() ).toList(); 2736 _json["resourceRecords"] = resourceRecords.map((value) => (value).toJson() ).toList();
2691 } 2737 }
2692 if (sslSettings != null) { 2738 if (sslSettings != null) {
(...skipping 12 matching lines...) Expand all
2705 * } 2751 * }
2706 * The JSON representation for Empty is empty JSON object {}. 2752 * The JSON representation for Empty is empty JSON object {}.
2707 */ 2753 */
2708 class Empty { 2754 class Empty {
2709 2755
2710 Empty(); 2756 Empty();
2711 2757
2712 Empty.fromJson(core.Map _json) { 2758 Empty.fromJson(core.Map _json) {
2713 } 2759 }
2714 2760
2715 core.Map toJson() { 2761 core.Map<core.String, core.Object> toJson() {
2716 var _json = new core.Map(); 2762 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2717 return _json; 2763 return _json;
2718 } 2764 }
2719 } 2765 }
2720 2766
2721 /** 2767 /**
2722 * Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The 2768 * Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
2723 * Endpoints API Service provides tooling for serving Open API and gRPC 2769 * Endpoints API Service provides tooling for serving Open API and gRPC
2724 * endpoints via an NGINX proxy.The fields here refer to the name and 2770 * endpoints via an NGINX proxy.The fields here refer to the name and
2725 * configuration id of a "service" resource in the Service Management API 2771 * configuration id of a "service" resource in the Service Management API
2726 * (https://cloud.google.com/service-management/overview). 2772 * (https://cloud.google.com/service-management/overview).
(...skipping 14 matching lines...) Expand all
2741 2787
2742 EndpointsApiService.fromJson(core.Map _json) { 2788 EndpointsApiService.fromJson(core.Map _json) {
2743 if (_json.containsKey("configId")) { 2789 if (_json.containsKey("configId")) {
2744 configId = _json["configId"]; 2790 configId = _json["configId"];
2745 } 2791 }
2746 if (_json.containsKey("name")) { 2792 if (_json.containsKey("name")) {
2747 name = _json["name"]; 2793 name = _json["name"];
2748 } 2794 }
2749 } 2795 }
2750 2796
2751 core.Map toJson() { 2797 core.Map<core.String, core.Object> toJson() {
2752 var _json = new core.Map(); 2798 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2753 if (configId != null) { 2799 if (configId != null) {
2754 _json["configId"] = configId; 2800 _json["configId"] = configId;
2755 } 2801 }
2756 if (name != null) { 2802 if (name != null) {
2757 _json["name"] = name; 2803 _json["name"] = name;
2758 } 2804 }
2759 return _json; 2805 return _json;
2760 } 2806 }
2761 } 2807 }
2762 2808
(...skipping 22 matching lines...) Expand all
2785 errorCode = _json["errorCode"]; 2831 errorCode = _json["errorCode"];
2786 } 2832 }
2787 if (_json.containsKey("mimeType")) { 2833 if (_json.containsKey("mimeType")) {
2788 mimeType = _json["mimeType"]; 2834 mimeType = _json["mimeType"];
2789 } 2835 }
2790 if (_json.containsKey("staticFile")) { 2836 if (_json.containsKey("staticFile")) {
2791 staticFile = _json["staticFile"]; 2837 staticFile = _json["staticFile"];
2792 } 2838 }
2793 } 2839 }
2794 2840
2795 core.Map toJson() { 2841 core.Map<core.String, core.Object> toJson() {
2796 var _json = new core.Map(); 2842 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2797 if (errorCode != null) { 2843 if (errorCode != null) {
2798 _json["errorCode"] = errorCode; 2844 _json["errorCode"] = errorCode;
2799 } 2845 }
2800 if (mimeType != null) { 2846 if (mimeType != null) {
2801 _json["mimeType"] = mimeType; 2847 _json["mimeType"] = mimeType;
2802 } 2848 }
2803 if (staticFile != null) { 2849 if (staticFile != null) {
2804 _json["staticFile"] = staticFile; 2850 _json["staticFile"] = staticFile;
2805 } 2851 }
2806 return _json; 2852 return _json;
(...skipping 25 matching lines...) Expand all
2832 mimeType = _json["mimeType"]; 2878 mimeType = _json["mimeType"];
2833 } 2879 }
2834 if (_json.containsKey("sha1Sum")) { 2880 if (_json.containsKey("sha1Sum")) {
2835 sha1Sum = _json["sha1Sum"]; 2881 sha1Sum = _json["sha1Sum"];
2836 } 2882 }
2837 if (_json.containsKey("sourceUrl")) { 2883 if (_json.containsKey("sourceUrl")) {
2838 sourceUrl = _json["sourceUrl"]; 2884 sourceUrl = _json["sourceUrl"];
2839 } 2885 }
2840 } 2886 }
2841 2887
2842 core.Map toJson() { 2888 core.Map<core.String, core.Object> toJson() {
2843 var _json = new core.Map(); 2889 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2844 if (mimeType != null) { 2890 if (mimeType != null) {
2845 _json["mimeType"] = mimeType; 2891 _json["mimeType"] = mimeType;
2846 } 2892 }
2847 if (sha1Sum != null) { 2893 if (sha1Sum != null) {
2848 _json["sha1Sum"] = sha1Sum; 2894 _json["sha1Sum"] = sha1Sum;
2849 } 2895 }
2850 if (sourceUrl != null) { 2896 if (sourceUrl != null) {
2851 _json["sourceUrl"] = sourceUrl; 2897 _json["sourceUrl"] = sourceUrl;
2852 } 2898 }
2853 return _json; 2899 return _json;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
2906 restartThreshold = _json["restartThreshold"]; 2952 restartThreshold = _json["restartThreshold"];
2907 } 2953 }
2908 if (_json.containsKey("timeout")) { 2954 if (_json.containsKey("timeout")) {
2909 timeout = _json["timeout"]; 2955 timeout = _json["timeout"];
2910 } 2956 }
2911 if (_json.containsKey("unhealthyThreshold")) { 2957 if (_json.containsKey("unhealthyThreshold")) {
2912 unhealthyThreshold = _json["unhealthyThreshold"]; 2958 unhealthyThreshold = _json["unhealthyThreshold"];
2913 } 2959 }
2914 } 2960 }
2915 2961
2916 core.Map toJson() { 2962 core.Map<core.String, core.Object> toJson() {
2917 var _json = new core.Map(); 2963 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2918 if (checkInterval != null) { 2964 if (checkInterval != null) {
2919 _json["checkInterval"] = checkInterval; 2965 _json["checkInterval"] = checkInterval;
2920 } 2966 }
2921 if (disableHealthCheck != null) { 2967 if (disableHealthCheck != null) {
2922 _json["disableHealthCheck"] = disableHealthCheck; 2968 _json["disableHealthCheck"] = disableHealthCheck;
2923 } 2969 }
2924 if (healthyThreshold != null) { 2970 if (healthyThreshold != null) {
2925 _json["healthyThreshold"] = healthyThreshold; 2971 _json["healthyThreshold"] = healthyThreshold;
2926 } 2972 }
2927 if (host != null) { 2973 if (host != null) {
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
2970 oauth2ClientId = _json["oauth2ClientId"]; 3016 oauth2ClientId = _json["oauth2ClientId"];
2971 } 3017 }
2972 if (_json.containsKey("oauth2ClientSecret")) { 3018 if (_json.containsKey("oauth2ClientSecret")) {
2973 oauth2ClientSecret = _json["oauth2ClientSecret"]; 3019 oauth2ClientSecret = _json["oauth2ClientSecret"];
2974 } 3020 }
2975 if (_json.containsKey("oauth2ClientSecretSha256")) { 3021 if (_json.containsKey("oauth2ClientSecretSha256")) {
2976 oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"]; 3022 oauth2ClientSecretSha256 = _json["oauth2ClientSecretSha256"];
2977 } 3023 }
2978 } 3024 }
2979 3025
2980 core.Map toJson() { 3026 core.Map<core.String, core.Object> toJson() {
2981 var _json = new core.Map(); 3027 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
2982 if (enabled != null) { 3028 if (enabled != null) {
2983 _json["enabled"] = enabled; 3029 _json["enabled"] = enabled;
2984 } 3030 }
2985 if (oauth2ClientId != null) { 3031 if (oauth2ClientId != null) {
2986 _json["oauth2ClientId"] = oauth2ClientId; 3032 _json["oauth2ClientId"] = oauth2ClientId;
2987 } 3033 }
2988 if (oauth2ClientSecret != null) { 3034 if (oauth2ClientSecret != null) {
2989 _json["oauth2ClientSecret"] = oauth2ClientSecret; 3035 _json["oauth2ClientSecret"] = oauth2ClientSecret;
2990 } 3036 }
2991 if (oauth2ClientSecretSha256 != null) { 3037 if (oauth2ClientSecretSha256 != null) {
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
3109 vmName = _json["vmName"]; 3155 vmName = _json["vmName"];
3110 } 3156 }
3111 if (_json.containsKey("vmStatus")) { 3157 if (_json.containsKey("vmStatus")) {
3112 vmStatus = _json["vmStatus"]; 3158 vmStatus = _json["vmStatus"];
3113 } 3159 }
3114 if (_json.containsKey("vmZoneName")) { 3160 if (_json.containsKey("vmZoneName")) {
3115 vmZoneName = _json["vmZoneName"]; 3161 vmZoneName = _json["vmZoneName"];
3116 } 3162 }
3117 } 3163 }
3118 3164
3119 core.Map toJson() { 3165 core.Map<core.String, core.Object> toJson() {
3120 var _json = new core.Map(); 3166 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3121 if (appEngineRelease != null) { 3167 if (appEngineRelease != null) {
3122 _json["appEngineRelease"] = appEngineRelease; 3168 _json["appEngineRelease"] = appEngineRelease;
3123 } 3169 }
3124 if (availability != null) { 3170 if (availability != null) {
3125 _json["availability"] = availability; 3171 _json["availability"] = availability;
3126 } 3172 }
3127 if (averageLatency != null) { 3173 if (averageLatency != null) {
3128 _json["averageLatency"] = averageLatency; 3174 _json["averageLatency"] = averageLatency;
3129 } 3175 }
3130 if (errors != null) { 3176 if (errors != null) {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
3181 3227
3182 Library.fromJson(core.Map _json) { 3228 Library.fromJson(core.Map _json) {
3183 if (_json.containsKey("name")) { 3229 if (_json.containsKey("name")) {
3184 name = _json["name"]; 3230 name = _json["name"];
3185 } 3231 }
3186 if (_json.containsKey("version")) { 3232 if (_json.containsKey("version")) {
3187 version = _json["version"]; 3233 version = _json["version"];
3188 } 3234 }
3189 } 3235 }
3190 3236
3191 core.Map toJson() { 3237 core.Map<core.String, core.Object> toJson() {
3192 var _json = new core.Map(); 3238 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3193 if (name != null) { 3239 if (name != null) {
3194 _json["name"] = name; 3240 _json["name"] = name;
3195 } 3241 }
3196 if (version != null) { 3242 if (version != null) {
3197 _json["version"] = version; 3243 _json["version"] = version;
3198 } 3244 }
3199 return _json; 3245 return _json;
3200 } 3246 }
3201 } 3247 }
3202 3248
3203 /** Response message for AuthorizedCertificates.ListAuthorizedCertificates. */ 3249 /** Response message for AuthorizedCertificates.ListAuthorizedCertificates. */
3204 class ListAuthorizedCertificatesResponse { 3250 class ListAuthorizedCertificatesResponse {
3205 /** The SSL certificates the user is authorized to administer. */ 3251 /** The SSL certificates the user is authorized to administer. */
3206 core.List<AuthorizedCertificate> certificates; 3252 core.List<AuthorizedCertificate> certificates;
3207 /** Continuation token for fetching the next page of results. */ 3253 /** Continuation token for fetching the next page of results. */
3208 core.String nextPageToken; 3254 core.String nextPageToken;
3209 3255
3210 ListAuthorizedCertificatesResponse(); 3256 ListAuthorizedCertificatesResponse();
3211 3257
3212 ListAuthorizedCertificatesResponse.fromJson(core.Map _json) { 3258 ListAuthorizedCertificatesResponse.fromJson(core.Map _json) {
3213 if (_json.containsKey("certificates")) { 3259 if (_json.containsKey("certificates")) {
3214 certificates = _json["certificates"].map((value) => new AuthorizedCertific ate.fromJson(value)).toList(); 3260 certificates = _json["certificates"].map((value) => new AuthorizedCertific ate.fromJson(value)).toList();
3215 } 3261 }
3216 if (_json.containsKey("nextPageToken")) { 3262 if (_json.containsKey("nextPageToken")) {
3217 nextPageToken = _json["nextPageToken"]; 3263 nextPageToken = _json["nextPageToken"];
3218 } 3264 }
3219 } 3265 }
3220 3266
3221 core.Map toJson() { 3267 core.Map<core.String, core.Object> toJson() {
3222 var _json = new core.Map(); 3268 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3223 if (certificates != null) { 3269 if (certificates != null) {
3224 _json["certificates"] = certificates.map((value) => (value).toJson()).toLi st(); 3270 _json["certificates"] = certificates.map((value) => (value).toJson()).toLi st();
3225 } 3271 }
3226 if (nextPageToken != null) { 3272 if (nextPageToken != null) {
3227 _json["nextPageToken"] = nextPageToken; 3273 _json["nextPageToken"] = nextPageToken;
3228 } 3274 }
3229 return _json; 3275 return _json;
3230 } 3276 }
3231 } 3277 }
3232 3278
3233 /** Response message for AuthorizedDomains.ListAuthorizedDomains. */ 3279 /** Response message for AuthorizedDomains.ListAuthorizedDomains. */
3234 class ListAuthorizedDomainsResponse { 3280 class ListAuthorizedDomainsResponse {
3235 /** The authorized domains belonging to the user. */ 3281 /** The authorized domains belonging to the user. */
3236 core.List<AuthorizedDomain> domains; 3282 core.List<AuthorizedDomain> domains;
3237 /** Continuation token for fetching the next page of results. */ 3283 /** Continuation token for fetching the next page of results. */
3238 core.String nextPageToken; 3284 core.String nextPageToken;
3239 3285
3240 ListAuthorizedDomainsResponse(); 3286 ListAuthorizedDomainsResponse();
3241 3287
3242 ListAuthorizedDomainsResponse.fromJson(core.Map _json) { 3288 ListAuthorizedDomainsResponse.fromJson(core.Map _json) {
3243 if (_json.containsKey("domains")) { 3289 if (_json.containsKey("domains")) {
3244 domains = _json["domains"].map((value) => new AuthorizedDomain.fromJson(va lue)).toList(); 3290 domains = _json["domains"].map((value) => new AuthorizedDomain.fromJson(va lue)).toList();
3245 } 3291 }
3246 if (_json.containsKey("nextPageToken")) { 3292 if (_json.containsKey("nextPageToken")) {
3247 nextPageToken = _json["nextPageToken"]; 3293 nextPageToken = _json["nextPageToken"];
3248 } 3294 }
3249 } 3295 }
3250 3296
3251 core.Map toJson() { 3297 core.Map<core.String, core.Object> toJson() {
3252 var _json = new core.Map(); 3298 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3253 if (domains != null) { 3299 if (domains != null) {
3254 _json["domains"] = domains.map((value) => (value).toJson()).toList(); 3300 _json["domains"] = domains.map((value) => (value).toJson()).toList();
3255 } 3301 }
3256 if (nextPageToken != null) { 3302 if (nextPageToken != null) {
3257 _json["nextPageToken"] = nextPageToken; 3303 _json["nextPageToken"] = nextPageToken;
3258 } 3304 }
3259 return _json; 3305 return _json;
3260 } 3306 }
3261 } 3307 }
3262 3308
3263 /** Response message for DomainMappings.ListDomainMappings. */ 3309 /** Response message for DomainMappings.ListDomainMappings. */
3264 class ListDomainMappingsResponse { 3310 class ListDomainMappingsResponse {
3265 /** The domain mappings for the application. */ 3311 /** The domain mappings for the application. */
3266 core.List<DomainMapping> domainMappings; 3312 core.List<DomainMapping> domainMappings;
3267 /** Continuation token for fetching the next page of results. */ 3313 /** Continuation token for fetching the next page of results. */
3268 core.String nextPageToken; 3314 core.String nextPageToken;
3269 3315
3270 ListDomainMappingsResponse(); 3316 ListDomainMappingsResponse();
3271 3317
3272 ListDomainMappingsResponse.fromJson(core.Map _json) { 3318 ListDomainMappingsResponse.fromJson(core.Map _json) {
3273 if (_json.containsKey("domainMappings")) { 3319 if (_json.containsKey("domainMappings")) {
3274 domainMappings = _json["domainMappings"].map((value) => new DomainMapping. fromJson(value)).toList(); 3320 domainMappings = _json["domainMappings"].map((value) => new DomainMapping. fromJson(value)).toList();
3275 } 3321 }
3276 if (_json.containsKey("nextPageToken")) { 3322 if (_json.containsKey("nextPageToken")) {
3277 nextPageToken = _json["nextPageToken"]; 3323 nextPageToken = _json["nextPageToken"];
3278 } 3324 }
3279 } 3325 }
3280 3326
3281 core.Map toJson() { 3327 core.Map<core.String, core.Object> toJson() {
3282 var _json = new core.Map(); 3328 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3283 if (domainMappings != null) { 3329 if (domainMappings != null) {
3284 _json["domainMappings"] = domainMappings.map((value) => (value).toJson()). toList(); 3330 _json["domainMappings"] = domainMappings.map((value) => (value).toJson()). toList();
3285 } 3331 }
3286 if (nextPageToken != null) { 3332 if (nextPageToken != null) {
3287 _json["nextPageToken"] = nextPageToken; 3333 _json["nextPageToken"] = nextPageToken;
3288 } 3334 }
3289 return _json; 3335 return _json;
3290 } 3336 }
3291 } 3337 }
3292 3338
3293 /** Response message for Instances.ListInstances. */ 3339 /** Response message for Instances.ListInstances. */
3294 class ListInstancesResponse { 3340 class ListInstancesResponse {
3295 /** The instances belonging to the requested version. */ 3341 /** The instances belonging to the requested version. */
3296 core.List<Instance> instances; 3342 core.List<Instance> instances;
3297 /** Continuation token for fetching the next page of results. */ 3343 /** Continuation token for fetching the next page of results. */
3298 core.String nextPageToken; 3344 core.String nextPageToken;
3299 3345
3300 ListInstancesResponse(); 3346 ListInstancesResponse();
3301 3347
3302 ListInstancesResponse.fromJson(core.Map _json) { 3348 ListInstancesResponse.fromJson(core.Map _json) {
3303 if (_json.containsKey("instances")) { 3349 if (_json.containsKey("instances")) {
3304 instances = _json["instances"].map((value) => new Instance.fromJson(value) ).toList(); 3350 instances = _json["instances"].map((value) => new Instance.fromJson(value) ).toList();
3305 } 3351 }
3306 if (_json.containsKey("nextPageToken")) { 3352 if (_json.containsKey("nextPageToken")) {
3307 nextPageToken = _json["nextPageToken"]; 3353 nextPageToken = _json["nextPageToken"];
3308 } 3354 }
3309 } 3355 }
3310 3356
3311 core.Map toJson() { 3357 core.Map<core.String, core.Object> toJson() {
3312 var _json = new core.Map(); 3358 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3313 if (instances != null) { 3359 if (instances != null) {
3314 _json["instances"] = instances.map((value) => (value).toJson()).toList(); 3360 _json["instances"] = instances.map((value) => (value).toJson()).toList();
3315 } 3361 }
3316 if (nextPageToken != null) { 3362 if (nextPageToken != null) {
3317 _json["nextPageToken"] = nextPageToken; 3363 _json["nextPageToken"] = nextPageToken;
3318 } 3364 }
3319 return _json; 3365 return _json;
3320 } 3366 }
3321 } 3367 }
3322 3368
3323 /** The response message for Locations.ListLocations. */ 3369 /** The response message for Locations.ListLocations. */
3324 class ListLocationsResponse { 3370 class ListLocationsResponse {
3325 /** A list of locations that matches the specified filter in the request. */ 3371 /** A list of locations that matches the specified filter in the request. */
3326 core.List<Location> locations; 3372 core.List<Location> locations;
3327 /** The standard List next-page token. */ 3373 /** The standard List next-page token. */
3328 core.String nextPageToken; 3374 core.String nextPageToken;
3329 3375
3330 ListLocationsResponse(); 3376 ListLocationsResponse();
3331 3377
3332 ListLocationsResponse.fromJson(core.Map _json) { 3378 ListLocationsResponse.fromJson(core.Map _json) {
3333 if (_json.containsKey("locations")) { 3379 if (_json.containsKey("locations")) {
3334 locations = _json["locations"].map((value) => new Location.fromJson(value) ).toList(); 3380 locations = _json["locations"].map((value) => new Location.fromJson(value) ).toList();
3335 } 3381 }
3336 if (_json.containsKey("nextPageToken")) { 3382 if (_json.containsKey("nextPageToken")) {
3337 nextPageToken = _json["nextPageToken"]; 3383 nextPageToken = _json["nextPageToken"];
3338 } 3384 }
3339 } 3385 }
3340 3386
3341 core.Map toJson() { 3387 core.Map<core.String, core.Object> toJson() {
3342 var _json = new core.Map(); 3388 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3343 if (locations != null) { 3389 if (locations != null) {
3344 _json["locations"] = locations.map((value) => (value).toJson()).toList(); 3390 _json["locations"] = locations.map((value) => (value).toJson()).toList();
3345 } 3391 }
3346 if (nextPageToken != null) { 3392 if (nextPageToken != null) {
3347 _json["nextPageToken"] = nextPageToken; 3393 _json["nextPageToken"] = nextPageToken;
3348 } 3394 }
3349 return _json; 3395 return _json;
3350 } 3396 }
3351 } 3397 }
3352 3398
3353 /** The response message for Operations.ListOperations. */ 3399 /** The response message for Operations.ListOperations. */
3354 class ListOperationsResponse { 3400 class ListOperationsResponse {
3355 /** The standard List next-page token. */ 3401 /** The standard List next-page token. */
3356 core.String nextPageToken; 3402 core.String nextPageToken;
3357 /** A list of operations that matches the specified filter in the request. */ 3403 /** A list of operations that matches the specified filter in the request. */
3358 core.List<Operation> operations; 3404 core.List<Operation> operations;
3359 3405
3360 ListOperationsResponse(); 3406 ListOperationsResponse();
3361 3407
3362 ListOperationsResponse.fromJson(core.Map _json) { 3408 ListOperationsResponse.fromJson(core.Map _json) {
3363 if (_json.containsKey("nextPageToken")) { 3409 if (_json.containsKey("nextPageToken")) {
3364 nextPageToken = _json["nextPageToken"]; 3410 nextPageToken = _json["nextPageToken"];
3365 } 3411 }
3366 if (_json.containsKey("operations")) { 3412 if (_json.containsKey("operations")) {
3367 operations = _json["operations"].map((value) => new Operation.fromJson(val ue)).toList(); 3413 operations = _json["operations"].map((value) => new Operation.fromJson(val ue)).toList();
3368 } 3414 }
3369 } 3415 }
3370 3416
3371 core.Map toJson() { 3417 core.Map<core.String, core.Object> toJson() {
3372 var _json = new core.Map(); 3418 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3373 if (nextPageToken != null) { 3419 if (nextPageToken != null) {
3374 _json["nextPageToken"] = nextPageToken; 3420 _json["nextPageToken"] = nextPageToken;
3375 } 3421 }
3376 if (operations != null) { 3422 if (operations != null) {
3377 _json["operations"] = operations.map((value) => (value).toJson()).toList() ; 3423 _json["operations"] = operations.map((value) => (value).toJson()).toList() ;
3378 } 3424 }
3379 return _json; 3425 return _json;
3380 } 3426 }
3381 } 3427 }
3382 3428
3383 /** Response message for Services.ListServices. */ 3429 /** Response message for Services.ListServices. */
3384 class ListServicesResponse { 3430 class ListServicesResponse {
3385 /** Continuation token for fetching the next page of results. */ 3431 /** Continuation token for fetching the next page of results. */
3386 core.String nextPageToken; 3432 core.String nextPageToken;
3387 /** The services belonging to the requested application. */ 3433 /** The services belonging to the requested application. */
3388 core.List<Service> services; 3434 core.List<Service> services;
3389 3435
3390 ListServicesResponse(); 3436 ListServicesResponse();
3391 3437
3392 ListServicesResponse.fromJson(core.Map _json) { 3438 ListServicesResponse.fromJson(core.Map _json) {
3393 if (_json.containsKey("nextPageToken")) { 3439 if (_json.containsKey("nextPageToken")) {
3394 nextPageToken = _json["nextPageToken"]; 3440 nextPageToken = _json["nextPageToken"];
3395 } 3441 }
3396 if (_json.containsKey("services")) { 3442 if (_json.containsKey("services")) {
3397 services = _json["services"].map((value) => new Service.fromJson(value)).t oList(); 3443 services = _json["services"].map((value) => new Service.fromJson(value)).t oList();
3398 } 3444 }
3399 } 3445 }
3400 3446
3401 core.Map toJson() { 3447 core.Map<core.String, core.Object> toJson() {
3402 var _json = new core.Map(); 3448 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3403 if (nextPageToken != null) { 3449 if (nextPageToken != null) {
3404 _json["nextPageToken"] = nextPageToken; 3450 _json["nextPageToken"] = nextPageToken;
3405 } 3451 }
3406 if (services != null) { 3452 if (services != null) {
3407 _json["services"] = services.map((value) => (value).toJson()).toList(); 3453 _json["services"] = services.map((value) => (value).toJson()).toList();
3408 } 3454 }
3409 return _json; 3455 return _json;
3410 } 3456 }
3411 } 3457 }
3412 3458
3413 /** Response message for Versions.ListVersions. */ 3459 /** Response message for Versions.ListVersions. */
3414 class ListVersionsResponse { 3460 class ListVersionsResponse {
3415 /** Continuation token for fetching the next page of results. */ 3461 /** Continuation token for fetching the next page of results. */
3416 core.String nextPageToken; 3462 core.String nextPageToken;
3417 /** The versions belonging to the requested service. */ 3463 /** The versions belonging to the requested service. */
3418 core.List<Version> versions; 3464 core.List<Version> versions;
3419 3465
3420 ListVersionsResponse(); 3466 ListVersionsResponse();
3421 3467
3422 ListVersionsResponse.fromJson(core.Map _json) { 3468 ListVersionsResponse.fromJson(core.Map _json) {
3423 if (_json.containsKey("nextPageToken")) { 3469 if (_json.containsKey("nextPageToken")) {
3424 nextPageToken = _json["nextPageToken"]; 3470 nextPageToken = _json["nextPageToken"];
3425 } 3471 }
3426 if (_json.containsKey("versions")) { 3472 if (_json.containsKey("versions")) {
3427 versions = _json["versions"].map((value) => new Version.fromJson(value)).t oList(); 3473 versions = _json["versions"].map((value) => new Version.fromJson(value)).t oList();
3428 } 3474 }
3429 } 3475 }
3430 3476
3431 core.Map toJson() { 3477 core.Map<core.String, core.Object> toJson() {
3432 var _json = new core.Map(); 3478 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3433 if (nextPageToken != null) { 3479 if (nextPageToken != null) {
3434 _json["nextPageToken"] = nextPageToken; 3480 _json["nextPageToken"] = nextPageToken;
3435 } 3481 }
3436 if (versions != null) { 3482 if (versions != null) {
3437 _json["versions"] = versions.map((value) => (value).toJson()).toList(); 3483 _json["versions"] = versions.map((value) => (value).toJson()).toList();
3438 } 3484 }
3439 return _json; 3485 return _json;
3440 } 3486 }
3441 } 3487 }
3442 3488
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
3488 path = _json["path"]; 3534 path = _json["path"];
3489 } 3535 }
3490 if (_json.containsKey("successThreshold")) { 3536 if (_json.containsKey("successThreshold")) {
3491 successThreshold = _json["successThreshold"]; 3537 successThreshold = _json["successThreshold"];
3492 } 3538 }
3493 if (_json.containsKey("timeout")) { 3539 if (_json.containsKey("timeout")) {
3494 timeout = _json["timeout"]; 3540 timeout = _json["timeout"];
3495 } 3541 }
3496 } 3542 }
3497 3543
3498 core.Map toJson() { 3544 core.Map<core.String, core.Object> toJson() {
3499 var _json = new core.Map(); 3545 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3500 if (checkInterval != null) { 3546 if (checkInterval != null) {
3501 _json["checkInterval"] = checkInterval; 3547 _json["checkInterval"] = checkInterval;
3502 } 3548 }
3503 if (failureThreshold != null) { 3549 if (failureThreshold != null) {
3504 _json["failureThreshold"] = failureThreshold; 3550 _json["failureThreshold"] = failureThreshold;
3505 } 3551 }
3506 if (host != null) { 3552 if (host != null) {
3507 _json["host"] = host; 3553 _json["host"] = host;
3508 } 3554 }
3509 if (initialDelay != null) { 3555 if (initialDelay != null) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
3555 locationId = _json["locationId"]; 3601 locationId = _json["locationId"];
3556 } 3602 }
3557 if (_json.containsKey("metadata")) { 3603 if (_json.containsKey("metadata")) {
3558 metadata = _json["metadata"]; 3604 metadata = _json["metadata"];
3559 } 3605 }
3560 if (_json.containsKey("name")) { 3606 if (_json.containsKey("name")) {
3561 name = _json["name"]; 3607 name = _json["name"];
3562 } 3608 }
3563 } 3609 }
3564 3610
3565 core.Map toJson() { 3611 core.Map<core.String, core.Object> toJson() {
3566 var _json = new core.Map(); 3612 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3567 if (labels != null) { 3613 if (labels != null) {
3568 _json["labels"] = labels; 3614 _json["labels"] = labels;
3569 } 3615 }
3570 if (locationId != null) { 3616 if (locationId != null) {
3571 _json["locationId"] = locationId; 3617 _json["locationId"] = locationId;
3572 } 3618 }
3573 if (metadata != null) { 3619 if (metadata != null) {
3574 _json["metadata"] = metadata; 3620 _json["metadata"] = metadata;
3575 } 3621 }
3576 if (name != null) { 3622 if (name != null) {
(...skipping 20 matching lines...) Expand all
3597 3643
3598 LocationMetadata.fromJson(core.Map _json) { 3644 LocationMetadata.fromJson(core.Map _json) {
3599 if (_json.containsKey("flexibleEnvironmentAvailable")) { 3645 if (_json.containsKey("flexibleEnvironmentAvailable")) {
3600 flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"]; 3646 flexibleEnvironmentAvailable = _json["flexibleEnvironmentAvailable"];
3601 } 3647 }
3602 if (_json.containsKey("standardEnvironmentAvailable")) { 3648 if (_json.containsKey("standardEnvironmentAvailable")) {
3603 standardEnvironmentAvailable = _json["standardEnvironmentAvailable"]; 3649 standardEnvironmentAvailable = _json["standardEnvironmentAvailable"];
3604 } 3650 }
3605 } 3651 }
3606 3652
3607 core.Map toJson() { 3653 core.Map<core.String, core.Object> toJson() {
3608 var _json = new core.Map(); 3654 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3609 if (flexibleEnvironmentAvailable != null) { 3655 if (flexibleEnvironmentAvailable != null) {
3610 _json["flexibleEnvironmentAvailable"] = flexibleEnvironmentAvailable; 3656 _json["flexibleEnvironmentAvailable"] = flexibleEnvironmentAvailable;
3611 } 3657 }
3612 if (standardEnvironmentAvailable != null) { 3658 if (standardEnvironmentAvailable != null) {
3613 _json["standardEnvironmentAvailable"] = standardEnvironmentAvailable; 3659 _json["standardEnvironmentAvailable"] = standardEnvironmentAvailable;
3614 } 3660 }
3615 return _json; 3661 return _json;
3616 } 3662 }
3617 } 3663 }
3618 3664
(...skipping 11 matching lines...) Expand all
3630 core.int instances; 3676 core.int instances;
3631 3677
3632 ManualScaling(); 3678 ManualScaling();
3633 3679
3634 ManualScaling.fromJson(core.Map _json) { 3680 ManualScaling.fromJson(core.Map _json) {
3635 if (_json.containsKey("instances")) { 3681 if (_json.containsKey("instances")) {
3636 instances = _json["instances"]; 3682 instances = _json["instances"];
3637 } 3683 }
3638 } 3684 }
3639 3685
3640 core.Map toJson() { 3686 core.Map<core.String, core.Object> toJson() {
3641 var _json = new core.Map(); 3687 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3642 if (instances != null) { 3688 if (instances != null) {
3643 _json["instances"] = instances; 3689 _json["instances"] = instances;
3644 } 3690 }
3645 return _json; 3691 return _json;
3646 } 3692 }
3647 } 3693 }
3648 3694
3649 /** Extra network settings. Only applicable for VM runtimes. */ 3695 /** Extra network settings. Only applicable for VM runtimes. */
3650 class Network { 3696 class Network {
3651 /** 3697 /**
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
3688 instanceTag = _json["instanceTag"]; 3734 instanceTag = _json["instanceTag"];
3689 } 3735 }
3690 if (_json.containsKey("name")) { 3736 if (_json.containsKey("name")) {
3691 name = _json["name"]; 3737 name = _json["name"];
3692 } 3738 }
3693 if (_json.containsKey("subnetworkName")) { 3739 if (_json.containsKey("subnetworkName")) {
3694 subnetworkName = _json["subnetworkName"]; 3740 subnetworkName = _json["subnetworkName"];
3695 } 3741 }
3696 } 3742 }
3697 3743
3698 core.Map toJson() { 3744 core.Map<core.String, core.Object> toJson() {
3699 var _json = new core.Map(); 3745 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3700 if (forwardedPorts != null) { 3746 if (forwardedPorts != null) {
3701 _json["forwardedPorts"] = forwardedPorts; 3747 _json["forwardedPorts"] = forwardedPorts;
3702 } 3748 }
3703 if (instanceTag != null) { 3749 if (instanceTag != null) {
3704 _json["instanceTag"] = instanceTag; 3750 _json["instanceTag"] = instanceTag;
3705 } 3751 }
3706 if (name != null) { 3752 if (name != null) {
3707 _json["name"] = name; 3753 _json["name"] = name;
3708 } 3754 }
3709 if (subnetworkName != null) { 3755 if (subnetworkName != null) {
(...skipping 24 matching lines...) Expand all
3734 targetReceivedPacketsPerSecond = _json["targetReceivedPacketsPerSecond"]; 3780 targetReceivedPacketsPerSecond = _json["targetReceivedPacketsPerSecond"];
3735 } 3781 }
3736 if (_json.containsKey("targetSentBytesPerSecond")) { 3782 if (_json.containsKey("targetSentBytesPerSecond")) {
3737 targetSentBytesPerSecond = _json["targetSentBytesPerSecond"]; 3783 targetSentBytesPerSecond = _json["targetSentBytesPerSecond"];
3738 } 3784 }
3739 if (_json.containsKey("targetSentPacketsPerSecond")) { 3785 if (_json.containsKey("targetSentPacketsPerSecond")) {
3740 targetSentPacketsPerSecond = _json["targetSentPacketsPerSecond"]; 3786 targetSentPacketsPerSecond = _json["targetSentPacketsPerSecond"];
3741 } 3787 }
3742 } 3788 }
3743 3789
3744 core.Map toJson() { 3790 core.Map<core.String, core.Object> toJson() {
3745 var _json = new core.Map(); 3791 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3746 if (targetReceivedBytesPerSecond != null) { 3792 if (targetReceivedBytesPerSecond != null) {
3747 _json["targetReceivedBytesPerSecond"] = targetReceivedBytesPerSecond; 3793 _json["targetReceivedBytesPerSecond"] = targetReceivedBytesPerSecond;
3748 } 3794 }
3749 if (targetReceivedPacketsPerSecond != null) { 3795 if (targetReceivedPacketsPerSecond != null) {
3750 _json["targetReceivedPacketsPerSecond"] = targetReceivedPacketsPerSecond; 3796 _json["targetReceivedPacketsPerSecond"] = targetReceivedPacketsPerSecond;
3751 } 3797 }
3752 if (targetSentBytesPerSecond != null) { 3798 if (targetSentBytesPerSecond != null) {
3753 _json["targetSentBytesPerSecond"] = targetSentBytesPerSecond; 3799 _json["targetSentBytesPerSecond"] = targetSentBytesPerSecond;
3754 } 3800 }
3755 if (targetSentPacketsPerSecond != null) { 3801 if (targetSentPacketsPerSecond != null) {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
3815 metadata = _json["metadata"]; 3861 metadata = _json["metadata"];
3816 } 3862 }
3817 if (_json.containsKey("name")) { 3863 if (_json.containsKey("name")) {
3818 name = _json["name"]; 3864 name = _json["name"];
3819 } 3865 }
3820 if (_json.containsKey("response")) { 3866 if (_json.containsKey("response")) {
3821 response = _json["response"]; 3867 response = _json["response"];
3822 } 3868 }
3823 } 3869 }
3824 3870
3825 core.Map toJson() { 3871 core.Map<core.String, core.Object> toJson() {
3826 var _json = new core.Map(); 3872 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3827 if (done != null) { 3873 if (done != null) {
3828 _json["done"] = done; 3874 _json["done"] = done;
3829 } 3875 }
3830 if (error != null) { 3876 if (error != null) {
3831 _json["error"] = (error).toJson(); 3877 _json["error"] = (error).toJson();
3832 } 3878 }
3833 if (metadata != null) { 3879 if (metadata != null) {
3834 _json["metadata"] = metadata; 3880 _json["metadata"] = metadata;
3835 } 3881 }
3836 if (name != null) { 3882 if (name != null) {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
3883 operationType = _json["operationType"]; 3929 operationType = _json["operationType"];
3884 } 3930 }
3885 if (_json.containsKey("target")) { 3931 if (_json.containsKey("target")) {
3886 target = _json["target"]; 3932 target = _json["target"];
3887 } 3933 }
3888 if (_json.containsKey("user")) { 3934 if (_json.containsKey("user")) {
3889 user = _json["user"]; 3935 user = _json["user"];
3890 } 3936 }
3891 } 3937 }
3892 3938
3893 core.Map toJson() { 3939 core.Map<core.String, core.Object> toJson() {
3894 var _json = new core.Map(); 3940 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3895 if (endTime != null) { 3941 if (endTime != null) {
3896 _json["endTime"] = endTime; 3942 _json["endTime"] = endTime;
3897 } 3943 }
3898 if (insertTime != null) { 3944 if (insertTime != null) {
3899 _json["insertTime"] = insertTime; 3945 _json["insertTime"] = insertTime;
3900 } 3946 }
3901 if (method != null) { 3947 if (method != null) {
3902 _json["method"] = method; 3948 _json["method"] = method;
3903 } 3949 }
3904 if (operationType != null) { 3950 if (operationType != null) {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
3946 method = _json["method"]; 3992 method = _json["method"];
3947 } 3993 }
3948 if (_json.containsKey("target")) { 3994 if (_json.containsKey("target")) {
3949 target = _json["target"]; 3995 target = _json["target"];
3950 } 3996 }
3951 if (_json.containsKey("user")) { 3997 if (_json.containsKey("user")) {
3952 user = _json["user"]; 3998 user = _json["user"];
3953 } 3999 }
3954 } 4000 }
3955 4001
3956 core.Map toJson() { 4002 core.Map<core.String, core.Object> toJson() {
3957 var _json = new core.Map(); 4003 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
3958 if (endTime != null) { 4004 if (endTime != null) {
3959 _json["endTime"] = endTime; 4005 _json["endTime"] = endTime;
3960 } 4006 }
3961 if (insertTime != null) { 4007 if (insertTime != null) {
3962 _json["insertTime"] = insertTime; 4008 _json["insertTime"] = insertTime;
3963 } 4009 }
3964 if (method != null) { 4010 if (method != null) {
3965 _json["method"] = method; 4011 _json["method"] = method;
3966 } 4012 }
3967 if (target != null) { 4013 if (target != null) {
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
4019 target = _json["target"]; 4065 target = _json["target"];
4020 } 4066 }
4021 if (_json.containsKey("user")) { 4067 if (_json.containsKey("user")) {
4022 user = _json["user"]; 4068 user = _json["user"];
4023 } 4069 }
4024 if (_json.containsKey("warning")) { 4070 if (_json.containsKey("warning")) {
4025 warning = _json["warning"]; 4071 warning = _json["warning"];
4026 } 4072 }
4027 } 4073 }
4028 4074
4029 core.Map toJson() { 4075 core.Map<core.String, core.Object> toJson() {
4030 var _json = new core.Map(); 4076 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4031 if (endTime != null) { 4077 if (endTime != null) {
4032 _json["endTime"] = endTime; 4078 _json["endTime"] = endTime;
4033 } 4079 }
4080 if (ephemeralMessage != null) {
4081 _json["ephemeralMessage"] = ephemeralMessage;
4082 }
4083 if (insertTime != null) {
4084 _json["insertTime"] = insertTime;
4085 }
4086 if (method != null) {
4087 _json["method"] = method;
4088 }
4089 if (target != null) {
4090 _json["target"] = target;
4091 }
4092 if (user != null) {
4093 _json["user"] = user;
4094 }
4095 if (warning != null) {
4096 _json["warning"] = warning;
4097 }
4098 return _json;
4099 }
4100 }
4101
4102 /** Metadata for the given google.longrunning.Operation. */
4103 class OperationMetadataV1Alpha {
4104 /** Time that this operation completed.@OutputOnly */
4105 core.String endTime;
4106 /**
4107 * Ephemeral message that may change every time the operation is polled.
4108 * @OutputOnly
4109 */
4110 core.String ephemeralMessage;
4111 /** Time that this operation was created.@OutputOnly */
4112 core.String insertTime;
4113 /**
4114 * API method that initiated this operation. Example:
4115 * google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly
4116 */
4117 core.String method;
4118 /**
4119 * Name of the resource that this operation is acting on. Example:
4120 * apps/myapp/services/default.@OutputOnly
4121 */
4122 core.String target;
4123 /** User who requested this operation.@OutputOnly */
4124 core.String user;
4125 /** Durable messages that persist on every operation poll. @OutputOnly */
4126 core.List<core.String> warning;
4127
4128 OperationMetadataV1Alpha();
4129
4130 OperationMetadataV1Alpha.fromJson(core.Map _json) {
4131 if (_json.containsKey("endTime")) {
4132 endTime = _json["endTime"];
4133 }
4134 if (_json.containsKey("ephemeralMessage")) {
4135 ephemeralMessage = _json["ephemeralMessage"];
4136 }
4137 if (_json.containsKey("insertTime")) {
4138 insertTime = _json["insertTime"];
4139 }
4140 if (_json.containsKey("method")) {
4141 method = _json["method"];
4142 }
4143 if (_json.containsKey("target")) {
4144 target = _json["target"];
4145 }
4146 if (_json.containsKey("user")) {
4147 user = _json["user"];
4148 }
4149 if (_json.containsKey("warning")) {
4150 warning = _json["warning"];
4151 }
4152 }
4153
4154 core.Map<core.String, core.Object> toJson() {
4155 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4156 if (endTime != null) {
4157 _json["endTime"] = endTime;
4158 }
4034 if (ephemeralMessage != null) { 4159 if (ephemeralMessage != null) {
4035 _json["ephemeralMessage"] = ephemeralMessage; 4160 _json["ephemeralMessage"] = ephemeralMessage;
4036 } 4161 }
4037 if (insertTime != null) { 4162 if (insertTime != null) {
4038 _json["insertTime"] = insertTime; 4163 _json["insertTime"] = insertTime;
4039 } 4164 }
4040 if (method != null) { 4165 if (method != null) {
4041 _json["method"] = method; 4166 _json["method"] = method;
4042 } 4167 }
4043 if (target != null) { 4168 if (target != null) {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
4098 target = _json["target"]; 4223 target = _json["target"];
4099 } 4224 }
4100 if (_json.containsKey("user")) { 4225 if (_json.containsKey("user")) {
4101 user = _json["user"]; 4226 user = _json["user"];
4102 } 4227 }
4103 if (_json.containsKey("warning")) { 4228 if (_json.containsKey("warning")) {
4104 warning = _json["warning"]; 4229 warning = _json["warning"];
4105 } 4230 }
4106 } 4231 }
4107 4232
4108 core.Map toJson() { 4233 core.Map<core.String, core.Object> toJson() {
4109 var _json = new core.Map(); 4234 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4110 if (endTime != null) { 4235 if (endTime != null) {
4111 _json["endTime"] = endTime; 4236 _json["endTime"] = endTime;
4112 } 4237 }
4113 if (ephemeralMessage != null) { 4238 if (ephemeralMessage != null) {
4114 _json["ephemeralMessage"] = ephemeralMessage; 4239 _json["ephemeralMessage"] = ephemeralMessage;
4115 } 4240 }
4116 if (insertTime != null) { 4241 if (insertTime != null) {
4117 _json["insertTime"] = insertTime; 4242 _json["insertTime"] = insertTime;
4118 } 4243 }
4119 if (method != null) { 4244 if (method != null) {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
4164 method = _json["method"]; 4289 method = _json["method"];
4165 } 4290 }
4166 if (_json.containsKey("target")) { 4291 if (_json.containsKey("target")) {
4167 target = _json["target"]; 4292 target = _json["target"];
4168 } 4293 }
4169 if (_json.containsKey("user")) { 4294 if (_json.containsKey("user")) {
4170 user = _json["user"]; 4295 user = _json["user"];
4171 } 4296 }
4172 } 4297 }
4173 4298
4174 core.Map toJson() { 4299 core.Map<core.String, core.Object> toJson() {
4175 var _json = new core.Map(); 4300 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4176 if (endTime != null) { 4301 if (endTime != null) {
4177 _json["endTime"] = endTime; 4302 _json["endTime"] = endTime;
4178 } 4303 }
4179 if (insertTime != null) { 4304 if (insertTime != null) {
4180 _json["insertTime"] = insertTime; 4305 _json["insertTime"] = insertTime;
4181 } 4306 }
4182 if (method != null) { 4307 if (method != null) {
4183 _json["method"] = method; 4308 _json["method"] = method;
4184 } 4309 }
4185 if (target != null) { 4310 if (target != null) {
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
4231 path = _json["path"]; 4356 path = _json["path"];
4232 } 4357 }
4233 if (_json.containsKey("successThreshold")) { 4358 if (_json.containsKey("successThreshold")) {
4234 successThreshold = _json["successThreshold"]; 4359 successThreshold = _json["successThreshold"];
4235 } 4360 }
4236 if (_json.containsKey("timeout")) { 4361 if (_json.containsKey("timeout")) {
4237 timeout = _json["timeout"]; 4362 timeout = _json["timeout"];
4238 } 4363 }
4239 } 4364 }
4240 4365
4241 core.Map toJson() { 4366 core.Map<core.String, core.Object> toJson() {
4242 var _json = new core.Map(); 4367 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4243 if (checkInterval != null) { 4368 if (checkInterval != null) {
4244 _json["checkInterval"] = checkInterval; 4369 _json["checkInterval"] = checkInterval;
4245 } 4370 }
4246 if (failureThreshold != null) { 4371 if (failureThreshold != null) {
4247 _json["failureThreshold"] = failureThreshold; 4372 _json["failureThreshold"] = failureThreshold;
4248 } 4373 }
4249 if (host != null) { 4374 if (host != null) {
4250 _json["host"] = host; 4375 _json["host"] = host;
4251 } 4376 }
4252 if (path != null) { 4377 if (path != null) {
(...skipping 10 matching lines...) Expand all
4263 } 4388 }
4264 4389
4265 /** Request message for 'Applications.RepairApplication'. */ 4390 /** Request message for 'Applications.RepairApplication'. */
4266 class RepairApplicationRequest { 4391 class RepairApplicationRequest {
4267 4392
4268 RepairApplicationRequest(); 4393 RepairApplicationRequest();
4269 4394
4270 RepairApplicationRequest.fromJson(core.Map _json) { 4395 RepairApplicationRequest.fromJson(core.Map _json) {
4271 } 4396 }
4272 4397
4273 core.Map toJson() { 4398 core.Map<core.String, core.Object> toJson() {
4274 var _json = new core.Map(); 4399 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4275 return _json; 4400 return _json;
4276 } 4401 }
4277 } 4402 }
4278 4403
4279 /** Target scaling by request utilization. Only applicable for VM runtimes. */ 4404 /** Target scaling by request utilization. Only applicable for VM runtimes. */
4280 class RequestUtilization { 4405 class RequestUtilization {
4281 /** Target number of concurrent requests. */ 4406 /** Target number of concurrent requests. */
4282 core.int targetConcurrentRequests; 4407 core.int targetConcurrentRequests;
4283 /** Target requests per second. */ 4408 /** Target requests per second. */
4284 core.int targetRequestCountPerSecond; 4409 core.int targetRequestCountPerSecond;
4285 4410
4286 RequestUtilization(); 4411 RequestUtilization();
4287 4412
4288 RequestUtilization.fromJson(core.Map _json) { 4413 RequestUtilization.fromJson(core.Map _json) {
4289 if (_json.containsKey("targetConcurrentRequests")) { 4414 if (_json.containsKey("targetConcurrentRequests")) {
4290 targetConcurrentRequests = _json["targetConcurrentRequests"]; 4415 targetConcurrentRequests = _json["targetConcurrentRequests"];
4291 } 4416 }
4292 if (_json.containsKey("targetRequestCountPerSecond")) { 4417 if (_json.containsKey("targetRequestCountPerSecond")) {
4293 targetRequestCountPerSecond = _json["targetRequestCountPerSecond"]; 4418 targetRequestCountPerSecond = _json["targetRequestCountPerSecond"];
4294 } 4419 }
4295 } 4420 }
4296 4421
4297 core.Map toJson() { 4422 core.Map<core.String, core.Object> toJson() {
4298 var _json = new core.Map(); 4423 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4299 if (targetConcurrentRequests != null) { 4424 if (targetConcurrentRequests != null) {
4300 _json["targetConcurrentRequests"] = targetConcurrentRequests; 4425 _json["targetConcurrentRequests"] = targetConcurrentRequests;
4301 } 4426 }
4302 if (targetRequestCountPerSecond != null) { 4427 if (targetRequestCountPerSecond != null) {
4303 _json["targetRequestCountPerSecond"] = targetRequestCountPerSecond; 4428 _json["targetRequestCountPerSecond"] = targetRequestCountPerSecond;
4304 } 4429 }
4305 return _json; 4430 return _json;
4306 } 4431 }
4307 } 4432 }
4308 4433
(...skipping 25 matching lines...) Expand all
4334 name = _json["name"]; 4459 name = _json["name"];
4335 } 4460 }
4336 if (_json.containsKey("rrdata")) { 4461 if (_json.containsKey("rrdata")) {
4337 rrdata = _json["rrdata"]; 4462 rrdata = _json["rrdata"];
4338 } 4463 }
4339 if (_json.containsKey("type")) { 4464 if (_json.containsKey("type")) {
4340 type = _json["type"]; 4465 type = _json["type"];
4341 } 4466 }
4342 } 4467 }
4343 4468
4344 core.Map toJson() { 4469 core.Map<core.String, core.Object> toJson() {
4345 var _json = new core.Map(); 4470 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4346 if (name != null) { 4471 if (name != null) {
4347 _json["name"] = name; 4472 _json["name"] = name;
4348 } 4473 }
4349 if (rrdata != null) { 4474 if (rrdata != null) {
4350 _json["rrdata"] = rrdata; 4475 _json["rrdata"] = rrdata;
4351 } 4476 }
4352 if (type != null) { 4477 if (type != null) {
4353 _json["type"] = type; 4478 _json["type"] = type;
4354 } 4479 }
4355 return _json; 4480 return _json;
(...skipping 21 matching lines...) Expand all
4377 diskGb = _json["diskGb"]; 4502 diskGb = _json["diskGb"];
4378 } 4503 }
4379 if (_json.containsKey("memoryGb")) { 4504 if (_json.containsKey("memoryGb")) {
4380 memoryGb = _json["memoryGb"]; 4505 memoryGb = _json["memoryGb"];
4381 } 4506 }
4382 if (_json.containsKey("volumes")) { 4507 if (_json.containsKey("volumes")) {
4383 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi st(); 4508 volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toLi st();
4384 } 4509 }
4385 } 4510 }
4386 4511
4387 core.Map toJson() { 4512 core.Map<core.String, core.Object> toJson() {
4388 var _json = new core.Map(); 4513 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4389 if (cpu != null) { 4514 if (cpu != null) {
4390 _json["cpu"] = cpu; 4515 _json["cpu"] = cpu;
4391 } 4516 }
4392 if (diskGb != null) { 4517 if (diskGb != null) {
4393 _json["diskGb"] = diskGb; 4518 _json["diskGb"] = diskGb;
4394 } 4519 }
4395 if (memoryGb != null) { 4520 if (memoryGb != null) {
4396 _json["memoryGb"] = memoryGb; 4521 _json["memoryGb"] = memoryGb;
4397 } 4522 }
4398 if (volumes != null) { 4523 if (volumes != null) {
4399 _json["volumes"] = volumes.map((value) => (value).toJson()).toList(); 4524 _json["volumes"] = volumes.map((value) => (value).toJson()).toList();
4400 } 4525 }
4401 return _json; 4526 return _json;
4402 } 4527 }
4403 } 4528 }
4404 4529
4405 /** Executes a script to handle the request that matches the URL pattern. */ 4530 /** Executes a script to handle the request that matches the URL pattern. */
4406 class ScriptHandler { 4531 class ScriptHandler {
4407 /** Path to the script from the application root directory. */ 4532 /** Path to the script from the application root directory. */
4408 core.String scriptPath; 4533 core.String scriptPath;
4409 4534
4410 ScriptHandler(); 4535 ScriptHandler();
4411 4536
4412 ScriptHandler.fromJson(core.Map _json) { 4537 ScriptHandler.fromJson(core.Map _json) {
4413 if (_json.containsKey("scriptPath")) { 4538 if (_json.containsKey("scriptPath")) {
4414 scriptPath = _json["scriptPath"]; 4539 scriptPath = _json["scriptPath"];
4415 } 4540 }
4416 } 4541 }
4417 4542
4418 core.Map toJson() { 4543 core.Map<core.String, core.Object> toJson() {
4419 var _json = new core.Map(); 4544 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4420 if (scriptPath != null) { 4545 if (scriptPath != null) {
4421 _json["scriptPath"] = scriptPath; 4546 _json["scriptPath"] = scriptPath;
4422 } 4547 }
4423 return _json; 4548 return _json;
4424 } 4549 }
4425 } 4550 }
4426 4551
4427 /** 4552 /**
4428 * A Service resource is a logical component of an application that can share 4553 * A Service resource is a logical component of an application that can share
4429 * state and communicate in a secure fashion with other services. For example, 4554 * state and communicate in a secure fashion with other services. For example,
(...skipping 26 matching lines...) Expand all
4456 id = _json["id"]; 4581 id = _json["id"];
4457 } 4582 }
4458 if (_json.containsKey("name")) { 4583 if (_json.containsKey("name")) {
4459 name = _json["name"]; 4584 name = _json["name"];
4460 } 4585 }
4461 if (_json.containsKey("split")) { 4586 if (_json.containsKey("split")) {
4462 split = new TrafficSplit.fromJson(_json["split"]); 4587 split = new TrafficSplit.fromJson(_json["split"]);
4463 } 4588 }
4464 } 4589 }
4465 4590
4466 core.Map toJson() { 4591 core.Map<core.String, core.Object> toJson() {
4467 var _json = new core.Map(); 4592 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4468 if (id != null) { 4593 if (id != null) {
4469 _json["id"] = id; 4594 _json["id"] = id;
4470 } 4595 }
4471 if (name != null) { 4596 if (name != null) {
4472 _json["name"] = name; 4597 _json["name"] = name;
4473 } 4598 }
4474 if (split != null) { 4599 if (split != null) {
4475 _json["split"] = (split).toJson(); 4600 _json["split"] = (split).toJson();
4476 } 4601 }
4477 return _json; 4602 return _json;
4478 } 4603 }
4479 } 4604 }
4480 4605
4481 /** SSL configuration for a DomainMapping resource. */ 4606 /** SSL configuration for a DomainMapping resource. */
4482 class SslSettings { 4607 class SslSettings {
4483 /** 4608 /**
4484 * ID of the AuthorizedCertificate resource configuring SSL for the 4609 * ID of the AuthorizedCertificate resource configuring SSL for the
4485 * application. Clearing this field will remove SSL support. Example: 12345. 4610 * application. Clearing this field will remove SSL support. Example: 12345.
4486 */ 4611 */
4487 core.String certificateId; 4612 core.String certificateId;
4488 4613
4489 SslSettings(); 4614 SslSettings();
4490 4615
4491 SslSettings.fromJson(core.Map _json) { 4616 SslSettings.fromJson(core.Map _json) {
4492 if (_json.containsKey("certificateId")) { 4617 if (_json.containsKey("certificateId")) {
4493 certificateId = _json["certificateId"]; 4618 certificateId = _json["certificateId"];
4494 } 4619 }
4495 } 4620 }
4496 4621
4497 core.Map toJson() { 4622 core.Map<core.String, core.Object> toJson() {
4498 var _json = new core.Map(); 4623 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4499 if (certificateId != null) { 4624 if (certificateId != null) {
4500 _json["certificateId"] = certificateId; 4625 _json["certificateId"] = certificateId;
4501 } 4626 }
4502 return _json; 4627 return _json;
4503 } 4628 }
4504 } 4629 }
4505 4630
4631 /** Scheduler settings for standard environment. */
4632 class StandardSchedulerSettings {
4633 /** Target CPU utilization ratio to maintain when scaling. */
4634 core.double targetCpuUtilization;
4635 /** Target throughput utilization ratio to maintain when scaling */
4636 core.double targetThroughputUtilization;
4637
4638 StandardSchedulerSettings();
4639
4640 StandardSchedulerSettings.fromJson(core.Map _json) {
4641 if (_json.containsKey("targetCpuUtilization")) {
4642 targetCpuUtilization = _json["targetCpuUtilization"];
4643 }
4644 if (_json.containsKey("targetThroughputUtilization")) {
4645 targetThroughputUtilization = _json["targetThroughputUtilization"];
4646 }
4647 }
4648
4649 core.Map<core.String, core.Object> toJson() {
4650 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4651 if (targetCpuUtilization != null) {
4652 _json["targetCpuUtilization"] = targetCpuUtilization;
4653 }
4654 if (targetThroughputUtilization != null) {
4655 _json["targetThroughputUtilization"] = targetThroughputUtilization;
4656 }
4657 return _json;
4658 }
4659 }
4660
4506 /** 4661 /**
4507 * Files served directly to the user for a given URL, such as images, CSS 4662 * Files served directly to the user for a given URL, such as images, CSS
4508 * stylesheets, or JavaScript source files. Static file handlers describe which 4663 * stylesheets, or JavaScript source files. Static file handlers describe which
4509 * files in the application directory are static files, and which URLs serve 4664 * files in the application directory are static files, and which URLs serve
4510 * them. 4665 * them.
4511 */ 4666 */
4512 class StaticFilesHandler { 4667 class StaticFilesHandler {
4513 /** 4668 /**
4514 * Whether files should also be uploaded as code data. By default, files 4669 * Whether files should also be uploaded as code data. By default, files
4515 * declared in static file handlers are uploaded as static data and are only 4670 * declared in static file handlers are uploaded as static data and are only
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
4567 path = _json["path"]; 4722 path = _json["path"];
4568 } 4723 }
4569 if (_json.containsKey("requireMatchingFile")) { 4724 if (_json.containsKey("requireMatchingFile")) {
4570 requireMatchingFile = _json["requireMatchingFile"]; 4725 requireMatchingFile = _json["requireMatchingFile"];
4571 } 4726 }
4572 if (_json.containsKey("uploadPathRegex")) { 4727 if (_json.containsKey("uploadPathRegex")) {
4573 uploadPathRegex = _json["uploadPathRegex"]; 4728 uploadPathRegex = _json["uploadPathRegex"];
4574 } 4729 }
4575 } 4730 }
4576 4731
4577 core.Map toJson() { 4732 core.Map<core.String, core.Object> toJson() {
4578 var _json = new core.Map(); 4733 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4579 if (applicationReadable != null) { 4734 if (applicationReadable != null) {
4580 _json["applicationReadable"] = applicationReadable; 4735 _json["applicationReadable"] = applicationReadable;
4581 } 4736 }
4582 if (expiration != null) { 4737 if (expiration != null) {
4583 _json["expiration"] = expiration; 4738 _json["expiration"] = expiration;
4584 } 4739 }
4585 if (httpHeaders != null) { 4740 if (httpHeaders != null) {
4586 _json["httpHeaders"] = httpHeaders; 4741 _json["httpHeaders"] = httpHeaders;
4587 } 4742 }
4588 if (mimeType != null) { 4743 if (mimeType != null) {
(...skipping 18 matching lines...) Expand all
4607 * gRPC (https://github.com/grpc). The error model is designed to be: 4762 * gRPC (https://github.com/grpc). The error model is designed to be:
4608 * Simple to use and understand for most users 4763 * Simple to use and understand for most users
4609 * Flexible enough to meet unexpected needsOverviewThe Status message contains 4764 * Flexible enough to meet unexpected needsOverviewThe Status message contains
4610 * three pieces of data: error code, error message, and error details. The error 4765 * three pieces of data: error code, error message, and error details. The error
4611 * code should be an enum value of google.rpc.Code, but it may accept additional 4766 * code should be an enum value of google.rpc.Code, but it may accept additional
4612 * error codes if needed. The error message should be a developer-facing English 4767 * error codes if needed. The error message should be a developer-facing English
4613 * message that helps developers understand and resolve the error. If a 4768 * message that helps developers understand and resolve the error. If a
4614 * localized user-facing error message is needed, put the localized message in 4769 * localized user-facing error message is needed, put the localized message in
4615 * the error details or localize it in the client. The optional error details 4770 * the error details or localize it in the client. The optional error details
4616 * may contain arbitrary information about the error. There is a predefined set 4771 * may contain arbitrary information about the error. There is a predefined set
4617 * of error detail types in the package google.rpc which can be used for common 4772 * of error detail types in the package google.rpc that can be used for common
4618 * error conditions.Language mappingThe Status message is the logical 4773 * error conditions.Language mappingThe Status message is the logical
4619 * representation of the error model, but it is not necessarily the actual wire 4774 * representation of the error model, but it is not necessarily the actual wire
4620 * format. When the Status message is exposed in different client libraries and 4775 * format. When the Status message is exposed in different client libraries and
4621 * different wire protocols, it can be mapped differently. For example, it will 4776 * different wire protocols, it can be mapped differently. For example, it will
4622 * likely be mapped to some exceptions in Java, but more likely mapped to some 4777 * likely be mapped to some exceptions in Java, but more likely mapped to some
4623 * error codes in C.Other usesThe error model and the Status message can be used 4778 * error codes in C.Other usesThe error model and the Status message can be used
4624 * in a variety of environments, either with or without APIs, to provide a 4779 * in a variety of environments, either with or without APIs, to provide a
4625 * consistent developer experience across different environments.Example uses of 4780 * consistent developer experience across different environments.Example uses of
4626 * this error model include: 4781 * this error model include:
4627 * Partial errors. If a service needs to return partial errors to the client, it 4782 * Partial errors. If a service needs to return partial errors to the client, it
4628 * may embed the Status in the normal response to indicate the partial errors. 4783 * may embed the Status in the normal response to indicate the partial errors.
4629 * Workflow errors. A typical workflow has multiple steps. Each step may have a 4784 * Workflow errors. A typical workflow has multiple steps. Each step may have a
4630 * Status message for error reporting purpose. 4785 * Status message for error reporting.
4631 * Batch operations. If a client uses batch request and batch response, the 4786 * Batch operations. If a client uses batch request and batch response, the
4632 * Status message should be used directly inside batch response, one for each 4787 * Status message should be used directly inside batch response, one for each
4633 * error sub-response. 4788 * error sub-response.
4634 * Asynchronous operations. If an API call embeds asynchronous operation results 4789 * Asynchronous operations. If an API call embeds asynchronous operation results
4635 * in its response, the status of those operations should be represented 4790 * in its response, the status of those operations should be represented
4636 * directly using the Status message. 4791 * directly using the Status message.
4637 * Logging. If some API errors are stored in logs, the message Status could be 4792 * Logging. If some API errors are stored in logs, the message Status could be
4638 * used directly after any stripping needed for security/privacy reasons. 4793 * used directly after any stripping needed for security/privacy reasons.
4639 */ 4794 */
4640 class Status { 4795 class Status {
(...skipping 21 matching lines...) Expand all
4662 code = _json["code"]; 4817 code = _json["code"];
4663 } 4818 }
4664 if (_json.containsKey("details")) { 4819 if (_json.containsKey("details")) {
4665 details = _json["details"]; 4820 details = _json["details"];
4666 } 4821 }
4667 if (_json.containsKey("message")) { 4822 if (_json.containsKey("message")) {
4668 message = _json["message"]; 4823 message = _json["message"];
4669 } 4824 }
4670 } 4825 }
4671 4826
4672 core.Map toJson() { 4827 core.Map<core.String, core.Object> toJson() {
4673 var _json = new core.Map(); 4828 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4674 if (code != null) { 4829 if (code != null) {
4675 _json["code"] = code; 4830 _json["code"] = code;
4676 } 4831 }
4677 if (details != null) { 4832 if (details != null) {
4678 _json["details"] = details; 4833 _json["details"] = details;
4679 } 4834 }
4680 if (message != null) { 4835 if (message != null) {
4681 _json["message"] = message; 4836 _json["message"] = message;
4682 } 4837 }
4683 return _json; 4838 return _json;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
4719 4874
4720 TrafficSplit.fromJson(core.Map _json) { 4875 TrafficSplit.fromJson(core.Map _json) {
4721 if (_json.containsKey("allocations")) { 4876 if (_json.containsKey("allocations")) {
4722 allocations = _json["allocations"]; 4877 allocations = _json["allocations"];
4723 } 4878 }
4724 if (_json.containsKey("shardBy")) { 4879 if (_json.containsKey("shardBy")) {
4725 shardBy = _json["shardBy"]; 4880 shardBy = _json["shardBy"];
4726 } 4881 }
4727 } 4882 }
4728 4883
4729 core.Map toJson() { 4884 core.Map<core.String, core.Object> toJson() {
4730 var _json = new core.Map(); 4885 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4731 if (allocations != null) { 4886 if (allocations != null) {
4732 _json["allocations"] = allocations; 4887 _json["allocations"] = allocations;
4733 } 4888 }
4734 if (shardBy != null) { 4889 if (shardBy != null) {
4735 _json["shardBy"] = shardBy; 4890 _json["shardBy"] = shardBy;
4736 } 4891 }
4737 return _json; 4892 return _json;
4738 } 4893 }
4739 } 4894 }
4740 4895
(...skipping 23 matching lines...) Expand all
4764 domain = _json["domain"]; 4919 domain = _json["domain"];
4765 } 4920 }
4766 if (_json.containsKey("path")) { 4921 if (_json.containsKey("path")) {
4767 path = _json["path"]; 4922 path = _json["path"];
4768 } 4923 }
4769 if (_json.containsKey("service")) { 4924 if (_json.containsKey("service")) {
4770 service = _json["service"]; 4925 service = _json["service"];
4771 } 4926 }
4772 } 4927 }
4773 4928
4774 core.Map toJson() { 4929 core.Map<core.String, core.Object> toJson() {
4775 var _json = new core.Map(); 4930 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4776 if (domain != null) { 4931 if (domain != null) {
4777 _json["domain"] = domain; 4932 _json["domain"] = domain;
4778 } 4933 }
4779 if (path != null) { 4934 if (path != null) {
4780 _json["path"] = path; 4935 _json["path"] = path;
4781 } 4936 }
4782 if (service != null) { 4937 if (service != null) {
4783 _json["service"] = service; 4938 _json["service"] = service;
4784 } 4939 }
4785 return _json; 4940 return _json;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
4883 securityLevel = _json["securityLevel"]; 5038 securityLevel = _json["securityLevel"];
4884 } 5039 }
4885 if (_json.containsKey("staticFiles")) { 5040 if (_json.containsKey("staticFiles")) {
4886 staticFiles = new StaticFilesHandler.fromJson(_json["staticFiles"]); 5041 staticFiles = new StaticFilesHandler.fromJson(_json["staticFiles"]);
4887 } 5042 }
4888 if (_json.containsKey("urlRegex")) { 5043 if (_json.containsKey("urlRegex")) {
4889 urlRegex = _json["urlRegex"]; 5044 urlRegex = _json["urlRegex"];
4890 } 5045 }
4891 } 5046 }
4892 5047
4893 core.Map toJson() { 5048 core.Map<core.String, core.Object> toJson() {
4894 var _json = new core.Map(); 5049 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
4895 if (apiEndpoint != null) { 5050 if (apiEndpoint != null) {
4896 _json["apiEndpoint"] = (apiEndpoint).toJson(); 5051 _json["apiEndpoint"] = (apiEndpoint).toJson();
4897 } 5052 }
4898 if (authFailAction != null) { 5053 if (authFailAction != null) {
4899 _json["authFailAction"] = authFailAction; 5054 _json["authFailAction"] = authFailAction;
4900 } 5055 }
4901 if (login != null) { 5056 if (login != null) {
4902 _json["login"] = login; 5057 _json["login"] = login;
4903 } 5058 }
4904 if (redirectHttpResponseCode != null) { 5059 if (redirectHttpResponseCode != null) {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
5054 * Configures readiness health checking for VM instances. Unhealthy instances 5209 * Configures readiness health checking for VM instances. Unhealthy instances
5055 * are not put into the backend traffic rotation.Only returned in GET requests 5210 * are not put into the backend traffic rotation.Only returned in GET requests
5056 * if view=FULL is set. 5211 * if view=FULL is set.
5057 */ 5212 */
5058 ReadinessCheck readinessCheck; 5213 ReadinessCheck readinessCheck;
5059 /** Machine resources for this version. Only applicable for VM runtimes. */ 5214 /** Machine resources for this version. Only applicable for VM runtimes. */
5060 Resources resources; 5215 Resources resources;
5061 /** Desired runtime. Example: python27. */ 5216 /** Desired runtime. Example: python27. */
5062 core.String runtime; 5217 core.String runtime;
5063 /** 5218 /**
5219 * The version of the API in the given runtime environment. Please see the
5220 * app.yaml reference for valid values at
5221 * https://cloud.google.com/appengine/docs/standard/<language>/config/appref
5222 */
5223 core.String runtimeApiVersion;
5224 /**
5064 * Current serving status of this version. Only the versions with a SERVING 5225 * Current serving status of this version. Only the versions with a SERVING
5065 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an 5226 * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
5066 * invalid value. Defaults to SERVING. 5227 * invalid value. Defaults to SERVING.
5067 * Possible string values are: 5228 * Possible string values are:
5068 * - "SERVING_STATUS_UNSPECIFIED" : Not specified. 5229 * - "SERVING_STATUS_UNSPECIFIED" : Not specified.
5069 * - "SERVING" : Currently serving. Instances are created according to the 5230 * - "SERVING" : Currently serving. Instances are created according to the
5070 * scaling settings of the version. 5231 * scaling settings of the version.
5071 * - "STOPPED" : Disabled. No instances will be created and the scaling 5232 * - "STOPPED" : Disabled. No instances will be created and the scaling
5072 * settings are ignored until the state of the version changes to SERVING. 5233 * settings are ignored until the state of the version changes to SERVING.
5073 */ 5234 */
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
5159 } 5320 }
5160 if (_json.containsKey("readinessCheck")) { 5321 if (_json.containsKey("readinessCheck")) {
5161 readinessCheck = new ReadinessCheck.fromJson(_json["readinessCheck"]); 5322 readinessCheck = new ReadinessCheck.fromJson(_json["readinessCheck"]);
5162 } 5323 }
5163 if (_json.containsKey("resources")) { 5324 if (_json.containsKey("resources")) {
5164 resources = new Resources.fromJson(_json["resources"]); 5325 resources = new Resources.fromJson(_json["resources"]);
5165 } 5326 }
5166 if (_json.containsKey("runtime")) { 5327 if (_json.containsKey("runtime")) {
5167 runtime = _json["runtime"]; 5328 runtime = _json["runtime"];
5168 } 5329 }
5330 if (_json.containsKey("runtimeApiVersion")) {
5331 runtimeApiVersion = _json["runtimeApiVersion"];
5332 }
5169 if (_json.containsKey("servingStatus")) { 5333 if (_json.containsKey("servingStatus")) {
5170 servingStatus = _json["servingStatus"]; 5334 servingStatus = _json["servingStatus"];
5171 } 5335 }
5172 if (_json.containsKey("threadsafe")) { 5336 if (_json.containsKey("threadsafe")) {
5173 threadsafe = _json["threadsafe"]; 5337 threadsafe = _json["threadsafe"];
5174 } 5338 }
5175 if (_json.containsKey("versionUrl")) { 5339 if (_json.containsKey("versionUrl")) {
5176 versionUrl = _json["versionUrl"]; 5340 versionUrl = _json["versionUrl"];
5177 } 5341 }
5178 if (_json.containsKey("vm")) { 5342 if (_json.containsKey("vm")) {
5179 vm = _json["vm"]; 5343 vm = _json["vm"];
5180 } 5344 }
5181 } 5345 }
5182 5346
5183 core.Map toJson() { 5347 core.Map<core.String, core.Object> toJson() {
5184 var _json = new core.Map(); 5348 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5185 if (apiConfig != null) { 5349 if (apiConfig != null) {
5186 _json["apiConfig"] = (apiConfig).toJson(); 5350 _json["apiConfig"] = (apiConfig).toJson();
5187 } 5351 }
5188 if (automaticScaling != null) { 5352 if (automaticScaling != null) {
5189 _json["automaticScaling"] = (automaticScaling).toJson(); 5353 _json["automaticScaling"] = (automaticScaling).toJson();
5190 } 5354 }
5191 if (basicScaling != null) { 5355 if (basicScaling != null) {
5192 _json["basicScaling"] = (basicScaling).toJson(); 5356 _json["basicScaling"] = (basicScaling).toJson();
5193 } 5357 }
5194 if (betaSettings != null) { 5358 if (betaSettings != null) {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
5256 } 5420 }
5257 if (readinessCheck != null) { 5421 if (readinessCheck != null) {
5258 _json["readinessCheck"] = (readinessCheck).toJson(); 5422 _json["readinessCheck"] = (readinessCheck).toJson();
5259 } 5423 }
5260 if (resources != null) { 5424 if (resources != null) {
5261 _json["resources"] = (resources).toJson(); 5425 _json["resources"] = (resources).toJson();
5262 } 5426 }
5263 if (runtime != null) { 5427 if (runtime != null) {
5264 _json["runtime"] = runtime; 5428 _json["runtime"] = runtime;
5265 } 5429 }
5430 if (runtimeApiVersion != null) {
5431 _json["runtimeApiVersion"] = runtimeApiVersion;
5432 }
5266 if (servingStatus != null) { 5433 if (servingStatus != null) {
5267 _json["servingStatus"] = servingStatus; 5434 _json["servingStatus"] = servingStatus;
5268 } 5435 }
5269 if (threadsafe != null) { 5436 if (threadsafe != null) {
5270 _json["threadsafe"] = threadsafe; 5437 _json["threadsafe"] = threadsafe;
5271 } 5438 }
5272 if (versionUrl != null) { 5439 if (versionUrl != null) {
5273 _json["versionUrl"] = versionUrl; 5440 _json["versionUrl"] = versionUrl;
5274 } 5441 }
5275 if (vm != null) { 5442 if (vm != null) {
(...skipping 21 matching lines...) Expand all
5297 name = _json["name"]; 5464 name = _json["name"];
5298 } 5465 }
5299 if (_json.containsKey("sizeGb")) { 5466 if (_json.containsKey("sizeGb")) {
5300 sizeGb = _json["sizeGb"]; 5467 sizeGb = _json["sizeGb"];
5301 } 5468 }
5302 if (_json.containsKey("volumeType")) { 5469 if (_json.containsKey("volumeType")) {
5303 volumeType = _json["volumeType"]; 5470 volumeType = _json["volumeType"];
5304 } 5471 }
5305 } 5472 }
5306 5473
5307 core.Map toJson() { 5474 core.Map<core.String, core.Object> toJson() {
5308 var _json = new core.Map(); 5475 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5309 if (name != null) { 5476 if (name != null) {
5310 _json["name"] = name; 5477 _json["name"] = name;
5311 } 5478 }
5312 if (sizeGb != null) { 5479 if (sizeGb != null) {
5313 _json["sizeGb"] = sizeGb; 5480 _json["sizeGb"] = sizeGb;
5314 } 5481 }
5315 if (volumeType != null) { 5482 if (volumeType != null) {
5316 _json["volumeType"] = volumeType; 5483 _json["volumeType"] = volumeType;
5317 } 5484 }
5318 return _json; 5485 return _json;
(...skipping 19 matching lines...) Expand all
5338 5505
5339 ZipInfo.fromJson(core.Map _json) { 5506 ZipInfo.fromJson(core.Map _json) {
5340 if (_json.containsKey("filesCount")) { 5507 if (_json.containsKey("filesCount")) {
5341 filesCount = _json["filesCount"]; 5508 filesCount = _json["filesCount"];
5342 } 5509 }
5343 if (_json.containsKey("sourceUrl")) { 5510 if (_json.containsKey("sourceUrl")) {
5344 sourceUrl = _json["sourceUrl"]; 5511 sourceUrl = _json["sourceUrl"];
5345 } 5512 }
5346 } 5513 }
5347 5514
5348 core.Map toJson() { 5515 core.Map<core.String, core.Object> toJson() {
5349 var _json = new core.Map(); 5516 final core.Map<core.String, core.Object> _json = new core.Map<core.String, c ore.Object>();
5350 if (filesCount != null) { 5517 if (filesCount != null) {
5351 _json["filesCount"] = filesCount; 5518 _json["filesCount"] = filesCount;
5352 } 5519 }
5353 if (sourceUrl != null) { 5520 if (sourceUrl != null) {
5354 _json["sourceUrl"] = sourceUrl; 5521 _json["sourceUrl"] = sourceUrl;
5355 } 5522 }
5356 return _json; 5523 return _json;
5357 } 5524 }
5358 } 5525 }
OLDNEW
« no previous file with comments | « generated/googleapis_beta/lib/adexchangebuyer2/v2beta1.dart ('k') | generated/googleapis_beta/lib/appengine/v1beta4.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698