| Index: generated/googleapis_beta/lib/appengine/v1beta5.dart
|
| diff --git a/generated/googleapis_beta/lib/appengine/v1beta5.dart b/generated/googleapis_beta/lib/appengine/v1beta5.dart
|
| index 77ee300273b3518f7dfe275afd28dd1e1fb33a83..d072fe6f1c7b8a0ca7a8cb88d8534409b894aa52 100644
|
| --- a/generated/googleapis_beta/lib/appengine/v1beta5.dart
|
| +++ b/generated/googleapis_beta/lib/appengine/v1beta5.dart
|
| @@ -259,12 +259,12 @@ class AppsLocationsResourceApi {
|
| * [appsId] - Part of `name`. The resource that owns the locations collection,
|
| * if applicable.
|
| *
|
| - * [filter] - The standard list filter.
|
| - *
|
| * [pageToken] - The standard list page token.
|
| *
|
| * [pageSize] - The standard list page size.
|
| *
|
| + * [filter] - The standard list filter.
|
| + *
|
| * Completes with a [ListLocationsResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -273,7 +273,7 @@ class AppsLocationsResourceApi {
|
| * If the used [http.Client] completes with an error when making a REST call,
|
| * this method will complete with the same error.
|
| */
|
| - async.Future<ListLocationsResponse> list(core.String appsId, {core.String filter, core.String pageToken, core.int pageSize}) {
|
| + async.Future<ListLocationsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String filter}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -284,15 +284,15 @@ class AppsLocationsResourceApi {
|
| if (appsId == null) {
|
| throw new core.ArgumentError("Parameter appsId is required.");
|
| }
|
| - if (filter != null) {
|
| - _queryParams["filter"] = [filter];
|
| - }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| if (pageSize != null) {
|
| _queryParams["pageSize"] = ["${pageSize}"];
|
| }
|
| + if (filter != null) {
|
| + _queryParams["filter"] = [filter];
|
| + }
|
|
|
| _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/locations';
|
|
|
| @@ -364,19 +364,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.
|
| - *
|
| - * [filter] - The standard list filter.
|
| + * [appsId] - Part of `name`. The name of the operation's parent resource.
|
| *
|
| * [pageToken] - The standard list page token.
|
| *
|
| * [pageSize] - The standard list page size.
|
| *
|
| + * [filter] - The standard list filter.
|
| + *
|
| * Completes with a [ListOperationsResponse].
|
| *
|
| * Completes with a [commons.ApiRequestError] if the API endpoint returned an
|
| @@ -385,7 +390,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 filter, core.String pageToken, core.int pageSize}) {
|
| + async.Future<ListOperationsResponse> list(core.String appsId, {core.String pageToken, core.int pageSize, core.String filter}) {
|
| var _url = null;
|
| var _queryParams = new core.Map();
|
| var _uploadMedia = null;
|
| @@ -396,15 +401,15 @@ class AppsOperationsResourceApi {
|
| if (appsId == null) {
|
| throw new core.ArgumentError("Parameter appsId is required.");
|
| }
|
| - if (filter != null) {
|
| - _queryParams["filter"] = [filter];
|
| - }
|
| if (pageToken != null) {
|
| _queryParams["pageToken"] = [pageToken];
|
| }
|
| if (pageSize != null) {
|
| _queryParams["pageSize"] = ["${pageSize}"];
|
| }
|
| + if (filter != null) {
|
| + _queryParams["filter"] = [filter];
|
| + }
|
|
|
| _url = 'v1beta5/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations';
|
|
|
| @@ -1275,8 +1280,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;
|
| }
|
| @@ -1309,8 +1314,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;
|
| }
|
| @@ -1408,8 +1413,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;
|
| }
|
| @@ -1537,8 +1542,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;
|
| }
|
| @@ -1605,8 +1610,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;
|
| }
|
| @@ -1638,8 +1643,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;
|
| }
|
| @@ -1668,8 +1673,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;
|
| }
|
| @@ -1700,8 +1705,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;
|
| }
|
| @@ -1736,20 +1741,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();
|
| @@ -1786,8 +1791,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;
|
| }
|
| @@ -1834,8 +1839,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;
|
| }
|
| @@ -1878,8 +1883,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;
|
| }
|
| @@ -1925,8 +1930,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;
|
| }
|
| @@ -1999,8 +2004,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;
|
| }
|
| @@ -2062,8 +2067,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;
|
| }
|
| @@ -2201,8 +2206,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;
|
| }
|
| @@ -2273,8 +2278,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;
|
| }
|
| @@ -2303,8 +2308,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();
|
| }
|
| @@ -2333,8 +2338,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();
|
| }
|
| @@ -2363,8 +2368,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;
|
| }
|
| @@ -2393,8 +2398,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;
|
| }
|
| @@ -2423,8 +2428,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;
|
| }
|
| @@ -2475,8 +2480,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;
|
| }
|
| @@ -2517,8 +2522,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;
|
| }
|
| @@ -2550,8 +2555,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;
|
| }
|
| @@ -2608,8 +2613,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;
|
| }
|
| @@ -2654,8 +2659,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;
|
| }
|
| @@ -2735,8 +2740,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;
|
| }
|
| @@ -2803,8 +2808,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;
|
| }
|
| @@ -2866,8 +2871,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;
|
| }
|
| @@ -2939,8 +2944,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;
|
| }
|
| @@ -3018,8 +3102,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;
|
| }
|
| @@ -3084,8 +3168,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;
|
| }
|
| @@ -3123,8 +3207,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;
|
| }
|
| @@ -3163,8 +3247,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;
|
| }
|
| @@ -3194,8 +3278,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;
|
| }
|
| @@ -3242,8 +3326,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;
|
| }
|
| @@ -3285,8 +3369,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;
|
| }
|
| @@ -3365,8 +3449,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;
|
| }
|
| @@ -3405,7 +3489,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
|
| @@ -3418,7 +3502,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.
|
| @@ -3460,8 +3544,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;
|
| }
|
| @@ -3515,8 +3599,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;
|
| }
|
| @@ -3560,8 +3644,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;
|
| }
|
| @@ -3679,8 +3763,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();
|
| }
|
| @@ -3836,6 +3920,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
|
| @@ -3932,6 +4022,9 @@ class Version {
|
| if (_json.containsKey("runtime")) {
|
| runtime = _json["runtime"];
|
| }
|
| + if (_json.containsKey("runtimeApiVersion")) {
|
| + runtimeApiVersion = _json["runtimeApiVersion"];
|
| + }
|
| if (_json.containsKey("servingStatus")) {
|
| servingStatus = _json["servingStatus"];
|
| }
|
| @@ -3943,8 +4036,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();
|
| }
|
| @@ -4020,6 +4113,9 @@ class Version {
|
| if (runtime != null) {
|
| _json["runtime"] = runtime;
|
| }
|
| + if (runtimeApiVersion != null) {
|
| + _json["runtimeApiVersion"] = runtimeApiVersion;
|
| + }
|
| if (servingStatus != null) {
|
| _json["servingStatus"] = servingStatus;
|
| }
|
| @@ -4058,8 +4154,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;
|
| }
|
|
|