Index: generated/googleapis_beta/lib/appengine/v1beta.dart |
diff --git a/generated/googleapis_beta/lib/appengine/v1beta.dart b/generated/googleapis_beta/lib/appengine/v1beta.dart |
index e3bedddeae5161922368c144675353b675f96ad4..107b1307fdace455fc6d263a1d43aa8bcbdbaa36 100644 |
--- a/generated/googleapis_beta/lib/appengine/v1beta.dart |
+++ b/generated/googleapis_beta/lib/appengine/v1beta.dart |
@@ -398,10 +398,10 @@ class AppsAuthorizedCertificatesResourceApi { |
* [appsId] - Part of `parent`. Name of the parent Application resource. |
* Example: apps/myapp. |
* |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
* [pageSize] - Maximum results to return per page. |
* |
+ * [pageToken] - Continuation token for fetching the next page of results. |
+ * |
* Completes with a [ListAuthorizedCertificatesResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -410,7 +410,7 @@ class AppsAuthorizedCertificatesResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListAuthorizedCertificatesResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -421,12 +421,12 @@ class AppsAuthorizedCertificatesResourceApi { |
if (appsId == null) { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/authorizedCertificates'; |
@@ -715,10 +715,10 @@ class AppsDomainMappingsResourceApi { |
* [appsId] - Part of `parent`. Name of the parent Application resource. |
* Example: apps/myapp. |
* |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
* [pageSize] - Maximum results to return per page. |
* |
+ * [pageToken] - Continuation token for fetching the next page of results. |
+ * |
* Completes with a [ListDomainMappingsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -727,7 +727,7 @@ class AppsDomainMappingsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListDomainMappingsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListDomainMappingsResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -738,12 +738,12 @@ class AppsDomainMappingsResourceApi { |
if (appsId == null) { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/domainMappings'; |
@@ -981,19 +981,24 @@ class AppsOperationsResourceApi { |
/** |
* Lists operations that match the specified filter in the request. If the |
* server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name |
- * binding below allows API services to override the binding to use different |
- * resource name schemes, such as users / * /operations. |
+ * binding allows API services to override the binding to use different |
+ * resource name schemes, such as users / * /operations. To override the |
+ * binding, API services can add a binding such as "/v1/{name=users / * |
+ * }/operations" to their service configuration. For backwards compatibility, |
+ * the default name includes the operations collection id, however overriding |
+ * users must ensure the name binding is the parent resource, without the |
+ * operations collection id. |
* |
* Request parameters: |
* |
- * [appsId] - Part of `name`. The name of the operation collection. |
- * |
- * [pageSize] - The standard list page size. |
+ * [appsId] - Part of `name`. The name of the operation's parent resource. |
* |
* [filter] - The standard list filter. |
* |
* [pageToken] - The standard list page token. |
* |
+ * [pageSize] - The standard list page size. |
+ * |
* Completes with a [ListOperationsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1002,7 +1007,7 @@ class AppsOperationsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListOperationsResponse> list(core.String appsId, {core.int pageSize, core.String filter, core.String pageToken}) { |
+ async.Future<ListOperationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1013,15 +1018,15 @@ class AppsOperationsResourceApi { |
if (appsId == null) { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- if (pageSize != null) { |
- _queryParams["pageSize"] = ["${pageSize}"]; |
- } |
if (filter != null) { |
_queryParams["filter"] = [filter]; |
} |
if (pageToken != null) { |
_queryParams["pageToken"] = [pageToken]; |
} |
+ if (pageSize != null) { |
+ _queryParams["pageSize"] = ["${pageSize}"]; |
+ } |
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations'; |
@@ -1144,10 +1149,10 @@ class AppsServicesResourceApi { |
* [appsId] - Part of `parent`. Name of the parent Application resource. |
* Example: apps/myapp. |
* |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
* [pageSize] - Maximum results to return per page. |
* |
+ * [pageToken] - Continuation token for fetching the next page of results. |
+ * |
* Completes with a [ListServicesResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1156,7 +1161,7 @@ class AppsServicesResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListServicesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListServicesResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1167,12 +1172,12 @@ class AppsServicesResourceApi { |
if (appsId == null) { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services'; |
@@ -1438,6 +1443,8 @@ class AppsServicesVersionsResourceApi { |
* |
* [servicesId] - Part of `parent`. See documentation of `appsId`. |
* |
+ * [pageToken] - Continuation token for fetching the next page of results. |
+ * |
* [pageSize] - Maximum results to return per page. |
* |
* [view] - Controls the set of fields returned in the List response. |
@@ -1445,8 +1452,6 @@ class AppsServicesVersionsResourceApi { |
* - "BASIC" : A BASIC. |
* - "FULL" : A FULL. |
* |
- * [pageToken] - Continuation token for fetching the next page of results. |
- * |
* Completes with a [ListVersionsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1455,7 +1460,7 @@ class AppsServicesVersionsResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.int pageSize, core.String view, core.String pageToken}) { |
+ async.Future<ListVersionsResponse> list(core.String appsId, core.String servicesId, {core.String pageToken, core.int pageSize, core.String view}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1469,15 +1474,15 @@ class AppsServicesVersionsResourceApi { |
if (servicesId == null) { |
throw new core.ArgumentError("Parameter servicesId is required."); |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
if (view != null) { |
_queryParams["view"] = [view]; |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
_url = 'v1beta/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/services/' + commons.Escaper.ecapeVariable('$servicesId') + '/versions'; |
@@ -1892,8 +1897,8 @@ class ApiConfigHandler { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (authFailAction != null) { |
_json["authFailAction"] = authFailAction; |
} |
@@ -1926,8 +1931,8 @@ class ApiEndpointHandler { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (scriptPath != null) { |
_json["scriptPath"] = scriptPath; |
} |
@@ -1937,7 +1942,7 @@ class ApiEndpointHandler { |
/** |
* An Application resource contains the top-level configuration of an App Engine |
- * application. |
+ * application. Next tag: 19 |
*/ |
class Application { |
/** |
@@ -2045,8 +2050,8 @@ class Application { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (authDomain != null) { |
_json["authDomain"] = authDomain; |
} |
@@ -2171,8 +2176,8 @@ class AuthorizedCertificate { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (certificateRawData != null) { |
_json["certificateRawData"] = (certificateRawData).toJson(); |
} |
@@ -2229,8 +2234,8 @@ class AuthorizedDomain { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (id != null) { |
_json["id"] = id; |
} |
@@ -2292,6 +2297,8 @@ class AutomaticScaling { |
NetworkUtilization networkUtilization; |
/** Target scaling by request utilization. */ |
RequestUtilization requestUtilization; |
+ /** Scheduler settings for standard environment. */ |
+ StandardSchedulerSettings standardSchedulerSettings; |
AutomaticScaling(); |
@@ -2332,10 +2339,13 @@ class AutomaticScaling { |
if (_json.containsKey("requestUtilization")) { |
requestUtilization = new RequestUtilization.fromJson(_json["requestUtilization"]); |
} |
+ if (_json.containsKey("standardSchedulerSettings")) { |
+ standardSchedulerSettings = new StandardSchedulerSettings.fromJson(_json["standardSchedulerSettings"]); |
+ } |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (coolDownPeriod != null) { |
_json["coolDownPeriod"] = coolDownPeriod; |
} |
@@ -2372,6 +2382,9 @@ class AutomaticScaling { |
if (requestUtilization != null) { |
_json["requestUtilization"] = (requestUtilization).toJson(); |
} |
+ if (standardSchedulerSettings != null) { |
+ _json["standardSchedulerSettings"] = (standardSchedulerSettings).toJson(); |
+ } |
return _json; |
} |
} |
@@ -2402,8 +2415,8 @@ class BasicScaling { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (idleTimeout != null) { |
_json["idleTimeout"] = idleTimeout; |
} |
@@ -2414,6 +2427,31 @@ class BasicScaling { |
} |
} |
+/** Google Cloud Container Builder build information. */ |
+class BuildInfo { |
+ /** |
+ * The Google Cloud Container Builder build id. Example: |
+ * "f966068f-08b2-42c8-bdfe-74137dff2bf9" |
+ */ |
+ core.String cloudBuildId; |
+ |
+ BuildInfo(); |
+ |
+ BuildInfo.fromJson(core.Map _json) { |
+ if (_json.containsKey("cloudBuildId")) { |
+ cloudBuildId = _json["cloudBuildId"]; |
+ } |
+ } |
+ |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ if (cloudBuildId != null) { |
+ _json["cloudBuildId"] = cloudBuildId; |
+ } |
+ return _json; |
+ } |
+} |
+ |
/** An SSL certificate obtained from a certificate authority. */ |
class CertificateRawData { |
/** |
@@ -2443,8 +2481,8 @@ class CertificateRawData { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (privateKey != null) { |
_json["privateKey"] = privateKey; |
} |
@@ -2476,8 +2514,8 @@ class ContainerInfo { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (image != null) { |
_json["image"] = image; |
} |
@@ -2506,8 +2544,8 @@ class CpuUtilization { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (aggregationWindowLength != null) { |
_json["aggregationWindowLength"] = aggregationWindowLength; |
} |
@@ -2538,8 +2576,8 @@ class DebugInstanceRequest { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (sshKey != null) { |
_json["sshKey"] = sshKey; |
} |
@@ -2549,6 +2587,8 @@ class DebugInstanceRequest { |
/** Code and application artifacts used to deploy a version to App Engine. */ |
class Deployment { |
+ /** Google Cloud Container Builder build information. */ |
+ BuildInfo build; |
/** |
* The Docker image for the container that runs the version. Only applicable |
* for instances running in the App Engine flexible environment. |
@@ -2566,24 +2606,30 @@ class Deployment { |
Deployment(); |
Deployment.fromJson(core.Map _json) { |
+ if (_json.containsKey("build")) { |
+ build = new BuildInfo.fromJson(_json["build"]); |
+ } |
if (_json.containsKey("container")) { |
container = new ContainerInfo.fromJson(_json["container"]); |
} |
if (_json.containsKey("files")) { |
- files = commons.mapMap(_json["files"], (item) => new FileInfo.fromJson(item)); |
+ files = commons.mapMap<core.Map<core.String, core.Object>, FileInfo>(_json["files"], (core.Map<core.String, core.Object> item) => new FileInfo.fromJson(item)); |
} |
if (_json.containsKey("zip")) { |
zip = new ZipInfo.fromJson(_json["zip"]); |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ if (build != null) { |
+ _json["build"] = (build).toJson(); |
+ } |
if (container != null) { |
_json["container"] = (container).toJson(); |
} |
if (files != null) { |
- _json["files"] = commons.mapMap(files, (item) => (item).toJson()); |
+ _json["files"] = commons.mapMap<FileInfo, core.Map<core.String, core.Object>>(files, (FileInfo item) => (item).toJson()); |
} |
if (zip != null) { |
_json["zip"] = (zip).toJson(); |
@@ -2620,8 +2666,8 @@ class DiskUtilization { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (targetReadBytesPerSecond != null) { |
_json["targetReadBytesPerSecond"] = targetReadBytesPerSecond; |
} |
@@ -2678,8 +2724,8 @@ class DomainMapping { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (id != null) { |
_json["id"] = id; |
} |
@@ -2712,8 +2758,8 @@ class Empty { |
Empty.fromJson(core.Map _json) { |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
return _json; |
} |
} |
@@ -2748,8 +2794,8 @@ class EndpointsApiService { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (configId != null) { |
_json["configId"] = configId; |
} |
@@ -2792,8 +2838,8 @@ class ErrorHandler { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (errorCode != null) { |
_json["errorCode"] = errorCode; |
} |
@@ -2839,8 +2885,8 @@ class FileInfo { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (mimeType != null) { |
_json["mimeType"] = mimeType; |
} |
@@ -2913,8 +2959,8 @@ class HealthCheck { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (checkInterval != null) { |
_json["checkInterval"] = checkInterval; |
} |
@@ -2977,8 +3023,8 @@ class IdentityAwareProxy { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (enabled != null) { |
_json["enabled"] = enabled; |
} |
@@ -3116,8 +3162,8 @@ class Instance { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (appEngineRelease != null) { |
_json["appEngineRelease"] = appEngineRelease; |
} |
@@ -3188,8 +3234,8 @@ class Library { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (name != null) { |
_json["name"] = name; |
} |
@@ -3218,8 +3264,8 @@ class ListAuthorizedCertificatesResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (certificates != null) { |
_json["certificates"] = certificates.map((value) => (value).toJson()).toList(); |
} |
@@ -3248,8 +3294,8 @@ class ListAuthorizedDomainsResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (domains != null) { |
_json["domains"] = domains.map((value) => (value).toJson()).toList(); |
} |
@@ -3278,8 +3324,8 @@ class ListDomainMappingsResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (domainMappings != null) { |
_json["domainMappings"] = domainMappings.map((value) => (value).toJson()).toList(); |
} |
@@ -3308,8 +3354,8 @@ class ListInstancesResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (instances != null) { |
_json["instances"] = instances.map((value) => (value).toJson()).toList(); |
} |
@@ -3338,8 +3384,8 @@ class ListLocationsResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (locations != null) { |
_json["locations"] = locations.map((value) => (value).toJson()).toList(); |
} |
@@ -3368,8 +3414,8 @@ class ListOperationsResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -3398,8 +3444,8 @@ class ListServicesResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -3428,8 +3474,8 @@ class ListVersionsResponse { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (nextPageToken != null) { |
_json["nextPageToken"] = nextPageToken; |
} |
@@ -3495,8 +3541,8 @@ class LivenessCheck { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (checkInterval != null) { |
_json["checkInterval"] = checkInterval; |
} |
@@ -3562,8 +3608,8 @@ class Location { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (labels != null) { |
_json["labels"] = labels; |
} |
@@ -3604,8 +3650,8 @@ class LocationMetadata { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (flexibleEnvironmentAvailable != null) { |
_json["flexibleEnvironmentAvailable"] = flexibleEnvironmentAvailable; |
} |
@@ -3637,8 +3683,8 @@ class ManualScaling { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (instances != null) { |
_json["instances"] = instances; |
} |
@@ -3695,8 +3741,8 @@ class Network { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (forwardedPorts != null) { |
_json["forwardedPorts"] = forwardedPorts; |
} |
@@ -3741,8 +3787,8 @@ class NetworkUtilization { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (targetReceivedBytesPerSecond != null) { |
_json["targetReceivedBytesPerSecond"] = targetReceivedBytesPerSecond; |
} |
@@ -3822,8 +3868,8 @@ class Operation { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (done != null) { |
_json["done"] = done; |
} |
@@ -3890,8 +3936,8 @@ class OperationMetadata { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -3953,8 +3999,8 @@ class OperationMetadataExperimental { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4026,8 +4072,87 @@ class OperationMetadataV1 { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ if (endTime != null) { |
+ _json["endTime"] = endTime; |
+ } |
+ if (ephemeralMessage != null) { |
+ _json["ephemeralMessage"] = ephemeralMessage; |
+ } |
+ if (insertTime != null) { |
+ _json["insertTime"] = insertTime; |
+ } |
+ if (method != null) { |
+ _json["method"] = method; |
+ } |
+ if (target != null) { |
+ _json["target"] = target; |
+ } |
+ if (user != null) { |
+ _json["user"] = user; |
+ } |
+ if (warning != null) { |
+ _json["warning"] = warning; |
+ } |
+ return _json; |
+ } |
+} |
+ |
+/** Metadata for the given google.longrunning.Operation. */ |
+class OperationMetadataV1Alpha { |
+ /** Time that this operation completed.@OutputOnly */ |
+ core.String endTime; |
+ /** |
+ * Ephemeral message that may change every time the operation is polled. |
+ * @OutputOnly |
+ */ |
+ core.String ephemeralMessage; |
+ /** Time that this operation was created.@OutputOnly */ |
+ core.String insertTime; |
+ /** |
+ * API method that initiated this operation. Example: |
+ * google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly |
+ */ |
+ core.String method; |
+ /** |
+ * Name of the resource that this operation is acting on. Example: |
+ * apps/myapp/services/default.@OutputOnly |
+ */ |
+ core.String target; |
+ /** User who requested this operation.@OutputOnly */ |
+ core.String user; |
+ /** Durable messages that persist on every operation poll. @OutputOnly */ |
+ core.List<core.String> warning; |
+ |
+ OperationMetadataV1Alpha(); |
+ |
+ OperationMetadataV1Alpha.fromJson(core.Map _json) { |
+ if (_json.containsKey("endTime")) { |
+ endTime = _json["endTime"]; |
+ } |
+ if (_json.containsKey("ephemeralMessage")) { |
+ ephemeralMessage = _json["ephemeralMessage"]; |
+ } |
+ if (_json.containsKey("insertTime")) { |
+ insertTime = _json["insertTime"]; |
+ } |
+ if (_json.containsKey("method")) { |
+ method = _json["method"]; |
+ } |
+ if (_json.containsKey("target")) { |
+ target = _json["target"]; |
+ } |
+ if (_json.containsKey("user")) { |
+ user = _json["user"]; |
+ } |
+ if (_json.containsKey("warning")) { |
+ warning = _json["warning"]; |
+ } |
+ } |
+ |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4105,8 +4230,8 @@ class OperationMetadataV1Beta { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4171,8 +4296,8 @@ class OperationMetadataV1Beta5 { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (endTime != null) { |
_json["endTime"] = endTime; |
} |
@@ -4238,8 +4363,8 @@ class ReadinessCheck { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (checkInterval != null) { |
_json["checkInterval"] = checkInterval; |
} |
@@ -4270,8 +4395,8 @@ class RepairApplicationRequest { |
RepairApplicationRequest.fromJson(core.Map _json) { |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
return _json; |
} |
} |
@@ -4294,8 +4419,8 @@ class RequestUtilization { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (targetConcurrentRequests != null) { |
_json["targetConcurrentRequests"] = targetConcurrentRequests; |
} |
@@ -4341,8 +4466,8 @@ class ResourceRecord { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (name != null) { |
_json["name"] = name; |
} |
@@ -4384,8 +4509,8 @@ class Resources { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (cpu != null) { |
_json["cpu"] = cpu; |
} |
@@ -4415,8 +4540,8 @@ class ScriptHandler { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (scriptPath != null) { |
_json["scriptPath"] = scriptPath; |
} |
@@ -4463,8 +4588,8 @@ class Service { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (id != null) { |
_json["id"] = id; |
} |
@@ -4494,8 +4619,8 @@ class SslSettings { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (certificateId != null) { |
_json["certificateId"] = certificateId; |
} |
@@ -4503,6 +4628,36 @@ class SslSettings { |
} |
} |
+/** Scheduler settings for standard environment. */ |
+class StandardSchedulerSettings { |
+ /** Target CPU utilization ratio to maintain when scaling. */ |
+ core.double targetCpuUtilization; |
+ /** Target throughput utilization ratio to maintain when scaling */ |
+ core.double targetThroughputUtilization; |
+ |
+ StandardSchedulerSettings(); |
+ |
+ StandardSchedulerSettings.fromJson(core.Map _json) { |
+ if (_json.containsKey("targetCpuUtilization")) { |
+ targetCpuUtilization = _json["targetCpuUtilization"]; |
+ } |
+ if (_json.containsKey("targetThroughputUtilization")) { |
+ targetThroughputUtilization = _json["targetThroughputUtilization"]; |
+ } |
+ } |
+ |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
+ if (targetCpuUtilization != null) { |
+ _json["targetCpuUtilization"] = targetCpuUtilization; |
+ } |
+ if (targetThroughputUtilization != null) { |
+ _json["targetThroughputUtilization"] = targetThroughputUtilization; |
+ } |
+ return _json; |
+ } |
+} |
+ |
/** |
* Files served directly to the user for a given URL, such as images, CSS |
* stylesheets, or JavaScript source files. Static file handlers describe which |
@@ -4574,8 +4729,8 @@ class StaticFilesHandler { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (applicationReadable != null) { |
_json["applicationReadable"] = applicationReadable; |
} |
@@ -4614,7 +4769,7 @@ class StaticFilesHandler { |
* localized user-facing error message is needed, put the localized message in |
* the error details or localize it in the client. The optional error details |
* may contain arbitrary information about the error. There is a predefined set |
- * of error detail types in the package google.rpc which can be used for common |
+ * of error detail types in the package google.rpc that can be used for common |
* error conditions.Language mappingThe Status message is the logical |
* representation of the error model, but it is not necessarily the actual wire |
* format. When the Status message is exposed in different client libraries and |
@@ -4627,7 +4782,7 @@ class StaticFilesHandler { |
* Partial errors. If a service needs to return partial errors to the client, it |
* may embed the Status in the normal response to indicate the partial errors. |
* Workflow errors. A typical workflow has multiple steps. Each step may have a |
- * Status message for error reporting purpose. |
+ * Status message for error reporting. |
* Batch operations. If a client uses batch request and batch response, the |
* Status message should be used directly inside batch response, one for each |
* error sub-response. |
@@ -4669,8 +4824,8 @@ class Status { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (code != null) { |
_json["code"] = code; |
} |
@@ -4726,8 +4881,8 @@ class TrafficSplit { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (allocations != null) { |
_json["allocations"] = allocations; |
} |
@@ -4771,8 +4926,8 @@ class UrlDispatchRule { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (domain != null) { |
_json["domain"] = domain; |
} |
@@ -4890,8 +5045,8 @@ class UrlMap { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (apiEndpoint != null) { |
_json["apiEndpoint"] = (apiEndpoint).toJson(); |
} |
@@ -5060,6 +5215,12 @@ class Version { |
Resources resources; |
/** Desired runtime. Example: python27. */ |
core.String runtime; |
+ /** |
+ * The version of the API in the given runtime environment. Please see the |
+ * app.yaml reference for valid values at |
+ * https://cloud.google.com/appengine/docs/standard/<language>/config/appref |
+ */ |
+ core.String runtimeApiVersion; |
/** |
* Current serving status of this version. Only the versions with a SERVING |
* status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an |
@@ -5166,6 +5327,9 @@ class Version { |
if (_json.containsKey("runtime")) { |
runtime = _json["runtime"]; |
} |
+ if (_json.containsKey("runtimeApiVersion")) { |
+ runtimeApiVersion = _json["runtimeApiVersion"]; |
+ } |
if (_json.containsKey("servingStatus")) { |
servingStatus = _json["servingStatus"]; |
} |
@@ -5180,8 +5344,8 @@ class Version { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (apiConfig != null) { |
_json["apiConfig"] = (apiConfig).toJson(); |
} |
@@ -5263,6 +5427,9 @@ class Version { |
if (runtime != null) { |
_json["runtime"] = runtime; |
} |
+ if (runtimeApiVersion != null) { |
+ _json["runtimeApiVersion"] = runtimeApiVersion; |
+ } |
if (servingStatus != null) { |
_json["servingStatus"] = servingStatus; |
} |
@@ -5304,8 +5471,8 @@ class Volume { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (name != null) { |
_json["name"] = name; |
} |
@@ -5345,8 +5512,8 @@ class ZipInfo { |
} |
} |
- core.Map toJson() { |
- var _json = new core.Map(); |
+ core.Map<core.String, core.Object> toJson() { |
+ final core.Map<core.String, core.Object> _json = new core.Map<core.String, core.Object>(); |
if (filesCount != null) { |
_json["filesCount"] = filesCount; |
} |