Index: generated/googleapis_beta/lib/appengine/v1beta4.dart |
diff --git a/generated/googleapis_beta/lib/appengine/v1beta4.dart b/generated/googleapis_beta/lib/appengine/v1beta4.dart |
index c4f52f59fec802469194db1bcbdc8c0019e2c27d..6d2f302d6d0239aa1030f451cbed817cb8742d45 100644 |
--- a/generated/googleapis_beta/lib/appengine/v1beta4.dart |
+++ b/generated/googleapis_beta/lib/appengine/v1beta4.dart |
@@ -414,10 +414,10 @@ class AppsModulesResourceApi { |
* [appsId] - Part of `name`. Name of the resource requested. 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 [ListModulesResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -426,7 +426,7 @@ class AppsModulesResourceApi { |
* If the used [http.Client] completes with an error when making a REST call, |
* this method will complete with the same error. |
*/ |
- async.Future<ListModulesResponse> list(core.String appsId, {core.String pageToken, core.int pageSize}) { |
+ async.Future<ListModulesResponse> list(core.String appsId, {core.int pageSize, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -437,12 +437,12 @@ class AppsModulesResourceApi { |
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 = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/modules'; |
@@ -708,8 +708,6 @@ class AppsModulesVersionsResourceApi { |
* |
* [modulesId] - Part of `name`. 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. |
@@ -717,6 +715,8 @@ class AppsModulesVersionsResourceApi { |
* - "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 |
@@ -725,7 +725,7 @@ class AppsModulesVersionsResourceApi { |
* 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 modulesId, {core.String pageToken, core.int pageSize, core.String view}) { |
+ async.Future<ListVersionsResponse> list(core.String appsId, core.String modulesId, {core.int pageSize, core.String view, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -739,15 +739,15 @@ class AppsModulesVersionsResourceApi { |
if (modulesId == null) { |
throw new core.ArgumentError("Parameter modulesId 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 = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/modules/' + commons.Escaper.ecapeVariable('$modulesId') + '/versions'; |
@@ -1142,19 +1142,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. |
- * |
- * [pageToken] - The standard list page token. |
+ * [appsId] - Part of `name`. The name of the operation's parent resource. |
* |
* [pageSize] - The standard list page size. |
* |
* [filter] - The standard list filter. |
* |
+ * [pageToken] - The standard list page token. |
+ * |
* Completes with a [ListOperationsResponse]. |
* |
* Completes with a [commons.ApiRequestError] if the API endpoint returned an |
@@ -1163,7 +1168,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.String pageToken, core.int pageSize, core.String filter}) { |
+ async.Future<ListOperationsResponse> list(core.String appsId, {core.int pageSize, core.String filter, core.String pageToken}) { |
var _url = null; |
var _queryParams = new core.Map(); |
var _uploadMedia = null; |
@@ -1174,15 +1179,15 @@ class AppsOperationsResourceApi { |
if (appsId == null) { |
throw new core.ArgumentError("Parameter appsId is required."); |
} |
- if (pageToken != null) { |
- _queryParams["pageToken"] = [pageToken]; |
- } |
if (pageSize != null) { |
_queryParams["pageSize"] = ["${pageSize}"]; |
} |
if (filter != null) { |
_queryParams["filter"] = [filter]; |
} |
+ if (pageToken != null) { |
+ _queryParams["pageToken"] = [pageToken]; |
+ } |
_url = 'v1beta4/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations'; |
@@ -1274,8 +1279,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; |
} |
@@ -1308,8 +1313,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; |
} |
@@ -1407,8 +1412,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; |
} |
@@ -1536,8 +1541,8 @@ class AutomaticScaling { |
} |
} |
- 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; |
} |
@@ -1604,8 +1609,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; |
} |
@@ -1637,8 +1642,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; |
} |
@@ -1667,8 +1672,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; |
} |
@@ -1699,8 +1704,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; |
} |
@@ -1735,20 +1740,20 @@ class Deployment { |
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("sourceReferences")) { |
sourceReferences = _json["sourceReferences"].map((value) => new SourceReference.fromJson(value)).toList(); |
} |
} |
- 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 (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 (sourceReferences != null) { |
_json["sourceReferences"] = sourceReferences.map((value) => (value).toJson()).toList(); |
@@ -1785,8 +1790,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 (targetReadBytesPerSec != null) { |
_json["targetReadBytesPerSec"] = targetReadBytesPerSec; |
} |
@@ -1835,8 +1840,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; |
} |
@@ -1882,8 +1887,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; |
} |
@@ -1956,8 +1961,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; |
} |
@@ -2019,8 +2024,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; |
} |
@@ -2158,8 +2163,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; |
} |
@@ -2230,8 +2235,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; |
} |
@@ -2260,8 +2265,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(); |
} |
@@ -2290,8 +2295,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(); |
} |
@@ -2320,8 +2325,8 @@ class ListModulesResponse { |
} |
} |
- 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 (modules != null) { |
_json["modules"] = modules.map((value) => (value).toJson()).toList(); |
} |
@@ -2350,8 +2355,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; |
} |
@@ -2380,8 +2385,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; |
} |
@@ -2432,8 +2437,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; |
} |
@@ -2474,8 +2479,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; |
} |
@@ -2507,8 +2512,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; |
} |
@@ -2555,8 +2560,8 @@ class Module { |
} |
} |
- 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; |
} |
@@ -2599,8 +2604,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; |
} |
@@ -2642,8 +2647,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 (targetReceivedBytesPerSec != null) { |
_json["targetReceivedBytesPerSec"] = targetReceivedBytesPerSec; |
} |
@@ -2723,8 +2728,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; |
} |
@@ -2791,8 +2796,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; |
} |
@@ -2854,8 +2859,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; |
} |
@@ -2927,8 +2932,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; |
} |
@@ -3006,8 +3090,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; |
} |
@@ -3072,8 +3156,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; |
} |
@@ -3111,8 +3195,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; |
} |
@@ -3151,8 +3235,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; |
} |
@@ -3182,8 +3266,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; |
} |
@@ -3219,8 +3303,8 @@ class SourceReference { |
} |
} |
- 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 (repository != null) { |
_json["repository"] = repository; |
} |
@@ -3290,8 +3374,8 @@ class StaticDirectoryHandler { |
} |
} |
- 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; |
} |
@@ -3382,8 +3466,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; |
} |
@@ -3422,7 +3506,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 |
@@ -3435,7 +3519,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. |
@@ -3477,8 +3561,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; |
} |
@@ -3532,8 +3616,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; |
} |
@@ -3577,8 +3661,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; |
} |
@@ -3705,8 +3789,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(); |
} |
@@ -3855,6 +3939,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 |
@@ -3944,6 +4034,9 @@ class Version { |
if (_json.containsKey("runtime")) { |
runtime = _json["runtime"]; |
} |
+ if (_json.containsKey("runtimeApiVersion")) { |
+ runtimeApiVersion = _json["runtimeApiVersion"]; |
+ } |
if (_json.containsKey("servingStatus")) { |
servingStatus = _json["servingStatus"]; |
} |
@@ -3955,8 +4048,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(); |
} |
@@ -4026,6 +4119,9 @@ class Version { |
if (runtime != null) { |
_json["runtime"] = runtime; |
} |
+ if (runtimeApiVersion != null) { |
+ _json["runtimeApiVersion"] = runtimeApiVersion; |
+ } |
if (servingStatus != null) { |
_json["servingStatus"] = servingStatus; |
} |
@@ -4064,8 +4160,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; |
} |