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

Unified Diff: generated/googleapis/lib/appengine/v1.dart

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « generated/googleapis/lib/androidenterprise/v1.dart ('k') | generated/googleapis/lib/books/v1.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: generated/googleapis/lib/appengine/v1.dart
diff --git a/generated/googleapis/lib/appengine/v1.dart b/generated/googleapis/lib/appengine/v1.dart
index 122e859e79aa3c83c710dacf571b4971933fb28b..e3cff483773bd3577274b94f098f86c61950ea2e 100644
--- a/generated/googleapis/lib/appengine/v1.dart
+++ b/generated/googleapis/lib/appengine/v1.dart
@@ -29,7 +29,6 @@ class AppengineApi {
final commons.ApiRequester _requester;
AppsResourceApi get apps => new AppsResourceApi(_requester);
- ExperimentalResourceApi get experimental => new ExperimentalResourceApi(_requester);
AppengineApi(http.Client client, {core.String rootUrl: "https://appengine.googleapis.com/", core.String servicePath: ""}) :
_requester = new commons.ApiRequester(client, rootUrl, servicePath, USER_AGENT);
@@ -49,9 +48,9 @@ class AppsResourceApi {
/**
* Creates an App Engine application for a Google Cloud Platform project. This
* requires a project that excludes an App Engine application. For details
- * about creating a project without an application, see the [Google Cloud
- * Resource Manager create project
- * topic](https://cloud.google.com/resource-manager/docs/creating-project).
+ * about creating a project without an application, see the Google Cloud
+ * Resource Manager create project topic
+ * (https://cloud.google.com/resource-manager/docs/creating-project).
*
* [request] - The metadata request object.
*
@@ -95,7 +94,7 @@ class AppsResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the Application resource to get.
- * Example: `apps/myapp`.
+ * Example: apps/myapp.
*
* Completes with a [Application].
*
@@ -130,14 +129,18 @@ class AppsResourceApi {
}
/**
- * Updates application fields.
+ * Updates the specified Application resource. You can update the following
+ * fields: auth_domain
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.auth_domain)
+ * default_cookie_expiration
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps#Application.FIELDS.default_cookie_expiration)
*
* [request] - The metadata request object.
*
* Request parameters:
*
- * [appsId] - Part of `name`. Name of the application to update. Example:
- * `apps/myapp`.
+ * [appsId] - Part of `name`. Name of the Application resource to update.
+ * Example: apps/myapp.
*
* [updateMask] - Standard field mask for the set of fields to be updated.
*
@@ -180,17 +183,17 @@ class AppsResourceApi {
}
/**
- * Recreates the required App Engine features for the application in your
- * project, for example a Cloud Storage bucket or App Engine service account.
- * Use this method if you receive an error message about a missing feature,
- * for example "*Error retrieving the App Engine service account*".
+ * Recreates the required App Engine features for the specified App Engine
+ * application, for example a Cloud Storage bucket or App Engine service
+ * account. Use this method if you receive an error message about a missing
+ * feature, for example, Error retrieving the App Engine service account.
*
* [request] - The metadata request object.
*
* Request parameters:
*
* [appsId] - Part of `name`. Name of the application to repair. Example:
- * `apps/myapp`
+ * apps/myapp
*
* Completes with a [Operation].
*
@@ -392,9 +395,9 @@ 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`.
+ * 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.
*
* Request parameters:
*
@@ -464,7 +467,7 @@ class AppsServicesResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource requested. Example:
- * `apps/myapp/services/default`.
+ * apps/myapp/services/default.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
@@ -509,7 +512,7 @@ class AppsServicesResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource requested. Example:
- * `apps/myapp/services/default`.
+ * apps/myapp/services/default.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
@@ -554,7 +557,7 @@ class AppsServicesResourceApi {
* Request parameters:
*
* [appsId] - Part of `parent`. Name of the parent Application resource.
- * Example: `apps/myapp`.
+ * Example: apps/myapp.
*
* [pageSize] - Maximum results to return per page.
*
@@ -606,25 +609,25 @@ class AppsServicesResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource to update. Example:
- * `apps/myapp/services/default`.
+ * apps/myapp/services/default.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
* [updateMask] - Standard field mask for the set of fields to be updated.
*
- * [migrateTraffic] - Set to `true` to gradually shift traffic from one
- * version to another single version. By default, traffic is shifted
- * immediately. For gradual traffic migration, the target version must be
- * located within instances that are configured for both [warmup
- * requests](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype)
- * and [automatic
- * scaling](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling).
- * You must specify the
- * [`shardBy`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby)
+ * [migrateTraffic] - Set to true to gradually shift traffic from one version
+ * to another single version. By default, traffic is shifted immediately. For
+ * gradual traffic migration, the target version must be located within
+ * instances that are configured for both warmup requests
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#inboundservicetype)
+ * and automatic scaling
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#automaticscaling).
+ * You must specify the shardBy
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services#shardby)
* field in the Service resource. Gradual traffic migration is not supported
- * in the App Engine flexible environment. For examples, see [Migrating and
- * Splitting
- * Traffic](https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
+ * in the App Engine flexible environment. For examples, see Migrating and
+ * Splitting Traffic
+ * (https://cloud.google.com/appengine/docs/admin-api/migrating-splitting-traffic).
*
* Completes with a [Operation].
*
@@ -689,7 +692,7 @@ class AppsServicesVersionsResourceApi {
* Request parameters:
*
* [appsId] - Part of `parent`. Name of the parent resource to create this
- * version under. Example: `apps/myapp/services/default`.
+ * version under. Example: apps/myapp/services/default.
*
* [servicesId] - Part of `parent`. See documentation of `appsId`.
*
@@ -737,7 +740,7 @@ class AppsServicesVersionsResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource requested. Example:
- * `apps/myapp/services/default/versions/v1`.
+ * apps/myapp/services/default/versions/v1.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
@@ -782,19 +785,19 @@ class AppsServicesVersionsResourceApi {
}
/**
- * Gets the specified Version resource. By default, only a `BASIC_VIEW` will
- * be returned. Specify the `FULL_VIEW` parameter to get the full resource.
+ * Gets the specified Version resource. By default, only a BASIC_VIEW will be
+ * returned. Specify the FULL_VIEW parameter to get the full resource.
*
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource requested. Example:
- * `apps/myapp/services/default/versions/v1`.
+ * apps/myapp/services/default/versions/v1.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
* [versionsId] - Part of `name`. See documentation of `appsId`.
*
- * [view] - Controls the set of fields returned in the `Get` response.
+ * [view] - Controls the set of fields returned in the Get response.
* Possible string values are:
* - "BASIC" : A BASIC.
* - "FULL" : A FULL.
@@ -846,11 +849,11 @@ class AppsServicesVersionsResourceApi {
* Request parameters:
*
* [appsId] - Part of `parent`. Name of the parent Service resource. Example:
- * `apps/myapp/services/default`.
+ * apps/myapp/services/default.
*
* [servicesId] - Part of `parent`. See documentation of `appsId`.
*
- * [view] - Controls the set of fields returned in the `List` response.
+ * [view] - Controls the set of fields returned in the List response.
* Possible string values are:
* - "BASIC" : A BASIC.
* - "FULL" : A FULL.
@@ -906,16 +909,17 @@ class AppsServicesVersionsResourceApi {
/**
* Updates the specified Version resource. You can specify the following
* fields depending on the App Engine environment and type of scaling that the
- * version resource uses: *
- * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status):
+ * version resource uses: serving_status
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status):
* For Version resources that use basic scaling, manual scaling, or run in the
- * App Engine flexible environment. *
- * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class):
- * For Version resources that run in the App Engine standard environment. *
- * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
+ * App Engine flexible environment. instance_class
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class):
+ * For Version resources that run in the App Engine standard environment.
+ * automatic_scaling.min_idle_instances
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
* For Version resources that use automatic scaling and run in the App Engine
- * standard environment. *
- * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
+ * standard environment. automatic_scaling.max_idle_instances
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling):
* For Version resources that use automatic scaling and run in the App Engine
* standard environment.
*
@@ -924,7 +928,7 @@ class AppsServicesVersionsResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource to update. Example:
- * `apps/myapp/services/default/versions/1`.
+ * apps/myapp/services/default/versions/1.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
@@ -990,7 +994,7 @@ class AppsServicesVersionsInstancesResourceApi {
* to connect to the virtual machine where the instance lives. While in "debug
* mode", the instance continues to serve live traffic. You should delete the
* instance when you are done debugging and then allow the system to take over
- * and determine if another instance should be started. Only applicable for
+ * and determine if another instance should be started.Only applicable for
* instances in App Engine flexible environment.
*
* [request] - The metadata request object.
@@ -998,7 +1002,7 @@ class AppsServicesVersionsInstancesResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource requested. Example:
- * `apps/myapp/services/default/versions/v1/instances/instance-1`.
+ * apps/myapp/services/default/versions/v1/instances/instance-1.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
@@ -1056,7 +1060,7 @@ class AppsServicesVersionsInstancesResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource requested. Example:
- * `apps/myapp/services/default/versions/v1/instances/instance-1`.
+ * apps/myapp/services/default/versions/v1/instances/instance-1.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
@@ -1111,7 +1115,7 @@ class AppsServicesVersionsInstancesResourceApi {
* Request parameters:
*
* [appsId] - Part of `name`. Name of the resource requested. Example:
- * `apps/myapp/services/default/versions/v1/instances/instance-1`.
+ * apps/myapp/services/default/versions/v1/instances/instance-1.
*
* [servicesId] - Part of `name`. See documentation of `appsId`.
*
@@ -1166,7 +1170,7 @@ class AppsServicesVersionsInstancesResourceApi {
* Request parameters:
*
* [appsId] - Part of `parent`. Name of the parent Version resource. Example:
- * `apps/myapp/services/default/versions/v1`.
+ * apps/myapp/services/default/versions/v1.
*
* [servicesId] - Part of `parent`. See documentation of `appsId`.
*
@@ -1223,148 +1227,16 @@ class AppsServicesVersionsInstancesResourceApi {
}
-class ExperimentalResourceApi {
- final commons.ApiRequester _requester;
-
- ExperimentalAppsResourceApi get apps => new ExperimentalAppsResourceApi(_requester);
-
- ExperimentalResourceApi(commons.ApiRequester client) :
- _requester = client;
-}
-
-
-class ExperimentalAppsResourceApi {
- final commons.ApiRequester _requester;
-
- ExperimentalAppsOperationsResourceApi get operations => new ExperimentalAppsOperationsResourceApi(_requester);
-
- ExperimentalAppsResourceApi(commons.ApiRequester client) :
- _requester = client;
-}
-
-
-class ExperimentalAppsOperationsResourceApi {
- final commons.ApiRequester _requester;
-
- ExperimentalAppsOperationsResourceApi(commons.ApiRequester client) :
- _requester = client;
-
- /**
- * Gets the latest state of a long-running operation. Clients can use this
- * method to poll the operation result at intervals as recommended by the API
- * service.
- *
- * Request parameters:
- *
- * [appsId] - Part of `name`. The name of the operation resource.
- *
- * [operationsId] - Part of `name`. See documentation of `appsId`.
- *
- * Completes with a [Operation].
- *
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an
- * error.
- *
- * If the used [http.Client] completes with an error when making a REST call,
- * this method will complete with the same error.
- */
- async.Future<Operation> get(core.String appsId, core.String operationsId) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (appsId == null) {
- throw new core.ArgumentError("Parameter appsId is required.");
- }
- if (operationsId == null) {
- throw new core.ArgumentError("Parameter operationsId is required.");
- }
-
- _url = 'experimental/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations/' + commons.Escaper.ecapeVariable('$operationsId');
-
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new Operation.fromJson(data));
- }
-
- /**
- * 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`.
- *
- * Request parameters:
- *
- * [appsId] - Part of `name`. The name of the operation collection.
- *
- * [filter] - The standard list filter.
- *
- * [pageSize] - The standard list page size.
- *
- * [pageToken] - The standard list page token.
- *
- * Completes with a [ListOperationsResponse].
- *
- * Completes with a [commons.ApiRequestError] if the API endpoint returned an
- * error.
- *
- * 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.int pageSize, core.String pageToken}) {
- var _url = null;
- var _queryParams = new core.Map();
- var _uploadMedia = null;
- var _uploadOptions = null;
- var _downloadOptions = commons.DownloadOptions.Metadata;
- var _body = null;
-
- if (appsId == null) {
- throw new core.ArgumentError("Parameter appsId is required.");
- }
- if (filter != null) {
- _queryParams["filter"] = [filter];
- }
- if (pageSize != null) {
- _queryParams["pageSize"] = ["${pageSize}"];
- }
- if (pageToken != null) {
- _queryParams["pageToken"] = [pageToken];
- }
-
- _url = 'experimental/apps/' + commons.Escaper.ecapeVariable('$appsId') + '/operations';
-
- var _response = _requester.request(_url,
- "GET",
- body: _body,
- queryParams: _queryParams,
- uploadOptions: _uploadOptions,
- uploadMedia: _uploadMedia,
- downloadOptions: _downloadOptions);
- return _response.then((data) => new ListOperationsResponse.fromJson(data));
- }
-
-}
-
-
/**
- * [Google Cloud
- * Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/)
- * configuration for API handlers.
+ * Google Cloud Endpoints
+ * (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for
+ * API handlers.
*/
class ApiConfigHandler {
/**
* Action to take when users access resources that require authentication.
- * Defaults to `redirect`.
+ * Defaults to redirect.
* Possible string values are:
* - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED.
* - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT.
@@ -1372,7 +1244,7 @@ class ApiConfigHandler {
*/
core.String authFailAction;
/**
- * Level of login required to access this resource. Defaults to `optional`.
+ * Level of login required to access this resource. Defaults to optional.
* Possible string values are:
* - "LOGIN_UNSPECIFIED" : A LOGIN_UNSPECIFIED.
* - "LOGIN_OPTIONAL" : A LOGIN_OPTIONAL.
@@ -1465,50 +1337,50 @@ class ApiEndpointHandler {
class Application {
/**
* Google Apps authentication domain that controls which users can access this
- * application. Defaults to open access for any Google Account.
+ * application.Defaults to open access for any Google Account.
*/
core.String authDomain;
/**
* Google Cloud Storage bucket that can be used for storing files associated
* with this application. This bucket is associated with the application and
- * can be used by the gcloud deployment commands. @OutputOnly
+ * can be used by the gcloud deployment commands.@OutputOnly
*/
core.String codeBucket;
/**
* Google Cloud Storage bucket that can be used by this application to store
- * content. @OutputOnly
+ * content.@OutputOnly
*/
core.String defaultBucket;
- /** Cookie expiration policy for this application. @OutputOnly */
+ /** Cookie expiration policy for this application. */
core.String defaultCookieExpiration;
/**
- * Hostname used to reach this application, as resolved by App Engine.
- * @OutputOnly
+ * Hostname used to reach this application, as resolved by App
+ * Engine.@OutputOnly
*/
core.String defaultHostname;
/**
* HTTP path dispatch rules for requests to the application that do not
- * explicitly target a service or version. Rules are order-dependent.
- * @OutputOnly
+ * explicitly target a service or version. Rules are
+ * order-dependent.@OutputOnly
*/
core.List<UrlDispatchRule> dispatchRules;
/**
* Identifier of the Application resource. This identifier is equivalent to
* the project ID of the Google Cloud Platform project where you want to
- * deploy your application. Example: `myapp`.
+ * deploy your application. Example: myapp.
*/
core.String id;
/**
* Location from which this application will be run. Application instances
* will run out of data centers in the chosen location, which is also where
- * all of the application's end user content is stored. Defaults to
- * `us-central`. Options are: `us-central` - Central US `europe-west` -
- * Western Europe `us-east1` - Eastern US
+ * all of the application's end user content is stored.Defaults to
+ * us-central.Options are:us-central - Central USeurope-west - Western
+ * Europeus-east1 - Eastern US
*/
core.String locationId;
/**
- * Full path to the Application resource in the API. Example: `apps/myapp`.
- * @OutputOnly
+ * Full path to the Application resource in the API. Example:
+ * apps/myapp.@OutputOnly
*/
core.String name;
@@ -1583,10 +1455,9 @@ class Application {
*/
class AutomaticScaling {
/**
- * Amount of time that the
- * [Autoscaler](https://cloud.google.com/compute/docs/autoscaler/) should wait
- * between changes to the number of virtual machines. Only applicable for VM
- * runtimes.
+ * Amount of time that the Autoscaler
+ * (https://cloud.google.com/compute/docs/autoscaler/) should wait between
+ * changes to the number of virtual machines. Only applicable for VM runtimes.
*/
core.String coolDownPeriod;
/** Target scaling by CPU usage. */
@@ -1595,7 +1466,7 @@ class AutomaticScaling {
DiskUtilization diskUtilization;
/**
* Number of concurrent requests an automatic scaling instance can accept
- * before the scheduler spawns a new instance. Defaults to a runtime-specific
+ * before the scheduler spawns a new instance.Defaults to a runtime-specific
* value.
*/
core.int maxConcurrentRequests;
@@ -1812,14 +1683,14 @@ class CpuUtilization {
}
}
-/** Request message for `Instances.DebugInstance`. */
+/** Request message for Instances.DebugInstance. */
class DebugInstanceRequest {
/**
- * Public SSH key to add to the instance. Example: `[USERNAME]:ssh-rsa
- * KEY_VALUE` or `[USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
- * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}` For more information,
- * see [Adding and Removing SSH
- * Keys](https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys)
+ * Public SSH key to add to the instance. Examples: [USERNAME]:ssh-rsa
+ * [KEY_VALUE] [USERNAME] [USERNAME]:ssh-rsa [KEY_VALUE] google-ssh
+ * {"userName":"[USERNAME]","expireOn":"[EXPIRE_TIME]"}For more information,
+ * see Adding and Removing SSH Keys
+ * (https://cloud.google.com/compute/docs/instances/adding-removing-ssh-keys).
*/
core.String sshKey;
@@ -1931,6 +1802,48 @@ class DiskUtilization {
}
}
+/**
+ * Cloud Endpoints (https://cloud.google.com/endpoints) configuration. The
+ * Endpoints API Service provides tooling for serving Open API and gRPC
+ * endpoints via an NGINX proxy.The fields here refer to the name and
+ * configuration id of a "service" resource in the Service Management API
+ * (https://cloud.google.com/service-management/overview).
+ */
+class EndpointsApiService {
+ /**
+ * Endpoints service configuration id as specified by the Service Management
+ * API. For example "2016-09-19r1"
+ */
+ core.String configId;
+ /**
+ * Endpoints service name which is the name of the "service" resource in the
+ * Service Management API. For example "myapi.endpoints.myproject.cloud.goog"
+ */
+ core.String name;
+
+ EndpointsApiService();
+
+ EndpointsApiService.fromJson(core.Map _json) {
+ if (_json.containsKey("configId")) {
+ configId = _json["configId"];
+ }
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (configId != null) {
+ _json["configId"] = configId;
+ }
+ if (name != null) {
+ _json["name"] = name;
+ }
+ return _json;
+ }
+}
+
/** Custom static error page to be served when an error occurs. */
class ErrorHandler {
/**
@@ -1943,7 +1856,7 @@ class ErrorHandler {
* - "ERROR_CODE_TIMEOUT" : A ERROR_CODE_TIMEOUT.
*/
core.String errorCode;
- /** MIME type of file. Defaults to `text/html`. */
+ /** MIME type of file. Defaults to text/html. */
core.String mimeType;
/** Static file content to be served for this error. */
core.String staticFile;
@@ -1983,14 +1896,14 @@ class ErrorHandler {
*/
class FileInfo {
/**
- * The MIME type of the file. Defaults to the value from Google Cloud Storage.
+ * The MIME type of the file.Defaults to the value from Google Cloud Storage.
*/
core.String mimeType;
/** The SHA1 hash of the file, in hex. */
core.String sha1Sum;
/**
* URL source to use to fetch this file. Must be a URL to a resource in Google
- * Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'.
+ * Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
*/
core.String sourceUrl;
@@ -2114,66 +2027,66 @@ class HealthCheck {
* automatically scale an application.
*/
class Instance {
- /** App Engine release this instance is running on. @OutputOnly */
+ /** App Engine release this instance is running on.@OutputOnly */
core.String appEngineRelease;
/**
- * Availability of the instance. @OutputOnly
+ * Availability of the instance.@OutputOnly
* Possible string values are:
* - "UNSPECIFIED" : A UNSPECIFIED.
* - "RESIDENT" : A RESIDENT.
* - "DYNAMIC" : A DYNAMIC.
*/
core.String availability;
- /** Average latency (ms) over the last minute. @OutputOnly */
+ /** Average latency (ms) over the last minute.@OutputOnly */
core.int averageLatency;
- /** Number of errors since this instance was started. @OutputOnly */
+ /** Number of errors since this instance was started.@OutputOnly */
core.int errors;
/**
- * Relative name of the instance within the version. Example: `instance-1`.
- * @OutputOnly
+ * Relative name of the instance within the version. Example:
+ * instance-1.@OutputOnly
*/
core.String id;
- /** Total memory in use (bytes). @OutputOnly */
+ /** Total memory in use (bytes).@OutputOnly */
core.String memoryUsage;
/**
* Full path to the Instance resource in the API. Example:
- * `apps/myapp/services/default/versions/v1/instances/instance-1`. @OutputOnly
+ * apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly
*/
core.String name;
- /** Average queries per second (QPS) over the last minute. @OutputOnly */
+ /** Average queries per second (QPS) over the last minute.@OutputOnly */
core.double qps;
- /** Number of requests since this instance was started. @OutputOnly */
+ /** Number of requests since this instance was started.@OutputOnly */
core.int requests;
- /** Time that this instance was started. @OutputOnly */
+ /** Time that this instance was started.@OutputOnly */
core.String startTime;
/**
* Whether this instance is in debug mode. Only applicable for instances in
- * App Engine flexible environment. @OutputOnly
+ * App Engine flexible environment.@OutputOnly
*/
core.bool vmDebugEnabled;
/**
* Virtual machine ID of this instance. Only applicable for instances in App
- * Engine flexible environment. @OutputOnly
+ * Engine flexible environment.@OutputOnly
*/
core.String vmId;
/**
* The IP address of this instance. Only applicable for instances in App
- * Engine flexible environment. @OutputOnly
+ * Engine flexible environment.@OutputOnly
*/
core.String vmIp;
/**
* Name of the virtual machine where this instance lives. Only applicable for
- * instances in App Engine flexible environment. @OutputOnly
+ * instances in App Engine flexible environment.@OutputOnly
*/
core.String vmName;
/**
* Status of the virtual machine where this instance lives. Only applicable
- * for instances in App Engine flexible environment. @OutputOnly
+ * for instances in App Engine flexible environment.@OutputOnly
*/
core.String vmStatus;
/**
* Zone where the virtual machine is located. Only applicable for instances in
- * App Engine flexible environment. @OutputOnly
+ * App Engine flexible environment.@OutputOnly
*/
core.String vmZoneName;
@@ -2314,7 +2227,7 @@ class Library {
}
}
-/** Response message for `Instances.ListInstances`. */
+/** Response message for Instances.ListInstances. */
class ListInstancesResponse {
/** The instances belonging to the requested version. */
core.List<Instance> instances;
@@ -2404,7 +2317,7 @@ class ListOperationsResponse {
}
}
-/** Response message for `Services.ListServices`. */
+/** Response message for Services.ListServices. */
class ListServicesResponse {
/** Continuation token for fetching the next page of results. */
core.String nextPageToken;
@@ -2434,7 +2347,7 @@ class ListServicesResponse {
}
}
-/** Response message for `Versions.ListVersions`. */
+/** Response message for Versions.ListVersions. */
class ListVersionsResponse {
/** Continuation token for fetching the next page of results. */
core.String nextPageToken;
@@ -2471,7 +2384,7 @@ class Location {
* {"cloud.googleapis.com/region": "us-east1"}
*/
core.Map<core.String, core.String> labels;
- /** The canonical id for this location. For example: `"us-east1"`. */
+ /** The canonical id for this location. For example: "us-east1". */
core.String locationId;
/**
* Service-specific metadata. For example the available capacity at the given
@@ -2483,7 +2396,7 @@ class Location {
core.Map<core.String, core.Object> metadata;
/**
* Resource name for the location, which may vary between implementations. For
- * example: `"projects/example-project/locations/us-east1"`
+ * example: "projects/example-project/locations/us-east1"
*/
core.String name;
@@ -2525,13 +2438,13 @@ class Location {
/** Metadata for the given google.cloud.location.Location. */
class LocationMetadata {
/**
- * App Engine Flexible Environment is available in the given location.
- * @OutputOnly
+ * App Engine Flexible Environment is available in the given
+ * location.@OutputOnly
*/
core.bool flexibleEnvironmentAvailable;
/**
- * App Engine Standard Environment is available in the given location.
- * @OutputOnly
+ * App Engine Standard Environment is available in the given
+ * location.@OutputOnly
*/
core.bool standardEnvironmentAvailable;
@@ -2565,9 +2478,9 @@ class LocationMetadata {
class ManualScaling {
/**
* Number of instances to assign to the service at the start. This number can
- * later be altered by using the [Modules
- * API](https://cloud.google.com/appengine/docs/python/modules/functions)
- * `set_num_instances()` function.
+ * later be altered by using the Modules API
+ * (https://cloud.google.com/appengine/docs/python/modules/functions)
+ * set_num_instances() function.
*/
core.int instances;
@@ -2599,9 +2512,25 @@ class Network {
core.String instanceTag;
/**
* Google Cloud Platform network where the virtual machines are created.
- * Specify the short name, not the resource path. Defaults to `default`.
+ * Specify the short name, not the resource path.Defaults to default.
*/
core.String name;
+ /**
+ * Google Cloud Platform sub-network where the virtual machines are created.
+ * Specify the short name, not the resource path.If a subnetwork name is
+ * specified, a network name will also be required unless it is for the
+ * default network. If the network the VM instance is being created in is a
+ * Legacy network, then the IP address is allocated from the IPv4Range. If the
+ * network the VM instance is being created in is an auto Subnet Mode Network,
+ * then only network name should be specified (not the subnetwork_name) and
+ * the IP address is created from the IPCidrRange of the subnetwork that
+ * exists in that zone for that network. If the network the VM instance is
+ * being created in is a custom Subnet Mode Network, then the subnetwork_name
+ * must be specified and the IP address is created from the IPCidrRange of the
+ * subnetwork.If specified, the subnetwork must exist in the same region as
+ * the Flex app.
+ */
+ core.String subnetworkName;
Network();
@@ -2615,6 +2544,9 @@ class Network {
if (_json.containsKey("name")) {
name = _json["name"];
}
+ if (_json.containsKey("subnetworkName")) {
+ subnetworkName = _json["subnetworkName"];
+ }
}
core.Map toJson() {
@@ -2628,6 +2560,9 @@ class Network {
if (name != null) {
_json["name"] = name;
}
+ if (subnetworkName != null) {
+ _json["subnetworkName"] = subnetworkName;
+ }
return _json;
}
}
@@ -2684,8 +2619,8 @@ class NetworkUtilization {
*/
class Operation {
/**
- * If the value is `false`, it means the operation is still in progress. If
- * true, the operation is completed, and either `error` or `response` is
+ * If the value is false, it means the operation is still in progress. If
+ * true, the operation is completed, and either error or response is
* available.
*/
core.bool done;
@@ -2703,18 +2638,18 @@ class Operation {
core.Map<core.String, core.Object> metadata;
/**
* The server-assigned name, which is only unique within the same service that
- * originally returns it. If you use the default HTTP mapping, the `name`
- * should have the format of `operations/some/unique/name`.
+ * originally returns it. If you use the default HTTP mapping, the name should
+ * have the format of operations/some/unique/name.
*/
core.String name;
/**
* The normal response of the operation in case of success. If the original
- * method returns no data on success, such as `Delete`, the response is
- * `google.protobuf.Empty`. If the original method is standard
- * `Get`/`Create`/`Update`, the response should be the resource. For other
- * methods, the response should have the type `XxxResponse`, where `Xxx` is
- * the original method name. For example, if the original method name is
- * `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
+ * method returns no data on success, such as Delete, the response is
+ * google.protobuf.Empty. If the original method is standard
+ * Get/Create/Update, the response should be the resource. For other methods,
+ * the response should have the type XxxResponse, where Xxx is the original
+ * method name. For example, if the original method name is TakeSnapshot(),
+ * the inferred response type is TakeSnapshotResponse.
*
* The values for Object must be JSON objects. It can consist of `num`,
* `String`, `bool` and `null` as well as `Map` and `List` values.
@@ -2764,26 +2699,26 @@ class Operation {
/** Metadata for the given google.longrunning.Operation. */
class OperationMetadata {
- /** Timestamp that this operation completed. @OutputOnly */
+ /** Timestamp that this operation completed.@OutputOnly */
core.String endTime;
- /** Timestamp that this operation was created. @OutputOnly */
+ /** Timestamp that this operation was created.@OutputOnly */
core.String insertTime;
/**
* API method that initiated this operation. Example:
- * `google.appengine.v1beta4.Version.CreateVersion`. @OutputOnly
+ * google.appengine.v1beta4.Version.CreateVersion.@OutputOnly
*/
core.String method;
/**
* Type of this operation. Deprecated, use method field instead. Example:
- * "create_version". @OutputOnly
+ * "create_version".@OutputOnly
*/
core.String operationType;
/**
* Name of the resource that this operation is acting on. Example:
- * `apps/myapp/modules/default`. @OutputOnly
+ * apps/myapp/modules/default.@OutputOnly
*/
core.String target;
- /** User who requested this operation. @OutputOnly */
+ /** User who requested this operation.@OutputOnly */
core.String user;
OperationMetadata();
@@ -2835,22 +2770,21 @@ class OperationMetadata {
/** Metadata for the given google.longrunning.Operation. */
class OperationMetadataExperimental {
- /** Time that this operation completed. @OutputOnly */
+ /** Time that this operation completed.@OutputOnly */
core.String endTime;
- /** Time that this operation was created. @OutputOnly */
+ /** Time that this operation was created.@OutputOnly */
core.String insertTime;
/**
* API method that initiated this operation. Example:
- * `google.appengine.experimental.CustomDomains.CreateCustomDomain`.
- * @OutputOnly
+ * google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly
*/
core.String method;
/**
* Name of the resource that this operation is acting on. Example:
- * `apps/myapp/customDomains/example.com`. @OutputOnly
+ * apps/myapp/customDomains/example.com.@OutputOnly
*/
core.String target;
- /** User who requested this operation. @OutputOnly */
+ /** User who requested this operation.@OutputOnly */
core.String user;
OperationMetadataExperimental();
@@ -2896,22 +2830,29 @@ class OperationMetadataExperimental {
/** Metadata for the given google.longrunning.Operation. */
class OperationMetadataV1 {
- /** Time that this operation completed. @OutputOnly */
+ /** Time that this operation completed.@OutputOnly */
core.String endTime;
- /** Time that this operation was created. @OutputOnly */
+ /**
+ * 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.v1.Versions.CreateVersion`. @OutputOnly
+ * google.appengine.v1.Versions.CreateVersion.@OutputOnly
*/
core.String method;
/**
* Name of the resource that this operation is acting on. Example:
- * `apps/myapp/services/default`. @OutputOnly
+ * apps/myapp/services/default.@OutputOnly
*/
core.String target;
- /** User who requested this operation. @OutputOnly */
+ /** User who requested this operation.@OutputOnly */
core.String user;
+ /** Durable messages that persist on every operation poll. @OutputOnly */
+ core.List<core.String> warning;
OperationMetadataV1();
@@ -2919,6 +2860,9 @@ class OperationMetadataV1 {
if (_json.containsKey("endTime")) {
endTime = _json["endTime"];
}
+ if (_json.containsKey("ephemeralMessage")) {
+ ephemeralMessage = _json["ephemeralMessage"];
+ }
if (_json.containsKey("insertTime")) {
insertTime = _json["insertTime"];
}
@@ -2931,6 +2875,9 @@ class OperationMetadataV1 {
if (_json.containsKey("user")) {
user = _json["user"];
}
+ if (_json.containsKey("warning")) {
+ warning = _json["warning"];
+ }
}
core.Map toJson() {
@@ -2938,6 +2885,9 @@ class OperationMetadataV1 {
if (endTime != null) {
_json["endTime"] = endTime;
}
+ if (ephemeralMessage != null) {
+ _json["ephemeralMessage"] = ephemeralMessage;
+ }
if (insertTime != null) {
_json["insertTime"] = insertTime;
}
@@ -2950,27 +2900,30 @@ class OperationMetadataV1 {
if (user != null) {
_json["user"] = user;
}
+ if (warning != null) {
+ _json["warning"] = warning;
+ }
return _json;
}
}
/** Metadata for the given google.longrunning.Operation. */
class OperationMetadataV1Beta5 {
- /** Timestamp that this operation completed. @OutputOnly */
+ /** Timestamp that this operation completed.@OutputOnly */
core.String endTime;
- /** Timestamp that this operation was created. @OutputOnly */
+ /** Timestamp that this operation was created.@OutputOnly */
core.String insertTime;
/**
* API method name that initiated this operation. Example:
- * `google.appengine.v1beta5.Version.CreateVersion`. @OutputOnly
+ * google.appengine.v1beta5.Version.CreateVersion.@OutputOnly
*/
core.String method;
/**
* Name of the resource that this operation is acting on. Example:
- * `apps/myapp/services/default`. @OutputOnly
+ * apps/myapp/services/default.@OutputOnly
*/
core.String target;
- /** User who requested this operation. @OutputOnly */
+ /** User who requested this operation.@OutputOnly */
core.String user;
OperationMetadataV1Beta5();
@@ -3066,6 +3019,8 @@ class Resources {
core.double diskGb;
/** Memory (GB) needed. */
core.double memoryGb;
+ /** User specified volumes. */
+ core.List<Volume> volumes;
Resources();
@@ -3079,6 +3034,9 @@ class Resources {
if (_json.containsKey("memoryGb")) {
memoryGb = _json["memoryGb"];
}
+ if (_json.containsKey("volumes")) {
+ volumes = _json["volumes"].map((value) => new Volume.fromJson(value)).toList();
+ }
}
core.Map toJson() {
@@ -3092,6 +3050,9 @@ class Resources {
if (memoryGb != null) {
_json["memoryGb"] = memoryGb;
}
+ if (volumes != null) {
+ _json["volumes"] = volumes.map((value) => (value).toJson()).toList();
+ }
return _json;
}
}
@@ -3128,13 +3089,13 @@ class ScriptHandler {
*/
class Service {
/**
- * Relative name of the service within the application. Example: `default`.
- * @OutputOnly
+ * Relative name of the service within the application. Example:
+ * default.@OutputOnly
*/
core.String id;
/**
* Full path to the Service resource in the API. Example:
- * `apps/myapp/services/default`. @OutputOnly
+ * apps/myapp/services/default.@OutputOnly
*/
core.String name;
/**
@@ -3195,7 +3156,7 @@ class StaticFilesHandler {
/** HTTP headers to use for all responses from these URLs. */
core.Map<core.String, core.String> httpHeaders;
/**
- * MIME type used to serve all files served by this handler. Defaults to
+ * MIME type used to serve all files served by this handler.Defaults to
* file-specific MIME types, which are derived from each file's filename
* extension.
*/
@@ -3271,39 +3232,38 @@ class StaticFilesHandler {
}
/**
- * The `Status` type defines a logical error model that is suitable for
- * different programming environments, including REST APIs and RPC APIs. It is
- * used by [gRPC](https://github.com/grpc). The error model is designed to be: -
- * Simple to use and understand for most users - Flexible enough to meet
- * unexpected needs # Overview The `Status` message contains three pieces of
- * data: error code, error message, and error details. The error code should be
- * an enum value of google.rpc.Code, but it may accept additional error codes if
- * needed. The error message should be a developer-facing English message that
- * helps developers *understand* and *resolve* the error. If a 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 error
- * conditions. # Language mapping The `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 different wire protocols, it can be mapped differently. For example, it
- * will likely be mapped to some exceptions in Java, but more likely mapped to
- * some error codes in C. # Other uses The error model and the `Status` message
- * can be used in a variety of environments, either with or without APIs, to
- * provide a consistent developer experience across different environments.
- * Example uses of this error model include: - 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. - 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. - Asynchronous
- * operations. If an API call embeds asynchronous operation results in its
- * response, the status of those operations should be represented directly using
- * the `Status` message. - Logging. If some API errors are stored in logs, the
- * message `Status` could be used directly after any stripping needed for
- * security/privacy reasons.
+ * The Status type defines a logical error model that is suitable for different
+ * programming environments, including REST APIs and RPC APIs. It is used by
+ * gRPC (https://github.com/grpc). The error model is designed to be: Simple to
+ * use and understand for most users Flexible enough to meet unexpected
+ * needsOverviewThe Status message contains three pieces of data: error code,
+ * error message, and error details. The error code should be an enum value of
+ * google.rpc.Code, but it may accept additional error codes if needed. The
+ * error message should be a developer-facing English message that helps
+ * developers understand and resolve the error. If a 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 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 different
+ * wire protocols, it can be mapped differently. For example, it will likely be
+ * mapped to some exceptions in Java, but more likely mapped to some error codes
+ * in C.Other usesThe error model and the Status message can be used in a
+ * variety of environments, either with or without APIs, to provide a consistent
+ * developer experience across different environments.Example uses of this error
+ * model include: 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. 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.
+ * Asynchronous operations. If an API call embeds asynchronous operation results
+ * in its response, the status of those operations should be represented
+ * directly using the Status message. Logging. If some API errors are stored in
+ * logs, the message Status could be used directly after any stripping needed
+ * for security/privacy reasons.
*/
class Status {
/** The status code, which should be an enum value of google.rpc.Code. */
@@ -3404,19 +3364,19 @@ class TrafficSplit {
/** Rules to match an HTTP request and dispatch that request to a service. */
class UrlDispatchRule {
/**
- * Domain name to match against. The wildcard "`*`" is supported if specified
- * before a period: "`*.`". Defaults to matching all domains: "`*`".
+ * Domain name to match against. The wildcard "*" is supported if specified
+ * before a period: "*.".Defaults to matching all domains: "*".
*/
core.String domain;
/**
- * Pathname within the host. Must start with a "`/`". A single "`*`" can be
+ * Pathname within the host. Must start with a "/". A single "*" can be
* included at the end of the path. The sum of the lengths of the domain and
* path may not exceed 100 characters.
*/
core.String path;
/**
* Resource ID of a service in this application that should serve the matched
- * request. The service must already exist. Example: `default`.
+ * request. The service must already exist. Example: default.
*/
core.String service;
@@ -3459,7 +3419,7 @@ class UrlMap {
ApiEndpointHandler apiEndpoint;
/**
* Action to take when users access resources that require authentication.
- * Defaults to `redirect`.
+ * Defaults to redirect.
* Possible string values are:
* - "AUTH_FAIL_ACTION_UNSPECIFIED" : A AUTH_FAIL_ACTION_UNSPECIFIED.
* - "AUTH_FAIL_ACTION_REDIRECT" : A AUTH_FAIL_ACTION_REDIRECT.
@@ -3476,8 +3436,8 @@ class UrlMap {
*/
core.String login;
/**
- * `30x` code to use when performing redirects for the `secure` field.
- * Defaults to `302`.
+ * 30x code to use when performing redirects for the secure field. Defaults to
+ * 302.
* Possible string values are:
* - "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED" : A
* REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED.
@@ -3574,9 +3534,9 @@ class UrlMap {
*/
class Version {
/**
- * Serving configuration for [Google Cloud
- * Endpoints](https://cloud.google.com/appengine/docs/python/endpoints/). Only
- * returned in `GET` requests if `view=FULL` is set.
+ * Serving configuration for Google Cloud Endpoints
+ * (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned
+ * in GET requests if view=FULL is set.
*/
ApiConfigHandler apiConfig;
/**
@@ -3596,59 +3556,65 @@ class Version {
* features.
*/
core.Map<core.String, core.String> betaSettings;
- /** Time that this version was created. @OutputOnly */
+ /** Time that this version was created.@OutputOnly */
core.String createTime;
- /** Email address of the user who created this version. @OutputOnly */
+ /** Email address of the user who created this version.@OutputOnly */
core.String createdBy;
/**
* Duration that static files should be cached by web proxies and browsers.
- * Only applicable if the corresponding
- * [StaticFilesHandler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler)
- * does not specify its own expiration time. Only returned in `GET` requests
- * if `view=FULL` is set.
+ * Only applicable if the corresponding StaticFilesHandler
+ * (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler)
+ * does not specify its own expiration time.Only returned in GET requests if
+ * view=FULL is set.
*/
core.String defaultExpiration;
/**
- * Code and application artifacts that make up this version. Only returned in
- * `GET` requests if `view=FULL` is set.
+ * Code and application artifacts that make up this version.Only returned in
+ * GET requests if view=FULL is set.
*/
Deployment deployment;
/**
* Total size in bytes of all the files that are included in this version and
- * curerntly hosted on the App Engine disk. @OutputOnly
+ * curerntly hosted on the App Engine disk.@OutputOnly
*/
core.String diskUsageBytes;
/**
- * App Engine execution environment for this version. Defaults to `standard`.
+ * Cloud Endpoints configuration.If endpoints_api_service is set, the Cloud
+ * Endpoints Extensible Service Proxy will be provided to serve the API
+ * implemented by the app.
+ */
+ EndpointsApiService endpointsApiService;
+ /**
+ * App Engine execution environment for this version.Defaults to standard.
*/
core.String env;
/**
- * Environment variables available to the application. Only returned in `GET`
- * requests if `view=FULL` is set.
+ * Environment variables available to the application.Only returned in GET
+ * requests if view=FULL is set.
*/
core.Map<core.String, core.String> envVariables;
/**
- * Custom static error pages. Limited to 10KB per page. Only returned in `GET`
- * requests if `view=FULL` is set.
+ * Custom static error pages. Limited to 10KB per page.Only returned in GET
+ * requests if view=FULL is set.
*/
core.List<ErrorHandler> errorHandlers;
/**
* An ordered list of URL-matching patterns that should be applied to incoming
* requests. The first matching URL handles the request and other request
- * handlers are not attempted. Only returned in `GET` requests if `view=FULL`
- * is set.
+ * handlers are not attempted.Only returned in GET requests if view=FULL is
+ * set.
*/
core.List<UrlMap> handlers;
/**
* Configures health checking for VM instances. Unhealthy instances are
- * stopped and replaced with new instances. Only applicable for VM runtimes.
- * Only returned in `GET` requests if `view=FULL` is set.
+ * stopped and replaced with new instances. Only applicable for VM
+ * runtimes.Only returned in GET requests if view=FULL is set.
*/
HealthCheck healthCheck;
/**
- * Relative name of the version within the service. Example: `v1`. Version
- * names can contain only lowercase letters, numbers, or hyphens. Reserved
- * names: "default", "latest", and any name with the prefix "ah-".
+ * Relative name of the version within the service. Example: v1. Version names
+ * can contain only lowercase letters, numbers, or hyphens. Reserved names:
+ * "default", "latest", and any name with the prefix "ah-".
*/
core.String id;
/**
@@ -3657,15 +3623,15 @@ class Version {
*/
core.List<core.String> inboundServices;
/**
- * Instance class that is used to run this version. Valid values are: *
- * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualScaling or
- * BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for
- * AutomaticScaling and `B1` for ManualScaling or BasicScaling.
+ * Instance class that is used to run this version. Valid values are:
+ * AutomaticScaling: F1, F2, F4, F4_1G ManualScaling or BasicScaling: B1, B2,
+ * B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling
+ * or BasicScaling.
*/
core.String instanceClass;
/**
* Configuration for third-party Python runtime libraries that are required by
- * the application. Only returned in `GET` requests if `view=FULL` is set.
+ * the application.Only returned in GET requests if view=FULL is set.
*/
core.List<Library> libraries;
/**
@@ -3675,25 +3641,25 @@ class Version {
ManualScaling manualScaling;
/**
* Full path to the Version resource in the API. Example:
- * `apps/myapp/services/default/versions/v1`. @OutputOnly
+ * apps/myapp/services/default/versions/v1.@OutputOnly
*/
core.String name;
/** Extra network settings. Only applicable for VM runtimes. */
Network network;
/**
* Files that match this pattern will not be built into this version. Only
- * applicable for Go runtimes. Only returned in `GET` requests if `view=FULL`
- * is set.
+ * applicable for Go runtimes.Only returned in GET requests if view=FULL is
+ * set.
*/
core.String nobuildFilesRegex;
/** Machine resources for this version. Only applicable for VM runtimes. */
Resources resources;
- /** Desired runtime. Example: `python27`. */
+ /** Desired runtime. Example: python27. */
core.String runtime;
/**
- * Current serving status of this version. Only the versions with a `SERVING`
- * status create instances and can be billed. `SERVING_STATUS_UNSPECIFIED` is
- * an invalid value. Defaults to `SERVING`.
+ * Current serving status of this version. Only the versions with a SERVING
+ * status create instances and can be billed.SERVING_STATUS_UNSPECIFIED is an
+ * invalid value. Defaults to SERVING.
* Possible string values are:
* - "SERVING_STATUS_UNSPECIFIED" : A SERVING_STATUS_UNSPECIFIED.
* - "SERVING" : A SERVING.
@@ -3704,7 +3670,7 @@ class Version {
core.bool threadsafe;
/**
* Serving URL for this version. Example:
- * "https://myversion-dot-myservice-dot-myapp.appspot.com" @OutputOnly
+ * "https://myversion-dot-myservice-dot-myapp.appspot.com"@OutputOnly
*/
core.String versionUrl;
/** Whether to deploy this version in a container on a virtual machine. */
@@ -3740,6 +3706,9 @@ class Version {
if (_json.containsKey("diskUsageBytes")) {
diskUsageBytes = _json["diskUsageBytes"];
}
+ if (_json.containsKey("endpointsApiService")) {
+ endpointsApiService = new EndpointsApiService.fromJson(_json["endpointsApiService"]);
+ }
if (_json.containsKey("env")) {
env = _json["env"];
}
@@ -3828,6 +3797,9 @@ class Version {
if (diskUsageBytes != null) {
_json["diskUsageBytes"] = diskUsageBytes;
}
+ if (endpointsApiService != null) {
+ _json["endpointsApiService"] = (endpointsApiService).toJson();
+ }
if (env != null) {
_json["env"] = env;
}
@@ -3889,6 +3861,46 @@ class Version {
}
}
+/**
+ * Volumes mounted within the app container. Only applicable for VM runtimes.
+ */
+class Volume {
+ /** Unique name for the volume. */
+ core.String name;
+ /** Volume size in gigabytes. */
+ core.double sizeGb;
+ /** Underlying volume type, e.g. 'tmpfs'. */
+ core.String volumeType;
+
+ Volume();
+
+ Volume.fromJson(core.Map _json) {
+ if (_json.containsKey("name")) {
+ name = _json["name"];
+ }
+ if (_json.containsKey("sizeGb")) {
+ sizeGb = _json["sizeGb"];
+ }
+ if (_json.containsKey("volumeType")) {
+ volumeType = _json["volumeType"];
+ }
+ }
+
+ core.Map toJson() {
+ var _json = new core.Map();
+ if (name != null) {
+ _json["name"] = name;
+ }
+ if (sizeGb != null) {
+ _json["sizeGb"] = sizeGb;
+ }
+ if (volumeType != null) {
+ _json["volumeType"] = volumeType;
+ }
+ return _json;
+ }
+}
+
/** The zip file information for a zip deployment. */
class ZipInfo {
/**
@@ -3899,7 +3911,7 @@ class ZipInfo {
core.int filesCount;
/**
* URL of the zip file to deploy from. Must be a URL to a resource in Google
- * Cloud Storage in the form 'http(s)://storage.googleapis.com/\/\'.
+ * Cloud Storage in the form 'http(s)://storage.googleapis.com//'.
*/
core.String sourceUrl;
« no previous file with comments | « generated/googleapis/lib/androidenterprise/v1.dart ('k') | generated/googleapis/lib/books/v1.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698