Index: discovery/googleapis/appengine__v1.json |
diff --git a/discovery/googleapis/appengine__v1.json b/discovery/googleapis/appengine__v1.json |
index 660fe42cc694720f16d55463575eaa567a64f426..b81329e4b0e174a4775fd8233010e55eacf9851f 100644 |
--- a/discovery/googleapis/appengine__v1.json |
+++ b/discovery/googleapis/appengine__v1.json |
@@ -30,48 +30,6 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "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" |
- }, |
- "access_token": { |
- "description": "OAuth access token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "quotaUser": { |
- "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "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" |
- }, |
"uploadType": { |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
@@ -82,6 +40,11 @@ |
"location": "query", |
"type": "string" |
}, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"$.xgafv": { |
"description": "V1 error format.", |
"enum": [ |
@@ -95,11 +58,6 @@ |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
- "location": "query", |
- "type": "string" |
- }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -115,12 +73,80 @@ |
], |
"location": "query", |
"type": "string" |
+ }, |
+ "access_token": { |
+ "description": "OAuth access 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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "quotaUser": { |
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "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\").", |
+ "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", |
+ "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": "RepairApplicationRequest" |
+ }, |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
"get": { |
"description": "Gets information about an application.", |
"httpMethod": "GET", |
@@ -194,66 +220,45 @@ |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
- }, |
- "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", |
- "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": "RepairApplicationRequest" |
- }, |
- "response": { |
- "$ref": "Operation" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
} |
}, |
"resources": { |
- "services": { |
+ "operations": { |
"methods": { |
"list": { |
- "description": "Lists all the services in the application.", |
+ "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", |
- "id": "appengine.apps.services.list", |
+ "id": "appengine.apps.operations.list", |
"parameterOrder": [ |
"appsId" |
], |
"parameters": { |
"pageSize": { |
- "description": "Maximum results to return per page.", |
+ "description": "The standard list page size.", |
"format": "int32", |
"location": "query", |
"type": "integer" |
}, |
+ "filter": { |
+ "description": "The standard list filter.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"appsId": { |
- "description": "Part of `parent`. Name of the parent Application resource. Example: apps/myapp.", |
+ "description": "Part of `name`. The name of the operation's parent resource.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
"pageToken": { |
- "description": "Continuation token for fetching the next page of results.", |
+ "description": "The standard list page token.", |
"location": "query", |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services", |
+ "path": "v1/apps/{appsId}/operations", |
"response": { |
- "$ref": "ListServicesResponse" |
+ "$ref": "ListOperationsResponse" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/appengine.admin", |
@@ -262,106 +267,255 @@ |
] |
}, |
"get": { |
- "description": "Gets the current configuration of the specified service.", |
+ "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.services.get", |
+ "id": "appengine.apps.operations.get", |
"parameterOrder": [ |
"appsId", |
- "servicesId" |
+ "operationsId" |
], |
"parameters": { |
- "servicesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "appsId": { |
+ "description": "Part of `name`. The name of the operation resource.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "appsId": { |
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.", |
+ "operationsId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}", |
+ "path": "v1/apps/{appsId}/operations/{operationsId}", |
"response": { |
- "$ref": "Service" |
+ "$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" |
] |
- }, |
- "patch": { |
- "description": "Updates the configuration of the specified service.", |
- "httpMethod": "PATCH", |
- "id": "appengine.apps.services.patch", |
+ } |
+ } |
+ }, |
+ "locations": { |
+ "methods": { |
+ "list": { |
+ "description": "Lists information about the supported locations for this service.", |
+ "httpMethod": "GET", |
+ "id": "appengine.apps.locations.list", |
"parameterOrder": [ |
- "appsId", |
- "servicesId" |
+ "appsId" |
], |
"parameters": { |
- "updateMask": { |
- "description": "Standard field mask for the set of fields to be updated.", |
- "format": "google-fieldmask", |
+ "filter": { |
+ "description": "The standard list filter.", |
"location": "query", |
"type": "string" |
}, |
- "servicesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "appsId": { |
+ "description": "Part of `name`. The resource that owns the locations collection, if applicable.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "appsId": { |
- "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.", |
- "location": "path", |
- "required": true, |
+ "pageToken": { |
+ "description": "The standard list page token.", |
+ "location": "query", |
"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": "The standard list page size.", |
+ "format": "int32", |
"location": "query", |
- "type": "boolean" |
+ "type": "integer" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}", |
- "request": { |
- "$ref": "Service" |
- }, |
+ "path": "v1/apps/{appsId}/locations", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "ListLocationsResponse" |
}, |
"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 the specified service and all enclosed versions.", |
- "httpMethod": "DELETE", |
- "id": "appengine.apps.services.delete", |
+ "get": { |
+ "description": "Get information about a location.", |
+ "httpMethod": "GET", |
+ "id": "appengine.apps.locations.get", |
"parameterOrder": [ |
"appsId", |
- "servicesId" |
+ "locationsId" |
], |
"parameters": { |
- "servicesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "appsId": { |
+ "description": "Part of `name`. Resource name for the location.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "appsId": { |
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.", |
+ "locationsId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}", |
+ "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" |
+ ] |
+ } |
+ } |
+ }, |
+ "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.", |
+ "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", |
+ "response": { |
+ "$ref": "ListServicesResponse" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/appengine.admin", |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "https://www.googleapis.com/auth/cloud-platform.read-only" |
+ ] |
+ }, |
+ "get": { |
+ "description": "Gets the current configuration of the specified service.", |
+ "httpMethod": "GET", |
+ "id": "appengine.apps.services.get", |
+ "parameterOrder": [ |
+ "appsId", |
+ "servicesId" |
+ ], |
+ "parameters": { |
+ "servicesId": { |
+ "description": "Part of `name`. 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.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/apps/{appsId}/services/{servicesId}", |
+ "response": { |
+ "$ref": "Service" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/appengine.admin", |
+ "https://www.googleapis.com/auth/cloud-platform", |
+ "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", |
+ "parameterOrder": [ |
+ "appsId", |
+ "servicesId" |
+ ], |
+ "parameters": { |
+ "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`.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ }, |
+ "appsId": { |
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default.", |
+ "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).", |
+ "location": "query", |
+ "type": "boolean" |
+ } |
+ }, |
+ "path": "v1/apps/{appsId}/services/{servicesId}", |
+ "request": { |
+ "$ref": "Service" |
+ }, |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
+ }, |
+ "delete": { |
+ "description": "Deletes the specified service and all enclosed versions.", |
+ "httpMethod": "DELETE", |
+ "id": "appengine.apps.services.delete", |
+ "parameterOrder": [ |
+ "appsId", |
+ "servicesId" |
+ ], |
+ "parameters": { |
+ "servicesId": { |
+ "description": "Part of `name`. 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.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/apps/{appsId}/services/{servicesId}", |
+ "response": { |
+ "$ref": "Operation" |
}, |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
@@ -371,43 +525,6 @@ |
"resources": { |
"versions": { |
"methods": { |
- "delete": { |
- "description": "Deletes an existing Version resource.", |
- "httpMethod": "DELETE", |
- "id": "appengine.apps.services.versions.delete", |
- "parameterOrder": [ |
- "appsId", |
- "servicesId", |
- "versionsId" |
- ], |
- "parameters": { |
- "versionsId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
- "location": "path", |
- "required": true, |
- "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 requested. Example: apps/myapp/services/default/versions/v1.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- } |
- }, |
- "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", |
- "response": { |
- "$ref": "Operation" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/cloud-platform" |
- ] |
- }, |
"list": { |
"description": "Lists the versions of a service.", |
"httpMethod": "GET", |
@@ -470,18 +587,6 @@ |
"versionsId" |
], |
"parameters": { |
- "servicesId": { |
- "description": "Part of `name`. 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`.", |
"location": "path", |
@@ -496,6 +601,18 @@ |
], |
"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 requested. Example: apps/myapp/services/default/versions/v1.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
} |
}, |
"path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", |
@@ -586,100 +703,135 @@ |
"scopes": [ |
"https://www.googleapis.com/auth/cloud-platform" |
] |
+ }, |
+ "delete": { |
+ "description": "Deletes an existing Version resource.", |
+ "httpMethod": "DELETE", |
+ "id": "appengine.apps.services.versions.delete", |
+ "parameterOrder": [ |
+ "appsId", |
+ "servicesId", |
+ "versionsId" |
+ ], |
+ "parameters": { |
+ "servicesId": { |
+ "description": "Part of `name`. 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`.", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}", |
+ "response": { |
+ "$ref": "Operation" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/cloud-platform" |
+ ] |
} |
}, |
"resources": { |
"instances": { |
"methods": { |
- "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.list", |
+ "delete": { |
+ "description": "Stops a running instance.", |
+ "httpMethod": "DELETE", |
+ "id": "appengine.apps.services.versions.instances.delete", |
"parameterOrder": [ |
"appsId", |
"servicesId", |
- "versionsId" |
- ], |
+ "versionsId", |
+ "instancesId" |
+ ], |
"parameters": { |
- "pageSize": { |
- "description": "Maximum results to return per page.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "versionsId": { |
- "description": "Part of `parent`. See documentation of `appsId`.", |
+ "servicesId": { |
+ "description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "servicesId": { |
- "description": "Part of `parent`. 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" |
}, |
- "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", |
+ "versionsId": { |
+ "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": "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 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": { |
"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.", |
+ "description": "Part of `parent`. Name of the parent Version resource. Example: apps/myapp/services/default/versions/v1.", |
"location": "path", |
"required": true, |
"type": "string" |
}, |
- "instancesId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
- "location": "path", |
- "required": true, |
+ "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" |
+ }, |
"versionsId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
+ "description": "Part of `parent`. See documentation of `appsId`.", |
"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", |
@@ -687,10 +839,10 @@ |
"https://www.googleapis.com/auth/cloud-platform.read-only" |
] |
}, |
- "debug": { |
- "description": "Enables debugging on a VM instance. This allows you to use the SSH command 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 instances in App Engine flexible environment.", |
- "httpMethod": "POST", |
- "id": "appengine.apps.services.versions.instances.debug", |
+ "get": { |
+ "description": "Gets instance information.", |
+ "httpMethod": "GET", |
+ "id": "appengine.apps.services.versions.instances.get", |
"parameterOrder": [ |
"appsId", |
"servicesId", |
@@ -698,46 +850,45 @@ |
"instancesId" |
], |
"parameters": { |
- "servicesId": { |
+ "versionsId": { |
"description": "Part of `name`. 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.", |
+ "servicesId": { |
+ "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" |
}, |
- "versionsId": { |
+ "instancesId": { |
"description": "Part of `name`. See documentation of `appsId`.", |
"location": "path", |
"required": true, |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", |
- "request": { |
- "$ref": "DebugInstanceRequest" |
- }, |
+ "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
"response": { |
- "$ref": "Operation" |
+ "$ref": "Instance" |
}, |
"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": "Stops a running instance.", |
- "httpMethod": "DELETE", |
- "id": "appengine.apps.services.versions.instances.delete", |
+ "debug": { |
+ "description": "Enables debugging on a VM instance. This allows you to use the SSH command 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 instances in App Engine flexible environment.", |
+ "httpMethod": "POST", |
+ "id": "appengine.apps.services.versions.instances.debug", |
"parameterOrder": [ |
"appsId", |
"servicesId", |
@@ -770,7 +921,10 @@ |
"type": "string" |
} |
}, |
- "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
+ "path": "v1/apps/{appsId}/services/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", |
+ "request": { |
+ "$ref": "DebugInstanceRequest" |
+ }, |
"response": { |
"$ref": "Operation" |
}, |
@@ -783,400 +937,49 @@ |
} |
} |
} |
- }, |
- "operations": { |
- "methods": { |
- "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 below allows API services to override the binding to use different resource name schemes, such as users/*/operations.", |
- "httpMethod": "GET", |
- "id": "appengine.apps.operations.list", |
- "parameterOrder": [ |
- "appsId" |
- ], |
- "parameters": { |
- "pageSize": { |
- "description": "The standard list page size.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "filter": { |
- "description": "The standard list filter.", |
- "location": "query", |
- "type": "string" |
- }, |
- "appsId": { |
- "description": "Part of `name`. The name of the operation collection.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "pageToken": { |
- "description": "The standard list page token.", |
- "location": "query", |
- "type": "string" |
- } |
- }, |
- "path": "v1/apps/{appsId}/operations", |
- "response": { |
- "$ref": "ListOperationsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/appengine.admin", |
- "https://www.googleapis.com/auth/cloud-platform", |
- "https://www.googleapis.com/auth/cloud-platform.read-only" |
- ] |
- }, |
- "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": { |
- "operationsId": { |
- "description": "Part of `name`. See documentation of `appsId`.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "appsId": { |
- "description": "Part of `name`. The name of the operation resource.", |
- "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" |
- ] |
- } |
- } |
- }, |
- "locations": { |
- "methods": { |
- "list": { |
- "description": "Lists information about the supported locations for this service.", |
- "httpMethod": "GET", |
- "id": "appengine.apps.locations.list", |
- "parameterOrder": [ |
- "appsId" |
- ], |
- "parameters": { |
- "pageSize": { |
- "description": "The standard list page size.", |
- "format": "int32", |
- "location": "query", |
- "type": "integer" |
- }, |
- "filter": { |
- "description": "The standard list filter.", |
- "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" |
- } |
- }, |
- "path": "v1/apps/{appsId}/locations", |
- "response": { |
- "$ref": "ListLocationsResponse" |
- }, |
- "scopes": [ |
- "https://www.googleapis.com/auth/appengine.admin", |
- "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", |
- "parameterOrder": [ |
- "appsId", |
- "locationsId" |
- ], |
- "parameters": { |
- "appsId": { |
- "description": "Part of `name`. Resource name for the location.", |
- "location": "path", |
- "required": true, |
- "type": "string" |
- }, |
- "locationsId": { |
- "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" |
- ] |
- } |
- } |
} |
} |
} |
}, |
- "revision": "20170426", |
+ "revision": "20170601", |
"rootUrl": "https://appengine.googleapis.com/", |
"schemas": { |
- "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" |
- }, |
- "sha1Sum": { |
- "description": "The SHA1 hash of the file, in hex.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "OperationMetadataExperimental": { |
- "description": "Metadata for the given google.longrunning.Operation.", |
- "id": "OperationMetadataExperimental", |
- "properties": { |
- "method": { |
- "description": "API method that initiated this operation. Example: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly", |
- "type": "string" |
- }, |
- "insertTime": { |
- "description": "Time that this operation was created.@OutputOnly", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "endTime": { |
- "description": "Time that this operation completed.@OutputOnly", |
- "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" |
- } |
- }, |
- "type": "object" |
- }, |
- "TrafficSplit": { |
- "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": { |
- "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": [ |
- "UNSPECIFIED", |
- "COOKIE", |
- "IP", |
- "RANDOM" |
- ], |
- "enumDescriptions": [ |
- "Diversion method unspecified.", |
- "Diversion based on a specially named cookie, \"GOOGAPPUID.\" The cookie must be set by the application itself or no diversion will occur.", |
- "Diversion based on applying the modulus operation to a fingerprint of the IP address.", |
- "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" |
- }, |
- "OperationMetadataV1Beta": { |
+ "OperationMetadataV1Alpha": { |
"description": "Metadata for the given google.longrunning.Operation.", |
- "id": "OperationMetadataV1Beta", |
+ "id": "OperationMetadataV1Alpha", |
"properties": { |
- "endTime": { |
- "description": "Time that this operation completed.@OutputOnly", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "insertTime": { |
- "description": "Time that this operation was created.@OutputOnly", |
- "format": "google-datetime", |
- "type": "string" |
- }, |
- "warning": { |
- "description": "Durable messages that persist on every operation poll. @OutputOnly", |
- "items": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "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" |
- }, |
- "method": { |
- "description": "API method that initiated this operation. Example: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListServicesResponse": { |
- "description": "Response message for Services.ListServices.", |
- "id": "ListServicesResponse", |
- "properties": { |
- "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" |
- }, |
- "Deployment": { |
- "description": "Code and application artifacts used to deploy a version to App Engine.", |
- "id": "Deployment", |
- "properties": { |
- "files": { |
- "additionalProperties": { |
- "$ref": "FileInfo" |
- }, |
- "description": "Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.", |
- "type": "object" |
- }, |
- "zip": { |
- "$ref": "ZipInfo", |
- "description": "The zip file for this deployment, if this is a zip deployment." |
- }, |
- "container": { |
- "$ref": "ContainerInfo", |
- "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment." |
- } |
- }, |
- "type": "object" |
- }, |
- "Resources": { |
- "description": "Machine resources for a version.", |
- "id": "Resources", |
- "properties": { |
- "cpu": { |
- "description": "Number of CPU cores needed.", |
- "format": "double", |
- "type": "number" |
- }, |
- "memoryGb": { |
- "description": "Memory (GB) needed.", |
- "format": "double", |
- "type": "number" |
+ "endTime": { |
+ "description": "Time that this operation completed.@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
}, |
- "volumes": { |
- "description": "User specified volumes.", |
+ "warning": { |
+ "description": "Durable messages that persist on every operation poll. @OutputOnly", |
"items": { |
- "$ref": "Volume" |
+ "type": "string" |
}, |
"type": "array" |
}, |
- "diskGb": { |
- "description": "Disk size (GB) needed.", |
- "format": "double", |
- "type": "number" |
- } |
- }, |
- "type": "object" |
- }, |
- "Volume": { |
- "description": "Volumes mounted within the app container. Only applicable for VM runtimes.", |
- "id": "Volume", |
- "properties": { |
- "volumeType": { |
- "description": "Underlying volume type, e.g. 'tmpfs'.", |
+ "insertTime": { |
+ "description": "Time that this operation was created.@OutputOnly", |
+ "format": "google-datetime", |
"type": "string" |
}, |
- "sizeGb": { |
- "description": "Volume size in gigabytes.", |
- "format": "double", |
- "type": "number" |
+ "user": { |
+ "description": "User who requested this operation.@OutputOnly", |
+ "type": "string" |
}, |
- "name": { |
- "description": "Unique name for the volume.", |
+ "target": { |
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "ListInstancesResponse": { |
- "description": "Response message for Instances.ListInstances.", |
- "id": "ListInstancesResponse", |
- "properties": { |
- "nextPageToken": { |
- "description": "Continuation token for fetching the next page of results.", |
+ }, |
+ "ephemeralMessage": { |
+ "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", |
"type": "string" |
}, |
- "instances": { |
- "description": "The instances belonging to the requested version.", |
- "items": { |
- "$ref": "Instance" |
- }, |
- "type": "array" |
+ "method": { |
+ "description": "API method that initiated this operation. Example: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1185,10 +988,6 @@ |
"description": "Rules to match an HTTP request and dispatch that request to a service.", |
"id": "UrlDispatchRule", |
"properties": { |
- "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" |
- }, |
"domain": { |
"description": "Domain name to match against. The wildcard \"*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".", |
"type": "string" |
@@ -1196,6 +995,10 @@ |
"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.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1229,26 +1032,38 @@ |
}, |
"type": "object" |
}, |
- "ZipInfo": { |
- "description": "The zip file information for a zip deployment.", |
- "id": "ZipInfo", |
+ "AutomaticScaling": { |
+ "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.", |
+ "id": "AutomaticScaling", |
"properties": { |
- "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>'.", |
+ "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", |
"type": "string" |
}, |
- "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.", |
+ "maxIdleInstances": { |
+ "description": "Maximum number of idle instances that should be maintained for this version.", |
"format": "int32", |
"type": "integer" |
- } |
- }, |
- "type": "object" |
- }, |
- "AutomaticScaling": { |
- "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.", |
- "id": "AutomaticScaling", |
- "properties": { |
+ }, |
+ "requestUtilization": { |
+ "$ref": "RequestUtilization", |
+ "description": "Target scaling by request utilization." |
+ }, |
+ "minIdleInstances": { |
+ "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "maxTotalInstances": { |
+ "description": "Maximum number of instances that should be started to handle requests.", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
"minTotalInstances": { |
"description": "Minimum number of instances that should be maintained for this version.", |
"format": "int32", |
@@ -1276,34 +1091,22 @@ |
"cpuUtilization": { |
"$ref": "CpuUtilization", |
"description": "Target scaling by CPU usage." |
- }, |
- "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", |
- "type": "string" |
- }, |
- "maxIdleInstances": { |
- "description": "Maximum number of idle instances that should be maintained for this version.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "requestUtilization": { |
- "$ref": "RequestUtilization", |
- "description": "Target scaling by request utilization." |
- }, |
- "minIdleInstances": { |
- "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a service.", |
+ } |
+ }, |
+ "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" |
}, |
- "maxTotalInstances": { |
- "description": "Maximum number of instances that should be started to handle requests.", |
- "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" |
@@ -1312,13 +1115,13 @@ |
"description": "Third-party Python runtime library that is required by the application.", |
"id": "Library", |
"properties": { |
- "version": { |
- "description": "Version of the library to select, or \"latest\".", |
- "type": "string" |
- }, |
"name": { |
"description": "Name of the library. Example: \"django\".", |
"type": "string" |
+ }, |
+ "version": { |
+ "description": "Version of the library to select, or \"latest\".", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -1369,10 +1172,29 @@ |
}, |
"type": "object" |
}, |
+ "EndpointsApiService": { |
+ "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" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"UrlMap": { |
"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": [ |
@@ -1432,88 +1254,7 @@ |
"type": "string" |
}, |
"login": { |
- "description": "Level of login required to access this resource.", |
- "enum": [ |
- "LOGIN_UNSPECIFIED", |
- "LOGIN_OPTIONAL", |
- "LOGIN_ADMIN", |
- "LOGIN_REQUIRED" |
- ], |
- "enumDescriptions": [ |
- "Not specified. LOGIN_OPTIONAL is assumed.", |
- "Does not require that the user is signed in.", |
- "If the user is not signed in, the auth_fail_action is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of auth_fail_action. If the user is an administrator, the handler proceeds.", |
- "If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken." |
- ], |
- "type": "string" |
- }, |
- "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" |
- }, |
- "EndpointsApiService": { |
- "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" |
- } |
- }, |
- "type": "object" |
- }, |
- "Operation": { |
- "description": "This resource represents a long-running operation that is the result of a network API call.", |
- "id": "Operation", |
- "properties": { |
- "done": { |
- "description": "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.", |
- "type": "boolean" |
- }, |
- "response": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "description": "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.", |
- "type": "object" |
- }, |
- "name": { |
- "description": "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.", |
- "type": "string" |
- }, |
- "error": { |
- "$ref": "Status", |
- "description": "The error result of the operation in case of failure or cancellation." |
- }, |
- "metadata": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", |
- "type": "object" |
- } |
- }, |
- "type": "object" |
- }, |
- "ApiConfigHandler": { |
- "description": "Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.", |
- "id": "ApiConfigHandler", |
- "properties": { |
- "login": { |
- "description": "Level of login required to access this resource. Defaults to optional.", |
+ "description": "Level of login required to access this resource.", |
"enum": [ |
"LOGIN_UNSPECIFIED", |
"LOGIN_OPTIONAL", |
@@ -1528,10 +1269,17 @@ |
], |
"type": "string" |
}, |
- "url": { |
- "description": "URL to serve the endpoint at.", |
- "type": "string" |
- }, |
+ "apiEndpoint": { |
+ "$ref": "ApiEndpointHandler", |
+ "description": "Uses API Endpoints to handle requests." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ApiConfigHandler": { |
+ "description": "Google Cloud Endpoints (https://cloud.google.com/appengine/docs/python/endpoints/) configuration for API handlers.", |
+ "id": "ApiConfigHandler", |
+ "properties": { |
"securityLevel": { |
"description": "Security (HTTPS) enforcement for this URL.", |
"enum": [ |
@@ -1567,31 +1315,74 @@ |
"script": { |
"description": "Path to the script from the application root directory.", |
"type": "string" |
+ }, |
+ "login": { |
+ "description": "Level of login required to access this resource. Defaults to optional.", |
+ "enum": [ |
+ "LOGIN_UNSPECIFIED", |
+ "LOGIN_OPTIONAL", |
+ "LOGIN_ADMIN", |
+ "LOGIN_REQUIRED" |
+ ], |
+ "enumDescriptions": [ |
+ "Not specified. LOGIN_OPTIONAL is assumed.", |
+ "Does not require that the user is signed in.", |
+ "If the user is not signed in, the auth_fail_action is taken. In addition, if the user is not an administrator for the application, they are given an error message regardless of auth_fail_action. If the user is an administrator, the handler proceeds.", |
+ "If the user has signed in, the handler proceeds normally. Otherwise, the auth_fail_action is taken." |
+ ], |
+ "type": "string" |
+ }, |
+ "url": { |
+ "description": "URL to serve the endpoint at.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "StaticFilesHandler": { |
- "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", |
+ "Operation": { |
+ "description": "This resource represents a long-running operation that is the result of a network API call.", |
+ "id": "Operation", |
"properties": { |
- "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.", |
+ "done": { |
+ "description": "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.", |
+ "type": "boolean" |
+ }, |
+ "response": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "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.", |
+ "type": "object" |
+ }, |
+ "name": { |
+ "description": "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.", |
"type": "string" |
}, |
- "requireMatchingFile": { |
- "description": "Whether this handler should match the request if the file referenced by the handler does not exist.", |
- "type": "boolean" |
+ "error": { |
+ "$ref": "Status", |
+ "description": "The error result of the operation in case of failure or cancellation." |
}, |
+ "metadata": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.", |
+ "type": "object" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "StaticFilesHandler": { |
+ "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": { |
"expiration": { |
"description": "Time a static file served by this handler should be cached by web proxies and browsers.", |
"format": "google-duration", |
"type": "string" |
}, |
- "applicationReadable": { |
- "description": "Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.", |
- "type": "boolean" |
- }, |
"httpHeaders": { |
"additionalProperties": { |
"type": "string" |
@@ -1599,6 +1390,10 @@ |
"description": "HTTP headers to use for all responses from these URLs.", |
"type": "object" |
}, |
+ "applicationReadable": { |
+ "description": "Whether files should also be uploaded as code data. By default, files declared in static file handlers are uploaded as static data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.", |
+ "type": "boolean" |
+ }, |
"uploadPathRegex": { |
"description": "Regular expression that matches the file paths for all files that should be referenced by this handler.", |
"type": "string" |
@@ -1606,24 +1401,39 @@ |
"path": { |
"description": "Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.", |
"type": "string" |
+ }, |
+ "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" |
}, |
- "DiskUtilization": { |
- "description": "Target scaling by disk usage. Only applicable for VM runtimes.", |
- "id": "DiskUtilization", |
+ "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": { |
- "targetWriteOpsPerSecond": { |
- "description": "Target ops written per second.", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "targetWriteBytesPerSecond": { |
- "description": "Target bytes written per second.", |
+ "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" |
+ }, |
+ "DiskUtilization": { |
+ "description": "Target scaling by disk usage. Only applicable for VM runtimes.", |
+ "id": "DiskUtilization", |
+ "properties": { |
"targetReadBytesPerSecond": { |
"description": "Target bytes read per second.", |
"format": "int32", |
@@ -1633,23 +1443,16 @@ |
"description": "Target ops read per seconds.", |
"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.", |
+ }, |
+ "targetWriteOpsPerSecond": { |
+ "description": "Target ops written per second.", |
"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" |
+ "targetWriteBytesPerSecond": { |
+ "description": "Target bytes written per second.", |
+ "format": "int32", |
+ "type": "integer" |
} |
}, |
"type": "object" |
@@ -1675,10 +1478,6 @@ |
"description": "Identity-Aware Proxy", |
"id": "IdentityAwareProxy", |
"properties": { |
- "enabled": { |
- "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.", |
- "type": "boolean" |
- }, |
"oauth2ClientSecret": { |
"description": "OAuth2 client secret to use for the authentication flow.For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2_client_secret_sha256 field.@InputOnly", |
"type": "string" |
@@ -1690,23 +1489,18 @@ |
"oauth2ClientSecretSha256": { |
"description": "Hex-encoded SHA-256 hash of the client secret.@OutputOnly", |
"type": "string" |
+ }, |
+ "enabled": { |
+ "description": "Whether the serving infrastructure will authenticate and authorize all incoming requests.If true, the oauth2_client_id and oauth2_client_secret fields must be non-empty.", |
+ "type": "boolean" |
} |
}, |
"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 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:\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 purpose.\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.", |
+ "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": { |
@@ -1717,6 +1511,15 @@ |
"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" |
@@ -1789,70 +1592,30 @@ |
"description": "Metadata for the given google.longrunning.Operation.", |
"id": "OperationMetadata", |
"properties": { |
- "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" |
- }, |
"insertTime": { |
"description": "Timestamp that this operation was created.@OutputOnly", |
"format": "google-datetime", |
"type": "string" |
}, |
- "target": { |
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/modules/default.@OutputOnly", |
- "type": "string" |
- }, |
"user": { |
"description": "User who requested this operation.@OutputOnly", |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "OperationMetadataV1": { |
- "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", |
+ }, |
+ "target": { |
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/modules/default.@OutputOnly", |
"type": "string" |
}, |
"method": { |
- "description": "API method that initiated this operation. Example: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
+ "description": "API method that initiated this operation. Example: google.appengine.v1beta4.Version.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": { |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "insertTime": { |
- "description": "Time that this operation was created.@OutputOnly", |
+ "description": "Timestamp that this operation completed.@OutputOnly", |
"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", |
+ "operationType": { |
+ "description": "Type of this operation. Deprecated, use method field instead. Example: \"create_version\".@OutputOnly", |
"type": "string" |
} |
}, |
@@ -1880,43 +1643,61 @@ |
], |
"type": "string" |
}, |
- "mimeType": { |
- "description": "MIME type of file. Defaults to text/html.", |
+ "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" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "OperationMetadataV1": { |
+ "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": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "insertTime": { |
+ "description": "Time that this operation was created.@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "user": { |
+ "description": "User who requested this operation.@OutputOnly", |
"type": "string" |
}, |
- "staticFile": { |
- "description": "Static file content to be served for this error.", |
+ "target": { |
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", |
"type": "string" |
} |
}, |
"type": "object" |
}, |
"Application": { |
- "description": "An Application resource contains the top-level configuration of an App Engine application.", |
+ "description": "An Application resource contains the top-level configuration of an App Engine application. Next tag: 19", |
"id": "Application", |
"properties": { |
- "authDomain": { |
- "description": "Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.", |
- "type": "string" |
- }, |
- "iap": { |
- "$ref": "IdentityAwareProxy" |
- }, |
- "codeBucket": { |
- "description": "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", |
- "type": "string" |
- }, |
- "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" |
- }, |
"gcrDomain": { |
"description": "The Google Container Registry domain used for storing managed build docker images for this application.", |
"type": "string" |
@@ -1957,6 +1738,28 @@ |
"defaultHostname": { |
"description": "Hostname used to reach this application, as resolved by App Engine.@OutputOnly", |
"type": "string" |
+ }, |
+ "authDomain": { |
+ "description": "Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account.", |
+ "type": "string" |
+ }, |
+ "iap": { |
+ "$ref": "IdentityAwareProxy" |
+ }, |
+ "codeBucket": { |
+ "description": "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", |
+ "type": "string" |
+ }, |
+ "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" |
@@ -1991,6 +1794,40 @@ |
"description": "An Instance resource is the computing unit that App Engine uses to automatically scale an application.", |
"id": "Instance", |
"properties": { |
+ "vmDebugEnabled": { |
+ "description": "Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
+ "type": "boolean" |
+ }, |
+ "requests": { |
+ "description": "Number of requests since this instance was started.@OutputOnly", |
+ "format": "int32", |
+ "type": "integer" |
+ }, |
+ "appEngineRelease": { |
+ "description": "App Engine release this instance is running on.@OutputOnly", |
+ "type": "string" |
+ }, |
+ "vmName": { |
+ "description": "Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
+ "type": "string" |
+ }, |
+ "qps": { |
+ "description": "Average queries per second (QPS) over the last minute.@OutputOnly", |
+ "format": "float", |
+ "type": "number" |
+ }, |
+ "vmId": { |
+ "description": "Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
+ "type": "string" |
+ }, |
+ "vmZoneName": { |
+ "description": "Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
+ "type": "string" |
+ }, |
+ "name": { |
+ "description": "Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly", |
+ "type": "string" |
+ }, |
"averageLatency": { |
"description": "Average latency (ms) over the last minute.@OutputOnly", |
"format": "int32", |
@@ -2001,14 +1838,14 @@ |
"format": "int64", |
"type": "string" |
}, |
- "vmIp": { |
- "description": "The IP address of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
- "type": "string" |
- }, |
"id": { |
"description": "Relative name of the instance within the version. Example: instance-1.@OutputOnly", |
"type": "string" |
}, |
+ "vmIp": { |
+ "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", |
"type": "string" |
@@ -2036,40 +1873,6 @@ |
"description": "Time that this instance was started.@OutputOnly", |
"format": "google-datetime", |
"type": "string" |
- }, |
- "vmDebugEnabled": { |
- "description": "Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
- "type": "boolean" |
- }, |
- "requests": { |
- "description": "Number of requests since this instance was started.@OutputOnly", |
- "format": "int32", |
- "type": "integer" |
- }, |
- "appEngineRelease": { |
- "description": "App Engine release this instance is running on.@OutputOnly", |
- "type": "string" |
- }, |
- "vmName": { |
- "description": "Name of the virtual machine where this instance lives. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
- "type": "string" |
- }, |
- "qps": { |
- "description": "Average queries per second (QPS) over the last minute.@OutputOnly", |
- "format": "float", |
- "type": "number" |
- }, |
- "vmId": { |
- "description": "Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
- "type": "string" |
- }, |
- "name": { |
- "description": "Full path to the Instance resource in the API. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@OutputOnly", |
- "type": "string" |
- }, |
- "vmZoneName": { |
- "description": "Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.@OutputOnly", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -2078,6 +1881,24 @@ |
"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", |
@@ -2092,24 +1913,36 @@ |
"description": "The initial delay before starting to execute the checks.", |
"format": "google-duration", |
"type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Location": { |
+ "description": "A resource that represents Google Cloud Platform location.", |
+ "id": "Location", |
+ "properties": { |
+ "labels": { |
+ "additionalProperties": { |
+ "type": "string" |
+ }, |
+ "description": "Cross-service attributes for the location. For example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", |
+ "type": "object" |
}, |
- "path": { |
- "description": "The request path.", |
+ "name": { |
+ "description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\"", |
"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\"", |
+ "locationId": { |
+ "description": "The canonical id for this location. For example: \"us-east1\".", |
"type": "string" |
}, |
- "checkInterval": { |
- "description": "Interval between health checks.", |
- "format": "google-duration", |
- "type": "string" |
+ "metadata": { |
+ "additionalProperties": { |
+ "description": "Properties of the object. Contains field @type with type URL.", |
+ "type": "any" |
+ }, |
+ "description": "Service-specific metadata. For example the available capacity at the given location.", |
+ "type": "object" |
} |
}, |
"type": "object" |
@@ -2141,51 +1974,30 @@ |
}, |
"type": "object" |
}, |
- "Location": { |
- "description": "A resource that represents Google Cloud Platform location.", |
- "id": "Location", |
- "properties": { |
- "locationId": { |
- "description": "The canonical id for this location. For example: \"us-east1\".", |
- "type": "string" |
- }, |
- "metadata": { |
- "additionalProperties": { |
- "description": "Properties of the object. Contains field @type with type URL.", |
- "type": "any" |
- }, |
- "description": "Service-specific metadata. For example the available capacity at the given location.", |
- "type": "object" |
- }, |
- "labels": { |
- "additionalProperties": { |
- "type": "string" |
- }, |
- "description": "Cross-service attributes for the location. For example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", |
- "type": "object" |
- }, |
- "name": { |
- "description": "Resource name for the location, which may vary between implementations. For example: \"projects/example-project/locations/us-east1\"", |
- "type": "string" |
- } |
- }, |
- "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": { |
+ "unhealthyThreshold": { |
+ "description": "Number of consecutive failed health checks required before removing traffic.", |
+ "format": "uint32", |
+ "type": "integer" |
+ }, |
+ "disableHealthCheck": { |
+ "description": "Whether to explicitly disable health checks for this instance.", |
+ "type": "boolean" |
+ }, |
"host": { |
"description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"", |
"type": "string" |
}, |
- "healthyThreshold": { |
- "description": "Number of consecutive successful health checks required before receiving traffic.", |
+ "restartThreshold": { |
+ "description": "Number of consecutive failed health checks required before an instance is restarted.", |
"format": "uint32", |
"type": "integer" |
}, |
- "restartThreshold": { |
- "description": "Number of consecutive failed health checks required before an instance is restarted.", |
+ "healthyThreshold": { |
+ "description": "Number of consecutive successful health checks required before receiving traffic.", |
"format": "uint32", |
"type": "integer" |
}, |
@@ -2198,15 +2010,6 @@ |
"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", |
- "type": "integer" |
- }, |
- "disableHealthCheck": { |
- "description": "Whether to explicitly disable health checks for this instance.", |
- "type": "boolean" |
} |
}, |
"type": "object" |
@@ -2215,6 +2018,10 @@ |
"description": "Readiness checking configuration for VM instances. Unhealthy instances are removed from traffic rotation.", |
"id": "ReadinessCheck", |
"properties": { |
+ "path": { |
+ "description": "The request path.", |
+ "type": "string" |
+ }, |
"successThreshold": { |
"description": "Number of consecutive successful checks required before receiving traffic.", |
"format": "uint32", |
@@ -2229,19 +2036,15 @@ |
"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" |
- }, |
- "timeout": { |
- "description": "Time before the check is considered failed.", |
- "format": "google-duration", |
- "type": "string" |
- }, |
- "path": { |
- "description": "The request path.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -2261,10 +2064,6 @@ |
"description": "Metadata for the given google.longrunning.Operation.", |
"id": "OperationMetadataV1Beta5", |
"properties": { |
- "method": { |
- "description": "API method name that initiated this operation. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
- "type": "string" |
- }, |
"insertTime": { |
"description": "Timestamp that this operation was created.@OutputOnly", |
"format": "google-datetime", |
@@ -2282,6 +2081,10 @@ |
"target": { |
"description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", |
"type": "string" |
+ }, |
+ "method": { |
+ "description": "API method name that initiated this operation. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -2320,6 +2123,10 @@ |
], |
"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." |
@@ -2475,6 +2282,243 @@ |
"id": "RepairApplicationRequest", |
"properties": {}, |
"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" |
+ }, |
+ "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.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "OperationMetadataExperimental": { |
+ "description": "Metadata for the given google.longrunning.Operation.", |
+ "id": "OperationMetadataExperimental", |
+ "properties": { |
+ "method": { |
+ "description": "API method that initiated this operation. Example: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnly", |
+ "type": "string" |
+ }, |
+ "insertTime": { |
+ "description": "Time that this operation was created.@OutputOnly", |
+ "format": "google-datetime", |
+ "type": "string" |
+ }, |
+ "endTime": { |
+ "description": "Time that this operation completed.@OutputOnly", |
+ "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" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "TrafficSplit": { |
+ "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": { |
+ "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": [ |
+ "UNSPECIFIED", |
+ "COOKIE", |
+ "IP", |
+ "RANDOM" |
+ ], |
+ "enumDescriptions": [ |
+ "Diversion method unspecified.", |
+ "Diversion based on a specially named cookie, \"GOOGAPPUID.\" The cookie must be set by the application itself or no diversion will occur.", |
+ "Diversion based on applying the modulus operation to a fingerprint of the IP address.", |
+ "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" |
+ }, |
+ "OperationMetadataV1Beta": { |
+ "description": "Metadata for the given google.longrunning.Operation.", |
+ "id": "OperationMetadataV1Beta", |
+ "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": { |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "insertTime": { |
+ "description": "Time that this operation was created.@OutputOnly", |
+ "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" |
+ }, |
+ "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.v1beta.Versions.CreateVersion.@OutputOnly", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ListServicesResponse": { |
+ "description": "Response message for Services.ListServices.", |
+ "id": "ListServicesResponse", |
+ "properties": { |
+ "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" |
+ }, |
+ "Resources": { |
+ "description": "Machine resources for a version.", |
+ "id": "Resources", |
+ "properties": { |
+ "volumes": { |
+ "description": "User specified volumes.", |
+ "items": { |
+ "$ref": "Volume" |
+ }, |
+ "type": "array" |
+ }, |
+ "diskGb": { |
+ "description": "Disk size (GB) needed.", |
+ "format": "double", |
+ "type": "number" |
+ }, |
+ "cpu": { |
+ "description": "Number of CPU cores needed.", |
+ "format": "double", |
+ "type": "number" |
+ }, |
+ "memoryGb": { |
+ "description": "Memory (GB) needed.", |
+ "format": "double", |
+ "type": "number" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Deployment": { |
+ "description": "Code and application artifacts used to deploy a version to App Engine.", |
+ "id": "Deployment", |
+ "properties": { |
+ "files": { |
+ "additionalProperties": { |
+ "$ref": "FileInfo" |
+ }, |
+ "description": "Manifest of the files stored in Google Cloud Storage that are included as part of this version. All files must be readable using the credentials supplied with this call.", |
+ "type": "object" |
+ }, |
+ "zip": { |
+ "$ref": "ZipInfo", |
+ "description": "The zip file for this deployment, if this is a zip deployment." |
+ }, |
+ "container": { |
+ "$ref": "ContainerInfo", |
+ "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible environment." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Volume": { |
+ "description": "Volumes mounted within the app container. Only applicable for VM runtimes.", |
+ "id": "Volume", |
+ "properties": { |
+ "sizeGb": { |
+ "description": "Volume size in gigabytes.", |
+ "format": "double", |
+ "type": "number" |
+ }, |
+ "name": { |
+ "description": "Unique name for the volume.", |
+ "type": "string" |
+ }, |
+ "volumeType": { |
+ "description": "Underlying volume type, e.g. 'tmpfs'.", |
+ "type": "string" |
+ } |
+ }, |
+ "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": "", |