Index: discovery/googleapis/appengine__v1.json |
diff --git a/discovery/googleapis/appengine__v1.json b/discovery/googleapis/appengine__v1.json |
index b81329e4b0e174a4775fd8233010e55eacf9851f..698529f7dfddaf00a25b14c668d7509fda70fdfe 100644 |
--- a/discovery/googleapis/appengine__v1.json |
+++ b/discovery/googleapis/appengine__v1.json |
@@ -2,14 +2,14 @@ |
"auth": { |
"oauth2": { |
"scopes": { |
- "https://www.googleapis.com/auth/appengine.admin": { |
- "description": "View and manage your applications deployed on Google App Engine" |
- }, |
"https://www.googleapis.com/auth/cloud-platform.read-only": { |
"description": "View your data across Google Cloud Platform services" |
}, |
"https://www.googleapis.com/auth/cloud-platform": { |
"description": "View and manage your data across Google Cloud Platform services" |
+ }, |
+ "https://www.googleapis.com/auth/appengine.admin": { |
+ "description": "View and manage your applications deployed on Google App Engine" |
} |
} |
} |
@@ -30,16 +30,27 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "uploadType": { |
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "upload_protocol": { |
+ "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
+ "prettyPrint": { |
+ "default": "true", |
+ "description": "Returns response with indentations and line breaks.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
"fields": { |
"description": "Selector specifying which fields to include in a partial response.", |
"location": "query", |
"type": "string" |
}, |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"callback": { |
"description": "JSONP", |
"location": "query", |
@@ -74,13 +85,13 @@ |
"location": "query", |
"type": "string" |
}, |
- "access_token": { |
- "description": "OAuth access token.", |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
"location": "query", |
"type": "string" |
}, |
- "key": { |
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "access_token": { |
+ "description": "OAuth access token.", |
"location": "query", |
"type": "string" |
}, |
@@ -95,50 +106,45 @@ |
"location": "query", |
"type": "boolean" |
}, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
"oauth_token": { |
"description": "OAuth 2.0 token for the current user.", |
"location": "query", |
"type": "string" |
}, |
- "upload_protocol": { |
- "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
"location": "query", |
"type": "string" |
- }, |
- "prettyPrint": { |
- "default": "true", |
- "description": "Returns response with indentations and line breaks.", |
- "location": "query", |
- "type": "boolean" |
} |
}, |
"protocol": "rest", |
"resources": { |
"apps": { |
"methods": { |
- "repair": { |
- "description": "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.", |
- "httpMethod": "POST", |
- "id": "appengine.apps.repair", |
+ "patch": { |
+ "description": "Updates the specified Application resource. You can update the following fields:\nauth_domain - Google authentication domain for controlling user access to the application.\ndefault_cookie_expiration - Cookie expiration policy for the application.", |
+ "httpMethod": "PATCH", |
+ "id": "appengine.apps.patch", |
"parameterOrder": [ |
"appsId" |
], |
"parameters": { |
"appsId": { |
- "description": "Part of `name`. Name of the application to repair. Example: apps/myapp", |
+ "description": "Part of `name`. Name of the Application resource to update. Example: apps/myapp.", |
"location": "path", |
"required": true, |
"type": "string" |
+ }, |
+ "updateMask": { |
+ "description": "Standard field mask for the set of fields to be updated.", |
+ "format": "google-fieldmask", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}:repair", |
+ "path": "v1/apps/{appsId}", |
"request": { |
- "$ref": "RepairApplicationRequest" |
+ "$ref": "Application" |
}, |
"response": { |
"$ref": "Operation" |
@@ -172,28 +178,13 @@ |
"https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
}, |
- "patch": { |
- "description": "Updates the specified Application resource. You can update the following fields:\nauth_domain - Google authentication domain for controlling user access to the application.\ndefault_cookie_expiration - Cookie expiration policy for the application.", |
- "httpMethod": "PATCH", |
- "id": "appengine.apps.patch", |
- "parameterOrder": [ |
- "appsId" |
- ], |
- "parameters": { |
- "updateMask": { |
- "description": "Standard field mask for the set of fields to be updated.", |
- "format": "google-fieldmask", |
- "location": "query", |
- "type": "string" |
- }, |
- "appsId": { |
- "description": "Part of `name`. Name of the Application resource to update. Example: apps/myapp.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/apps/{appsId}", |
+ "create": { |
+ "description": "Creates an App Engine application for a Google Cloud Platform project. Required fields:\nid - The ID of the target Cloud Platform project.\nlocation - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/).", |
+ "httpMethod": "POST", |
+ "id": "appengine.apps.create", |
+ "parameterOrder": [], |
+ "parameters": {}, |
+ "path": "v1/apps", |
"request": { |
"$ref": "Application" |
}, |
@@ -204,15 +195,24 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "create": { |
- "description": "Creates an App Engine application for a Google Cloud Platform project. Required fields:\nid - The ID of the target Cloud Platform project.\nlocation - The region (https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.For more information about App Engine applications, see Managing Projects, Applications, and Billing (https://cloud.google.com/appengine/docs/python/console/).", |
+ "repair": { |
+ "description": "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.", |
"httpMethod": "POST", |
- "id": "appengine.apps.create", |
- "parameterOrder": [], |
- "parameters": {}, |
- "path": "v1/apps", |
+ "id": "appengine.apps.repair", |
+ "parameterOrder": [ |
+ "appsId" |
+ ], |
+ "parameters": { |
+ "appsId": { |
+ "description": "Part of `name`. Name of the application to repair. Example: apps/myapp", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/apps/{appsId}:repair", |
"request": { |
- "$ref": "Application" |
+ "$ref": "RepairApplicationRequest" |
}, |
"response": { |
"$ref": "Operation" |
@@ -225,6 +225,38 @@ |
"resources": { |
"operations": { |
"methods": { |
+ "get": { |
+ "description": "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.", |
+ "httpMethod": "GET", |
+ "id": "appengine.apps.operations.get", |
+ "parameterOrder": [ |
+ "appsId", |
+ "operationsId" |
+ ], |
+ "parameters": { |
+ "appsId": { |
+ "description": "Part of `name`. The name of the operation resource.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "operationsId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/apps/{appsId}/operations/{operationsId}", |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/appengine.admin", |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud-platform.read-only" |
+ ] |
+ }, |
"list": { |
"description": "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 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.", |
"httpMethod": "GET", |
@@ -244,16 +276,16 @@ |
"location": "query", |
"type": "string" |
}, |
+ "pageToken": { |
+ "description": "The standard list page token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"appsId": { |
"description": "Part of `name`. The name of the operation's parent resource.", |
"location": "path", |
"required": true, |
"type": "string" |
- }, |
- "pageToken": { |
- "description": "The standard list page token.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"path": "v1/apps/{appsId}/operations", |
@@ -265,43 +297,43 @@ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
- }, |
+ } |
+ } |
+ }, |
+ "locations": { |
+ "methods": { |
"get": { |
- "description": "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.", |
+ "description": "Get information about a location.", |
"httpMethod": "GET", |
- "id": "appengine.apps.operations.get", |
+ "id": "appengine.apps.locations.get", |
"parameterOrder": [ |
"appsId", |
- "operationsId" |
+ "locationsId" |
], |
"parameters": { |
- "appsId": { |
- "description": "Part of `name`. The name of the operation resource.", |
+ "locationsId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "operationsId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "appsId": { |
+ "description": "Part of `name`. Resource name for the location.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/operations/{operationsId}", |
+ "path": "v1/apps/{appsId}/locations/{locationsId}", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "Location" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/appengine.admin", |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
- } |
- } |
- }, |
- "locations": { |
- "methods": { |
+ }, |
"list": { |
"description": "Lists information about the supported locations for this service.", |
"httpMethod": "GET", |
@@ -315,17 +347,17 @@ |
"location": "query", |
"type": "string" |
}, |
+ "pageToken": { |
+ "description": "The standard list page token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"appsId": { |
"description": "Part of `name`. The resource that owns the locations collection, if applicable.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "pageToken": { |
- "description": "The standard list page token.", |
- "location": "query", |
- "type": "string" |
- }, |
"pageSize": { |
"description": "The standard list page size.", |
"format": "int32", |
@@ -342,77 +374,53 @@ |
"https://www.googleapis.com/auth/cloud-platform", |
"https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
- }, |
- "get": { |
- "description": "Get information about a location.", |
- "httpMethod": "GET", |
- "id": "appengine.apps.locations.get", |
+ } |
+ } |
+ }, |
+ "services": { |
+ "methods": { |
+ "patch": { |
+ "description": "Updates the configuration of the specified service.", |
+ "httpMethod": "PATCH", |
+ "id": "appengine.apps.services.patch", |
"parameterOrder": [ |
"appsId", |
- "locationsId" |
+ "servicesId" |
], |
"parameters": { |
- "appsId": { |
- "description": "Part of `name`. Resource name for the location.", |
- "location": "path", |
- "required": true, |
+ "migrateTraffic": { |
+ "description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions 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).", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "updateMask": { |
+ "description": "Standard field mask for the set of fields to be updated.", |
+ "format": "google-fieldmask", |
+ "location": "query", |
"type": "string" |
}, |
- "locationsId": { |
+ "servicesId": { |
"description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
- } |
- }, |
- "path": "v1/apps/{appsId}/locations/{locationsId}", |
- "response": { |
- "$ref": "Location" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/appengine.admin", |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud-platform.read-only" |
- ] |
- } |
- } |
- }, |
- "services": { |
- "methods": { |
- "list": { |
- "description": "Lists all the services in the application.", |
- "httpMethod": "GET", |
- "id": "appengine.apps.services.list", |
- "parameterOrder": [ |
- "appsId" |
- ], |
- "parameters": { |
+ }, |
"appsId": { |
- "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.", |
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.", |
"location": "path", |
"required": true, |
"type": "string" |
- }, |
- "pageToken": { |
- "description": "Continuation token for fetching the next page of results.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pageSize": { |
- "description": "Maximum results to return per page.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
} |
}, |
- "path": "v1/apps/{appsId}/services", |
+ "path": "v1/apps/{appsId}/services/{servicesId}", |
+ "request": { |
+ "$ref": "Service" |
+ }, |
"response": { |
- "$ref": "ListServicesResponse" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
- "https://www.googleapis.com/auth/appengine.admin", |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud-platform.read-only" |
+ "https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
"get": { |
@@ -447,48 +455,40 @@ |
"https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
}, |
- "patch": { |
- "description": "Updates the configuration of the specified service.", |
- "httpMethod": "PATCH", |
- "id": "appengine.apps.services.patch", |
+ "list": { |
+ "description": "Lists all the services in the application.", |
+ "httpMethod": "GET", |
+ "id": "appengine.apps.services.list", |
"parameterOrder": [ |
- "appsId", |
- "servicesId" |
+ "appsId" |
], |
"parameters": { |
- "updateMask": { |
- "description": "Standard field mask for the set of fields to be updated.", |
- "format": "google-fieldmask", |
+ "pageToken": { |
+ "description": "Continuation token for fetching the next page of results.", |
"location": "query", |
"type": "string" |
}, |
- "servicesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
"appsId": { |
- "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.", |
+ "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "migrateTraffic": { |
- "description": "Set to true to gradually shift traffic to one or more versions that you specify. By default, traffic is shifted immediately. For gradual traffic migration, the target versions 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).", |
+ "pageSize": { |
+ "description": "Maximum results to return per page.", |
+ "format": "int32", |
"location": "query", |
- "type": "boolean" |
+ "type": "integer" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}", |
- "request": { |
- "$ref": "Service" |
- }, |
+ "path": "v1/apps/{appsId}/services", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "ListServicesResponse" |
}, |
"scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
+ "https://www.googleapis.com/auth/appengine.admin", |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
}, |
"delete": { |
@@ -525,80 +525,56 @@ |
"resources": { |
"versions": { |
"methods": { |
- "list": { |
- "description": "Lists the versions of a service.", |
- "httpMethod": "GET", |
- "id": "appengine.apps.services.versions.list", |
+ "delete": { |
+ "description": "Deletes an existing Version resource.", |
+ "httpMethod": "DELETE", |
+ "id": "appengine.apps.services.versions.delete", |
"parameterOrder": [ |
"appsId", |
- "servicesId" |
+ "servicesId", |
+ "versionsId" |
], |
"parameters": { |
- "pageSize": { |
- "description": "Maximum results to return per page.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "view": { |
- "description": "Controls the set of fields returned in the List response.", |
- "enum": [ |
- "BASIC", |
- "FULL" |
- ], |
- "location": "query", |
- "type": "string" |
- }, |
"servicesId": { |
- "description": "Part of `parent`. See documentation of `appsId`.", |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"appsId": { |
- "description": "Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default.", |
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "pageToken": { |
- "description": "Continuation token for fetching the next page of results.", |
- "location": "query", |
+ "versionsId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
+ "location": "path", |
+ "required": true, |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}/versions", |
+ "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", |
"response": { |
- "$ref": "ListVersionsResponse" |
+ "$ref": "Operation" |
}, |
"scopes": [ |
- "https://www.googleapis.com/auth/appengine.admin", |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud-platform.read-only" |
+ "https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "get": { |
- "description": "Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.", |
- "httpMethod": "GET", |
- "id": "appengine.apps.services.versions.get", |
+ "patch": { |
+ "description": "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:\nserving_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.\ninstance_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.\nautomatic_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.\nautomatic_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.", |
+ "httpMethod": "PATCH", |
+ "id": "appengine.apps.services.versions.patch", |
"parameterOrder": [ |
"appsId", |
"servicesId", |
"versionsId" |
], |
"parameters": { |
- "versionsId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "view": { |
- "description": "Controls the set of fields returned in the Get response.", |
- "enum": [ |
- "BASIC", |
- "FULL" |
- ], |
+ "updateMask": { |
+ "description": "Standard field mask for the set of fields to be updated.", |
+ "format": "google-fieldmask", |
"location": "query", |
"type": "string" |
}, |
@@ -609,131 +585,155 @@ |
"type": "string" |
}, |
"appsId": { |
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "versionsId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", |
- "response": { |
+ "request": { |
"$ref": "Version" |
}, |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
"scopes": [ |
- "https://www.googleapis.com/auth/appengine.admin", |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud-platform.read-only" |
+ "https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "patch": { |
- "description": "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:\nserving_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.\ninstance_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.\nautomatic_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.\nautomatic_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.", |
- "httpMethod": "PATCH", |
- "id": "appengine.apps.services.versions.patch", |
+ "get": { |
+ "description": "Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.", |
+ "httpMethod": "GET", |
+ "id": "appengine.apps.services.versions.get", |
"parameterOrder": [ |
"appsId", |
"servicesId", |
"versionsId" |
], |
"parameters": { |
- "versionsId": { |
+ "servicesId": { |
"description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "updateMask": { |
- "description": "Standard field mask for the set of fields to be updated.", |
- "format": "google-fieldmask", |
- "location": "query", |
- "type": "string" |
- }, |
- "servicesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "appsId": { |
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "appsId": { |
- "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.", |
+ "view": { |
+ "description": "Controls the set of fields returned in the Get response.", |
+ "enum": [ |
+ "BASIC", |
+ "FULL" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "versionsId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", |
- "request": { |
- "$ref": "Version" |
- }, |
"response": { |
- "$ref": "Operation" |
+ "$ref": "Version" |
}, |
"scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
+ "https://www.googleapis.com/auth/appengine.admin", |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
}, |
- "create": { |
- "description": "Deploys code and resource files to a new version.", |
- "httpMethod": "POST", |
- "id": "appengine.apps.services.versions.create", |
+ "list": { |
+ "description": "Lists the versions of a service.", |
+ "httpMethod": "GET", |
+ "id": "appengine.apps.services.versions.list", |
"parameterOrder": [ |
"appsId", |
"servicesId" |
], |
"parameters": { |
+ "pageSize": { |
+ "description": "Maximum results to return per page.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
+ "view": { |
+ "description": "Controls the set of fields returned in the List response.", |
+ "enum": [ |
+ "BASIC", |
+ "FULL" |
+ ], |
+ "location": "query", |
+ "type": "string" |
+ }, |
"servicesId": { |
"description": "Part of `parent`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
+ "pageToken": { |
+ "description": "Continuation token for fetching the next page of results.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"appsId": { |
- "description": "Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default.", |
+ "description": "Part of `parent`. Name of the parent Service resource. Example: apps/myapp/services/default.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
"path": "v1/apps/{appsId}/services/{servicesId}/versions", |
- "request": { |
- "$ref": "Version" |
- }, |
"response": { |
- "$ref": "Operation" |
+ "$ref": "ListVersionsResponse" |
}, |
"scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
+ "https://www.googleapis.com/auth/appengine.admin", |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
}, |
- "delete": { |
- "description": "Deletes an existing Version resource.", |
- "httpMethod": "DELETE", |
- "id": "appengine.apps.services.versions.delete", |
+ "create": { |
+ "description": "Deploys code and resource files to a new version.", |
+ "httpMethod": "POST", |
+ "id": "appengine.apps.services.versions.create", |
"parameterOrder": [ |
"appsId", |
- "servicesId", |
- "versionsId" |
+ "servicesId" |
], |
"parameters": { |
"servicesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "description": "Part of `parent`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"appsId": { |
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "versionsId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "description": "Part of `parent`. Name of the parent resource to create this version under. Example: apps/myapp/services/default.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", |
+ "path": "v1/apps/{appsId}/services/{servicesId}/versions", |
+ "request": { |
+ "$ref": "Version" |
+ }, |
"response": { |
"$ref": "Operation" |
}, |
@@ -762,14 +762,14 @@ |
"required": true, |
"type": "string" |
}, |
- "appsId": { |
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", |
+ "instancesId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "instancesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "appsId": { |
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", |
"location": "path", |
"required": true, |
"type": "string" |
@@ -789,49 +789,45 @@ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
}, |
- "list": { |
- "description": "Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).", |
+ "get": { |
+ "description": "Gets instance information.", |
"httpMethod": "GET", |
- "id": "appengine.apps.services.versions.instances.list", |
+ "id": "appengine.apps.services.versions.instances.get", |
"parameterOrder": [ |
"appsId", |
"servicesId", |
- "versionsId" |
+ "versionsId", |
+ "instancesId" |
], |
"parameters": { |
"servicesId": { |
- "description": "Part of `parent`. See documentation of `appsId`.", |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "appsId": { |
- "description": "Part of `parent`. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1.", |
+ "instancesId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "pageToken": { |
- "description": "Continuation token for fetching the next page of results.", |
- "location": "query", |
+ "appsId": { |
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", |
+ "location": "path", |
+ "required": true, |
"type": "string" |
}, |
- "pageSize": { |
- "description": "Maximum results to return per page.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
"versionsId": { |
- "description": "Part of `parent`. See documentation of `appsId`.", |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances", |
+ "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
"response": { |
- "$ref": "ListInstancesResponse" |
+ "$ref": "Instance" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/appengine.admin", |
@@ -839,45 +835,49 @@ |
"https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
}, |
- "get": { |
- "description": "Gets instance information.", |
+ "list": { |
+ "description": "Lists the instances of a version.Tip: To aggregate details about instances over time, see the Stackdriver Monitoring API (https://cloud.google.com/monitoring/api/ref_v3/rest/v3/projects.timeSeries/list).", |
"httpMethod": "GET", |
- "id": "appengine.apps.services.versions.instances.get", |
+ "id": "appengine.apps.services.versions.instances.list", |
"parameterOrder": [ |
"appsId", |
"servicesId", |
- "versionsId", |
- "instancesId" |
+ "versionsId" |
], |
"parameters": { |
+ "pageSize": { |
+ "description": "Maximum results to return per page.", |
+ "format": "int32", |
+ "location": "query", |
+ "type": "integer" |
+ }, |
"versionsId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "description": "Part of `parent`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"servicesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "description": "Part of `parent`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "appsId": { |
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1/instances/instance-1.", |
- "location": "path", |
- "required": true, |
+ "pageToken": { |
+ "description": "Continuation token for fetching the next page of results.", |
+ "location": "query", |
"type": "string" |
}, |
- "instancesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "appsId": { |
+ "description": "Part of `parent`. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
+ "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances", |
"response": { |
- "$ref": "Instance" |
+ "$ref": "ListInstancesResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/appengine.admin", |
@@ -896,13 +896,13 @@ |
"instancesId" |
], |
"parameters": { |
- "versionsId": { |
+ "servicesId": { |
"description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "servicesId": { |
+ "instancesId": { |
"description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
@@ -914,7 +914,7 @@ |
"required": true, |
"type": "string" |
}, |
- "instancesId": { |
+ "versionsId": { |
"description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
@@ -941,18 +941,31 @@ |
} |
} |
}, |
- "revision": "20170601", |
+ "revision": "20170626", |
"rootUrl": "https://appengine.googleapis.com/", |
"schemas": { |
+ "ListInstancesResponse": { |
+ "description": "Response message for Instances.ListInstances.", |
+ "id": "ListInstancesResponse", |
+ "properties": { |
+ "instances": { |
+ "description": "The instances belonging to the requested version.", |
+ "items": { |
+ "$ref": "Instance" |
+ }, |
+ "type": "array" |
+ }, |
+ "nextPageToken": { |
+ "description": "Continuation token for fetching the next page of results.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"OperationMetadataV1Alpha": { |
"description": "Metadata for the given google.longrunning.Operation.", |
"id": "OperationMetadataV1Alpha", |
"properties": { |
- "endTime": { |
- "description": "Time that this operation completed.@OutputOnly", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
"warning": { |
"description": "Durable messages that persist on every operation poll. @OutputOnly", |
"items": { |
@@ -965,14 +978,14 @@ |
"format": "google-datetime", |
"type": "string" |
}, |
- "user": { |
- "description": "User who requested this operation.@OutputOnly", |
- "type": "string" |
- }, |
"target": { |
"description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", |
"type": "string" |
}, |
+ "user": { |
+ "description": "User who requested this operation.@OutputOnly", |
+ "type": "string" |
+ }, |
"ephemeralMessage": { |
"description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", |
"type": "string" |
@@ -980,6 +993,11 @@ |
"method": { |
"description": "API method that initiated this operation. Example: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", |
"type": "string" |
+ }, |
+ "endTime": { |
+ "description": "Time that this operation completed.@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -988,16 +1006,16 @@ |
"description": "Rules to match an HTTP request and dispatch that request to a service.", |
"id": "UrlDispatchRule", |
"properties": { |
- "domain": { |
- "description": "Domain name to match against. The wildcard \"*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".", |
+ "path": { |
+ "description": "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.", |
"type": "string" |
}, |
"service": { |
"description": "Resource ID of a service in this application that should serve the matched request. The service must already exist. Example: default.", |
"type": "string" |
}, |
- "path": { |
- "description": "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.", |
+ "domain": { |
+ "description": "Domain name to match against. The wildcard \"*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".", |
"type": "string" |
} |
}, |
@@ -1007,16 +1025,16 @@ |
"description": "Response message for Versions.ListVersions.", |
"id": "ListVersionsResponse", |
"properties": { |
+ "nextPageToken": { |
+ "description": "Continuation token for fetching the next page of results.", |
+ "type": "string" |
+ }, |
"versions": { |
"description": "The versions belonging to the requested service.", |
"items": { |
"$ref": "Version" |
}, |
"type": "array" |
- }, |
- "nextPageToken": { |
- "description": "Continuation token for fetching the next page of results.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -1032,14 +1050,26 @@ |
}, |
"type": "object" |
}, |
+ "ZipInfo": { |
+ "description": "The zip file information for a zip deployment.", |
+ "id": "ZipInfo", |
+ "properties": { |
+ "filesCount": { |
+ "description": "An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "sourceUrl": { |
+ "description": "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/<bucket>/<object>'.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"AutomaticScaling": { |
"description": "Automatic scaling is based on request rate, response latencies, and other application metrics.", |
"id": "AutomaticScaling", |
"properties": { |
- "diskUtilization": { |
- "$ref": "DiskUtilization", |
- "description": "Target scaling by disk usage." |
- }, |
"minPendingLatency": { |
"description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.", |
"format": "google-duration", |
@@ -1073,16 +1103,16 @@ |
"$ref": "NetworkUtilization", |
"description": "Target scaling by network usage." |
}, |
- "coolDownPeriod": { |
- "description": "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.", |
- "format": "google-duration", |
- "type": "string" |
- }, |
"maxConcurrentRequests": { |
"description": "Number of concurrent requests an automatic scaling instance can accept before the scheduler spawns a new instance.Defaults to a runtime-specific value.", |
"format": "int32", |
"type": "integer" |
}, |
+ "coolDownPeriod": { |
+ "description": "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.", |
+ "format": "google-duration", |
+ "type": "string" |
+ }, |
"maxPendingLatency": { |
"description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.", |
"format": "google-duration", |
@@ -1091,22 +1121,10 @@ |
"cpuUtilization": { |
"$ref": "CpuUtilization", |
"description": "Target scaling by CPU usage." |
- } |
- }, |
- "type": "object" |
- }, |
- "ZipInfo": { |
- "description": "The zip file information for a zip deployment.", |
- "id": "ZipInfo", |
- "properties": { |
- "filesCount": { |
- "description": "An estimate of the number of files in a zip for a zip deployment. If set, must be greater than or equal to the actual number of files. Used for optimizing performance; if not provided, deployment may be slow.", |
- "format": "int32", |
- "type": "integer" |
}, |
- "sourceUrl": { |
- "description": "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/<bucket>/<object>'.", |
- "type": "string" |
+ "diskUtilization": { |
+ "$ref": "DiskUtilization", |
+ "description": "Target scaling by disk usage." |
} |
}, |
"type": "object" |
@@ -1159,13 +1177,13 @@ |
"description": "Target scaling by request utilization. Only applicable for VM runtimes.", |
"id": "RequestUtilization", |
"properties": { |
- "targetConcurrentRequests": { |
- "description": "Target number of concurrent requests.", |
+ "targetRequestCountPerSecond": { |
+ "description": "Target requests per second.", |
"format": "int32", |
"type": "integer" |
}, |
- "targetRequestCountPerSecond": { |
- "description": "Target requests per second.", |
+ "targetConcurrentRequests": { |
+ "description": "Target number of concurrent requests.", |
"format": "int32", |
"type": "integer" |
} |
@@ -1176,13 +1194,13 @@ |
"description": "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).", |
"id": "EndpointsApiService", |
"properties": { |
- "name": { |
- "description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endpoints.myproject.cloud.goog\"", |
- "type": "string" |
- }, |
"configId": { |
"description": "Endpoints service configuration id as specified by the Service Management API. For example \"2016-09-19r1\"", |
"type": "string" |
+ }, |
+ "name": { |
+ "description": "Endpoints service name which is the name of the \"service\" resource in the Service Management API. For example \"myapi.endpoints.myproject.cloud.goog\"", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1191,10 +1209,6 @@ |
"description": "URL pattern and description of how the URL should be handled. App Engine can handle URLs by executing application code or by serving static files uploaded with the version, such as images, CSS, or JavaScript.", |
"id": "UrlMap", |
"properties": { |
- "staticFiles": { |
- "$ref": "StaticFilesHandler", |
- "description": "Returns the contents of a file, such as an image, as the response." |
- }, |
"redirectHttpResponseCode": { |
"description": "30x code to use when performing redirects for the secure field. Defaults to 302.", |
"enum": [ |
@@ -1272,6 +1286,10 @@ |
"apiEndpoint": { |
"$ref": "ApiEndpointHandler", |
"description": "Uses API Endpoints to handle requests." |
+ }, |
+ "staticFiles": { |
+ "$ref": "StaticFilesHandler", |
+ "description": "Returns the contents of a file, such as an image, as the response." |
} |
}, |
"type": "object" |
@@ -1378,6 +1396,10 @@ |
"description": "Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which URLs serve them.", |
"id": "StaticFilesHandler", |
"properties": { |
+ "requireMatchingFile": { |
+ "description": "Whether this handler should match the request if the file referenced by the handler does not exist.", |
+ "type": "boolean" |
+ }, |
"expiration": { |
"description": "Time a static file served by this handler should be cached by web proxies and browsers.", |
"format": "google-duration", |
@@ -1405,27 +1427,6 @@ |
"mimeType": { |
"description": "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.", |
"type": "string" |
- }, |
- "requireMatchingFile": { |
- "description": "Whether this handler should match the request if the file referenced by the handler does not exist.", |
- "type": "boolean" |
- } |
- }, |
- "type": "object" |
- }, |
- "BasicScaling": { |
- "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.", |
- "id": "BasicScaling", |
- "properties": { |
- "maxInstances": { |
- "description": "Maximum number of instances to create for this version.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "idleTimeout": { |
- "description": "Duration of time after the last request that an instance must wait before the instance is shut down.", |
- "format": "google-duration", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -1434,13 +1435,13 @@ |
"description": "Target scaling by disk usage. Only applicable for VM runtimes.", |
"id": "DiskUtilization", |
"properties": { |
- "targetReadBytesPerSecond": { |
- "description": "Target bytes read per second.", |
+ "targetReadOpsPerSecond": { |
+ "description": "Target ops read per seconds.", |
"format": "int32", |
"type": "integer" |
}, |
- "targetReadOpsPerSecond": { |
- "description": "Target ops read per seconds.", |
+ "targetReadBytesPerSecond": { |
+ "description": "Target bytes read per second.", |
"format": "int32", |
"type": "integer" |
}, |
@@ -1449,10 +1450,27 @@ |
"format": "int32", |
"type": "integer" |
}, |
- "targetWriteBytesPerSecond": { |
- "description": "Target bytes written per second.", |
- "format": "int32", |
- "type": "integer" |
+ "targetWriteBytesPerSecond": { |
+ "description": "Target bytes written per second.", |
+ "format": "int32", |
+ "type": "integer" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "BasicScaling": { |
+ "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or driven by user activity.", |
+ "id": "BasicScaling", |
+ "properties": { |
+ "maxInstances": { |
+ "description": "Maximum number of instances to create for this version.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "idleTimeout": { |
+ "description": "Duration of time after the last request that an instance must wait before the instance is shut down.", |
+ "format": "google-duration", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1474,6 +1492,33 @@ |
}, |
"type": "object" |
}, |
+ "Status": { |
+ "description": "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:\nSimple to use and understand for most users\nFlexible 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 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 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:\nPartial 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.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting.\nBatch 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.\nAsynchronous 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.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.", |
+ "id": "Status", |
+ "properties": { |
+ "code": { |
+ "description": "The status code, which should be an enum value of google.rpc.Code.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "message": { |
+ "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", |
+ "type": "string" |
+ }, |
+ "details": { |
+ "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.", |
+ "items": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "type": "object" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"IdentityAwareProxy": { |
"description": "Identity-Aware Proxy", |
"id": "IdentityAwareProxy", |
@@ -1497,33 +1542,6 @@ |
}, |
"type": "object" |
}, |
- "Status": { |
- "description": "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:\nSimple to use and understand for most users\nFlexible 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 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 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:\nPartial 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.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting.\nBatch 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.\nAsynchronous 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.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.", |
- "id": "Status", |
- "properties": { |
- "details": { |
- "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.", |
- "items": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "type": "object" |
- }, |
- "type": "array" |
- }, |
- "code": { |
- "description": "The status code, which should be an enum value of google.rpc.Code.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "message": { |
- "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"ManualScaling": { |
"description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.", |
"id": "ManualScaling", |
@@ -1555,10 +1573,6 @@ |
"description": "A Service resource is a logical component of an application that can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate services to handle tasks such as backend data analysis or API requests from mobile devices. Each service has a collection of versions that define a specific set of code used to implement the functionality of that service.", |
"id": "Service", |
"properties": { |
- "split": { |
- "$ref": "TrafficSplit", |
- "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service." |
- }, |
"id": { |
"description": "Relative name of the service within the application. Example: default.@OutputOnly", |
"type": "string" |
@@ -1566,6 +1580,10 @@ |
"name": { |
"description": "Full path to the Service resource in the API. Example: apps/myapp/services/default.@OutputOnly", |
"type": "string" |
+ }, |
+ "split": { |
+ "$ref": "TrafficSplit", |
+ "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service." |
} |
}, |
"type": "object" |
@@ -1574,16 +1592,16 @@ |
"description": "The response message for Operations.ListOperations.", |
"id": "ListOperationsResponse", |
"properties": { |
- "nextPageToken": { |
- "description": "The standard List next-page token.", |
- "type": "string" |
- }, |
"operations": { |
"description": "A list of operations that matches the specified filter in the request.", |
"items": { |
"$ref": "Operation" |
}, |
"type": "array" |
+ }, |
+ "nextPageToken": { |
+ "description": "The standard List next-page token.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1592,6 +1610,15 @@ |
"description": "Metadata for the given google.longrunning.Operation.", |
"id": "OperationMetadata", |
"properties": { |
+ "endTime": { |
+ "description": "Timestamp that this operation completed.@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "operationType": { |
+ "description": "Type of this operation. Deprecated, use method field instead. Example: \"create_version\".@OutputOnly", |
+ "type": "string" |
+ }, |
"insertTime": { |
"description": "Timestamp that this operation was created.@OutputOnly", |
"format": "google-datetime", |
@@ -1608,15 +1635,6 @@ |
"method": { |
"description": "API method that initiated this operation. Example: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", |
"type": "string" |
- }, |
- "endTime": { |
- "description": "Timestamp that this operation completed.@OutputOnly", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "operationType": { |
- "description": "Type of this operation. Deprecated, use method field instead. Example: \"create_version\".@OutputOnly", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -1625,6 +1643,10 @@ |
"description": "Custom static error page to be served when an error occurs.", |
"id": "ErrorHandler", |
"properties": { |
+ "mimeType": { |
+ "description": "MIME type of file. Defaults to text/html.", |
+ "type": "string" |
+ }, |
"errorCode": { |
"description": "Error condition this handler applies to.", |
"enum": [ |
@@ -1643,10 +1665,6 @@ |
], |
"type": "string" |
}, |
- "mimeType": { |
- "description": "MIME type of file. Defaults to text/html.", |
- "type": "string" |
- }, |
"staticFile": { |
"description": "Static file content to be served for this error.", |
"type": "string" |
@@ -1658,19 +1676,6 @@ |
"description": "Metadata for the given google.longrunning.Operation.", |
"id": "OperationMetadataV1", |
"properties": { |
- "ephemeralMessage": { |
- "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", |
- "type": "string" |
- }, |
- "method": { |
- "description": "API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
- "type": "string" |
- }, |
- "endTime": { |
- "description": "Time that this operation completed.@OutputOnly", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
"warning": { |
"description": "Durable messages that persist on every operation poll. @OutputOnly", |
"items": { |
@@ -1683,12 +1688,25 @@ |
"format": "google-datetime", |
"type": "string" |
}, |
+ "target": { |
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", |
+ "type": "string" |
+ }, |
"user": { |
"description": "User who requested this operation.@OutputOnly", |
"type": "string" |
}, |
- "target": { |
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", |
+ "ephemeralMessage": { |
+ "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", |
+ "type": "string" |
+ }, |
+ "method": { |
+ "description": "API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
+ "type": "string" |
+ }, |
+ "endTime": { |
+ "description": "Time that this operation completed.@OutputOnly", |
+ "format": "google-datetime", |
"type": "string" |
} |
}, |
@@ -1698,6 +1716,13 @@ |
"description": "An Application resource contains the top-level configuration of an App Engine application. Next tag: 19", |
"id": "Application", |
"properties": { |
+ "dispatchRules": { |
+ "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.@OutputOnly", |
+ "items": { |
+ "$ref": "UrlDispatchRule" |
+ }, |
+ "type": "array" |
+ }, |
"gcrDomain": { |
"description": "The Google Container Registry domain used for storing managed build docker images for this application.", |
"type": "string" |
@@ -1706,15 +1731,15 @@ |
"description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly", |
"type": "string" |
}, |
+ "id": { |
+ "description": "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.", |
+ "type": "string" |
+ }, |
"defaultCookieExpiration": { |
"description": "Cookie expiration policy for this application.", |
"format": "google-duration", |
"type": "string" |
}, |
- "id": { |
- "description": "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.", |
- "type": "string" |
- }, |
"locationId": { |
"description": "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 USeurope-west - Western Europeus-east1 - Eastern US", |
"type": "string" |
@@ -1753,13 +1778,6 @@ |
"defaultBucket": { |
"description": "Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly", |
"type": "string" |
- }, |
- "dispatchRules": { |
- "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.@OutputOnly", |
- "items": { |
- "$ref": "UrlDispatchRule" |
- }, |
- "type": "array" |
} |
}, |
"type": "object" |
@@ -1768,6 +1786,14 @@ |
"description": "Extra network settings. Only applicable for VM runtimes.", |
"id": "Network", |
"properties": { |
+ "subnetworkName": { |
+ "description": "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.\nIf the network the VM instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.\nIf 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.\nIf 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.", |
+ "type": "string" |
+ }, |
+ "instanceTag": { |
+ "description": "Tag to apply to the VM instance during creation.", |
+ "type": "string" |
+ }, |
"forwardedPorts": { |
"description": "List of ports, or port pairs, to forward from the virtual machine to the application container.", |
"items": { |
@@ -1775,14 +1801,6 @@ |
}, |
"type": "array" |
}, |
- "instanceTag": { |
- "description": "Tag to apply to the VM instance during creation.", |
- "type": "string" |
- }, |
- "subnetworkName": { |
- "description": "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.\nIf the network the VM instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range.\nIf 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.\nIf 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.", |
- "type": "string" |
- }, |
"name": { |
"description": "Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.", |
"type": "string" |
@@ -1833,11 +1851,6 @@ |
"format": "int32", |
"type": "integer" |
}, |
- "memoryUsage": { |
- "description": "Total memory in use (bytes).@OutputOnly", |
- "format": "int64", |
- "type": "string" |
- }, |
"id": { |
"description": "Relative name of the instance within the version. Example: instance-1.@OutputOnly", |
"type": "string" |
@@ -1846,10 +1859,16 @@ |
"description": "The IP address of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
"type": "string" |
}, |
- "vmStatus": { |
- "description": "Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
+ "memoryUsage": { |
+ "description": "Total memory in use (bytes).@OutputOnly", |
+ "format": "int64", |
"type": "string" |
}, |
+ "errors": { |
+ "description": "Number of errors since this instance was started.@OutputOnly", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
"availability": { |
"description": "Availability of the instance.@OutputOnly", |
"enum": [ |
@@ -1864,10 +1883,9 @@ |
], |
"type": "string" |
}, |
- "errors": { |
- "description": "Number of errors since this instance was started.@OutputOnly", |
- "format": "int32", |
- "type": "integer" |
+ "vmStatus": { |
+ "description": "Status of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
+ "type": "string" |
}, |
"startTime": { |
"description": "Time that this instance was started.@OutputOnly", |
@@ -1881,38 +1899,65 @@ |
"description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances.", |
"id": "LivenessCheck", |
"properties": { |
- "path": { |
- "description": "The request path.", |
- "type": "string" |
- }, |
- "successThreshold": { |
- "description": "Number of consecutive successful checks required before considering the VM healthy.", |
- "format": "uint32", |
- "type": "integer" |
- }, |
- "host": { |
- "description": "Host header to send when performing a HTTP Liveness check. Example: \"myapp.appspot.com\"", |
- "type": "string" |
- }, |
"checkInterval": { |
"description": "Interval between health checks.", |
"format": "google-duration", |
"type": "string" |
}, |
- "failureThreshold": { |
- "description": "Number of consecutive failed checks required before considering the VM unhealthy.", |
- "format": "uint32", |
- "type": "integer" |
- }, |
"timeout": { |
"description": "Time before the check is considered failed.", |
"format": "google-duration", |
"type": "string" |
}, |
+ "failureThreshold": { |
+ "description": "Number of consecutive failed checks required before considering the VM unhealthy.", |
+ "format": "uint32", |
+ "type": "integer" |
+ }, |
"initialDelay": { |
"description": "The initial delay before starting to execute the checks.", |
"format": "google-duration", |
"type": "string" |
+ }, |
+ "path": { |
+ "description": "The request path.", |
+ "type": "string" |
+ }, |
+ "host": { |
+ "description": "Host header to send when performing a HTTP Liveness check. Example: \"myapp.appspot.com\"", |
+ "type": "string" |
+ }, |
+ "successThreshold": { |
+ "description": "Number of consecutive successful checks required before considering the VM healthy.", |
+ "format": "uint32", |
+ "type": "integer" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "NetworkUtilization": { |
+ "description": "Target scaling by network usage. Only applicable for VM runtimes.", |
+ "id": "NetworkUtilization", |
+ "properties": { |
+ "targetSentBytesPerSecond": { |
+ "description": "Target bytes sent per second.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "targetReceivedBytesPerSecond": { |
+ "description": "Target bytes received per second.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "targetSentPacketsPerSecond": { |
+ "description": "Target packets sent per second.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "targetReceivedPacketsPerSecond": { |
+ "description": "Target packets received per second.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
@@ -1947,37 +1992,20 @@ |
}, |
"type": "object" |
}, |
- "NetworkUtilization": { |
- "description": "Target scaling by network usage. Only applicable for VM runtimes.", |
- "id": "NetworkUtilization", |
- "properties": { |
- "targetReceivedPacketsPerSecond": { |
- "description": "Target packets received per second.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "targetSentBytesPerSecond": { |
- "description": "Target bytes sent per second.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "targetSentPacketsPerSecond": { |
- "description": "Target packets sent per second.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "targetReceivedBytesPerSecond": { |
- "description": "Target bytes received per second.", |
- "format": "int32", |
- "type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
"HealthCheck": { |
"description": "Health checking configuration for VM instances. Unhealthy instances are killed and replaced with new instances. Only applicable for instances in App Engine flexible environment.", |
"id": "HealthCheck", |
"properties": { |
+ "checkInterval": { |
+ "description": "Interval between health checks.", |
+ "format": "google-duration", |
+ "type": "string" |
+ }, |
+ "timeout": { |
+ "description": "Time before the health check is considered failed.", |
+ "format": "google-duration", |
+ "type": "string" |
+ }, |
"unhealthyThreshold": { |
"description": "Number of consecutive failed health checks required before removing traffic.", |
"format": "uint32", |
@@ -2000,16 +2028,6 @@ |
"description": "Number of consecutive successful health checks required before receiving traffic.", |
"format": "uint32", |
"type": "integer" |
- }, |
- "checkInterval": { |
- "description": "Interval between health checks.", |
- "format": "google-duration", |
- "type": "string" |
- }, |
- "timeout": { |
- "description": "Time before the health check is considered failed.", |
- "format": "google-duration", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -2018,33 +2036,33 @@ |
"description": "Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.", |
"id": "ReadinessCheck", |
"properties": { |
- "path": { |
- "description": "The request path.", |
+ "timeout": { |
+ "description": "Time before the check is considered failed.", |
+ "format": "google-duration", |
"type": "string" |
}, |
- "successThreshold": { |
- "description": "Number of consecutive successful checks required before receiving traffic.", |
+ "failureThreshold": { |
+ "description": "Number of consecutive failed checks required before removing traffic.", |
"format": "uint32", |
"type": "integer" |
}, |
+ "path": { |
+ "description": "The request path.", |
+ "type": "string" |
+ }, |
"host": { |
"description": "Host header to send when performing a HTTP Readiness check. Example: \"myapp.appspot.com\"", |
"type": "string" |
}, |
+ "successThreshold": { |
+ "description": "Number of consecutive successful checks required before receiving traffic.", |
+ "format": "uint32", |
+ "type": "integer" |
+ }, |
"checkInterval": { |
"description": "Interval between health checks.", |
"format": "google-duration", |
"type": "string" |
- }, |
- "timeout": { |
- "description": "Time before the check is considered failed.", |
- "format": "google-duration", |
- "type": "string" |
- }, |
- "failureThreshold": { |
- "description": "Number of consecutive failed checks required before removing traffic.", |
- "format": "uint32", |
- "type": "integer" |
} |
}, |
"type": "object" |
@@ -2074,14 +2092,14 @@ |
"format": "google-datetime", |
"type": "string" |
}, |
- "user": { |
- "description": "User who requested this operation.@OutputOnly", |
- "type": "string" |
- }, |
"target": { |
"description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", |
"type": "string" |
}, |
+ "user": { |
+ "description": "User who requested this operation.@OutputOnly", |
+ "type": "string" |
+ }, |
"method": { |
"description": "API method name that initiated this operation. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
"type": "string" |
@@ -2093,18 +2111,38 @@ |
"description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.", |
"id": "Version", |
"properties": { |
+ "threadsafe": { |
+ "description": "Whether multiple requests can be dispatched to this version at once.", |
+ "type": "boolean" |
+ }, |
+ "readinessCheck": { |
+ "$ref": "ReadinessCheck", |
+ "description": "Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set." |
+ }, |
+ "manualScaling": { |
+ "$ref": "ManualScaling", |
+ "description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time." |
+ }, |
+ "name": { |
+ "description": "Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly", |
+ "type": "string" |
+ }, |
+ "apiConfig": { |
+ "$ref": "ApiConfigHandler", |
+ "description": "Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set." |
+ }, |
"endpointsApiService": { |
"$ref": "EndpointsApiService", |
"description": "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." |
}, |
- "versionUrl": { |
- "description": "Serving URL for this version. Example: \"https://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly", |
- "type": "string" |
- }, |
"vm": { |
"description": "Whether to deploy this version in a container on a virtual machine.", |
"type": "boolean" |
}, |
+ "versionUrl": { |
+ "description": "Serving URL for this version. Example: \"https://myversion-dot-myservice-dot-myapp.appspot.com\"@OutputOnly", |
+ "type": "string" |
+ }, |
"instanceClass": { |
"description": "Instance class that is used to run this version. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or BasicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for ManualScaling or BasicScaling.", |
"type": "string" |
@@ -2123,23 +2161,19 @@ |
], |
"type": "string" |
}, |
- "runtimeApiVersion": { |
- "description": "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", |
- "type": "string" |
- }, |
"deployment": { |
"$ref": "Deployment", |
"description": "Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set." |
}, |
+ "runtimeApiVersion": { |
+ "description": "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", |
+ "type": "string" |
+ }, |
"createTime": { |
"description": "Time that this version was created.@OutputOnly", |
"format": "google-datetime", |
"type": "string" |
}, |
- "resources": { |
- "$ref": "Resources", |
- "description": "Machine resources for this version. Only applicable for VM runtimes." |
- }, |
"inboundServices": { |
"description": "Before an application can receive email or XMPP messages, the application must be configured to enable the service.", |
"enumDescriptions": [ |
@@ -2169,6 +2203,10 @@ |
}, |
"type": "array" |
}, |
+ "resources": { |
+ "$ref": "Resources", |
+ "description": "Machine resources for this version. Only applicable for VM runtimes." |
+ }, |
"errorHandlers": { |
"description": "Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.", |
"items": { |
@@ -2200,14 +2238,14 @@ |
"description": "Desired runtime. Example: python27.", |
"type": "string" |
}, |
- "id": { |
- "description": "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-\".", |
- "type": "string" |
- }, |
"createdBy": { |
"description": "Email address of the user who created this version.@OutputOnly", |
"type": "string" |
}, |
+ "id": { |
+ "description": "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-\".", |
+ "type": "string" |
+ }, |
"envVariables": { |
"additionalProperties": { |
"type": "string" |
@@ -2253,26 +2291,6 @@ |
"healthCheck": { |
"$ref": "HealthCheck", |
"description": "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." |
- }, |
- "threadsafe": { |
- "description": "Whether multiple requests can be dispatched to this version at once.", |
- "type": "boolean" |
- }, |
- "readinessCheck": { |
- "$ref": "ReadinessCheck", |
- "description": "Configures readiness health checking for VM instances. Unhealthy instances are not put into the backend traffic rotation.Only returned in GET requests if view=FULL is set." |
- }, |
- "manualScaling": { |
- "$ref": "ManualScaling", |
- "description": "A service with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time." |
- }, |
- "name": { |
- "description": "Full path to the Version resource in the API. Example: apps/myapp/services/default/versions/v1.@OutputOnly", |
- "type": "string" |
- }, |
- "apiConfig": { |
- "$ref": "ApiConfigHandler", |
- "description": "Serving configuration for Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned in GET requests if view=FULL is set." |
} |
}, |
"type": "object" |
@@ -2283,14 +2301,21 @@ |
"properties": {}, |
"type": "object" |
}, |
+ "ScriptHandler": { |
+ "description": "Executes a script to handle the request that matches the URL pattern.", |
+ "id": "ScriptHandler", |
+ "properties": { |
+ "scriptPath": { |
+ "description": "Path to the script from the application root directory.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"FileInfo": { |
"description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.", |
"id": "FileInfo", |
"properties": { |
- "mimeType": { |
- "description": "The MIME type of the file.Defaults to the value from Google Cloud Storage.", |
- "type": "string" |
- }, |
"sourceUrl": { |
"description": "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/<bucket>/<object>'.", |
"type": "string" |
@@ -2298,16 +2323,9 @@ |
"sha1Sum": { |
"description": "The SHA1 hash of the file, in hex.", |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ScriptHandler": { |
- "description": "Executes a script to handle the request that matches the URL pattern.", |
- "id": "ScriptHandler", |
- "properties": { |
- "scriptPath": { |
- "description": "Path to the script from the application root directory.", |
+ }, |
+ "mimeType": { |
+ "description": "The MIME type of the file.Defaults to the value from Google Cloud Storage.", |
"type": "string" |
} |
}, |
@@ -2331,13 +2349,13 @@ |
"format": "google-datetime", |
"type": "string" |
}, |
- "user": { |
- "description": "User who requested this operation.@OutputOnly", |
- "type": "string" |
- }, |
"target": { |
"description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", |
"type": "string" |
+ }, |
+ "user": { |
+ "description": "User who requested this operation.@OutputOnly", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -2346,6 +2364,14 @@ |
"description": "Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is assigned to versions.", |
"id": "TrafficSplit", |
"properties": { |
+ "allocations": { |
+ "additionalProperties": { |
+ "format": "double", |
+ "type": "number" |
+ }, |
+ "description": "Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.", |
+ "type": "object" |
+ }, |
"shardBy": { |
"description": "Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.", |
"enum": [ |
@@ -2361,14 +2387,6 @@ |
"Diversion based on weighted random assignment. An incoming request is randomly routed to a version in the traffic split, with probability proportional to the version's traffic share." |
], |
"type": "string" |
- }, |
- "allocations": { |
- "additionalProperties": { |
- "format": "double", |
- "type": "number" |
- }, |
- "description": "Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated cannot be deleted until either the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.", |
- "type": "object" |
} |
}, |
"type": "object" |
@@ -2394,14 +2412,14 @@ |
"format": "google-datetime", |
"type": "string" |
}, |
- "user": { |
- "description": "User who requested this operation.@OutputOnly", |
- "type": "string" |
- }, |
"target": { |
"description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", |
"type": "string" |
}, |
+ "user": { |
+ "description": "User who requested this operation.@OutputOnly", |
+ "type": "string" |
+ }, |
"ephemeralMessage": { |
"description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", |
"type": "string" |
@@ -2417,16 +2435,16 @@ |
"description": "Response message for Services.ListServices.", |
"id": "ListServicesResponse", |
"properties": { |
+ "nextPageToken": { |
+ "description": "Continuation token for fetching the next page of results.", |
+ "type": "string" |
+ }, |
"services": { |
"description": "The services belonging to the requested application.", |
"items": { |
"$ref": "Service" |
}, |
"type": "array" |
- }, |
- "nextPageToken": { |
- "description": "Continuation token for fetching the next page of results.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -2447,13 +2465,13 @@ |
"format": "double", |
"type": "number" |
}, |
- "cpu": { |
- "description": "Number of CPU cores needed.", |
+ "memoryGb": { |
+ "description": "Memory (GB) needed.", |
"format": "double", |
"type": "number" |
}, |
- "memoryGb": { |
- "description": "Memory (GB) needed.", |
+ "cpu": { |
+ "description": "Number of CPU cores needed.", |
"format": "double", |
"type": "number" |
} |
@@ -2501,24 +2519,6 @@ |
} |
}, |
"type": "object" |
- }, |
- "ListInstancesResponse": { |
- "description": "Response message for Instances.ListInstances.", |
- "id": "ListInstancesResponse", |
- "properties": { |
- "nextPageToken": { |
- "description": "Continuation token for fetching the next page of results.", |
- "type": "string" |
- }, |
- "instances": { |
- "description": "The instances belonging to the requested version.", |
- "items": { |
- "$ref": "Instance" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
} |
}, |
"servicePath": "", |