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

Unified Diff: discovery/googleapis_beta/appengine__v1beta4.json

Issue 2973303002: Api-Roll 51: 2017-07-10 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis_beta/appengine__v1beta.json ('k') | discovery/googleapis_beta/appengine__v1beta5.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis_beta/appengine__v1beta4.json
diff --git a/discovery/googleapis_beta/appengine__v1beta4.json b/discovery/googleapis_beta/appengine__v1beta4.json
index c66e60239f43aa71d9febb51cd71ea1fcddc2a53..3257f0f7205596db5cbbee2ba06c787b32477338 100644
--- a/discovery/googleapis_beta/appengine__v1beta4.json
+++ b/discovery/googleapis_beta/appengine__v1beta4.json
@@ -2,14 +2,14 @@
"auth": {
"oauth2": {
"scopes": {
- "https://www.googleapis.com/auth/cloud-platform.read-only": {
- "description": "View your data across Google Cloud Platform services"
- },
"https://www.googleapis.com/auth/cloud-platform": {
"description": "View and manage your data across Google Cloud Platform services"
},
"https://www.googleapis.com/auth/appengine.admin": {
"description": "View and manage your applications deployed on Google App Engine"
+ },
+ "https://www.googleapis.com/auth/cloud-platform.read-only": {
+ "description": "View your data across Google Cloud Platform services"
}
}
}
@@ -51,6 +51,11 @@
"location": "query",
"type": "string"
},
+ "callback": {
+ "description": "JSONP",
+ "location": "query",
+ "type": "string"
+ },
"$.xgafv": {
"description": "V1 error format.",
"enum": [
@@ -64,11 +69,6 @@
"location": "query",
"type": "string"
},
- "callback": {
- "description": "JSONP",
- "location": "query",
- "type": "string"
- },
"alt": {
"default": "json",
"description": "Data format for response.",
@@ -121,61 +121,61 @@
"resources": {
"apps": {
"methods": {
- "get": {
- "description": "Gets information about an application.",
- "httpMethod": "GET",
- "id": "appengine.apps.get",
+ "patch": {
+ "description": "Updates the specified Application resource. You can update the following fields:\nauth_domain (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps#Application.FIELDS.auth_domain)\ndefault_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps#Application.FIELDS.default_cookie_expiration)",
+ "httpMethod": "PATCH",
+ "id": "appengine.apps.patch",
"parameterOrder": [
"appsId"
],
"parameters": {
- "ensureResourcesExist": {
- "description": "Certain resources associated with an application are created on-demand. Controls whether these resources should be created when performing the GET operation. If specified and any resources could not be created, the request will fail with an error code. Additionally, this parameter can cause the request to take longer to complete.",
- "location": "query",
- "type": "boolean"
- },
"appsId": {
- "description": "Part of `name`. Name of the application to get. Example: apps/myapp.",
+ "description": "Part of `name`. Name of the Application resource to update. Example: apps/myapp.",
"location": "path",
"required": true,
"type": "string"
+ },
+ "mask": {
+ "description": "Standard field mask for the set of fields to be updated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
}
},
"path": "v1beta4/apps/{appsId}",
- "response": {
+ "request": {
"$ref": "Application"
},
+ "response": {
+ "$ref": "Operation"
+ },
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
- "patch": {
- "description": "Updates the specified Application resource. You can update the following fields:\nauth_domain (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps#Application.FIELDS.auth_domain)\ndefault_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps#Application.FIELDS.default_cookie_expiration)",
- "httpMethod": "PATCH",
- "id": "appengine.apps.patch",
+ "get": {
+ "description": "Gets information about an application.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.get",
"parameterOrder": [
"appsId"
],
"parameters": {
+ "ensureResourcesExist": {
+ "description": "Certain resources associated with an application are created on-demand. Controls whether these resources should be created when performing the GET operation. If specified and any resources could not be created, the request will fail with an error code. Additionally, this parameter can cause the request to take longer to complete.",
+ "location": "query",
+ "type": "boolean"
+ },
"appsId": {
- "description": "Part of `name`. Name of the Application resource to update. Example: apps/myapp.",
+ "description": "Part of `name`. Name of the application to get. Example: apps/myapp.",
"location": "path",
"required": true,
"type": "string"
- },
- "mask": {
- "description": "Standard field mask for the set of fields to be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
}
},
"path": "v1beta4/apps/{appsId}",
- "request": {
- "$ref": "Application"
- },
"response": {
- "$ref": "Operation"
+ "$ref": "Application"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
@@ -200,119 +200,81 @@
}
},
"resources": {
- "operations": {
+ "modules": {
"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 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.operations.list",
+ "patch": {
+ "description": "Updates the configuration of the specified module.",
+ "httpMethod": "PATCH",
+ "id": "appengine.apps.modules.patch",
"parameterOrder": [
- "appsId"
+ "appsId",
+ "modulesId"
],
"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's parent resource.",
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/modules/default.",
"location": "path",
"required": true,
"type": "string"
},
- "pageToken": {
- "description": "The standard list page token.",
+ "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/v1beta4/apps.modules.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules#shardby) field in the Module 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"
+ },
+ "mask": {
+ "description": "Standard field mask for the set of fields to be updated.",
+ "format": "google-fieldmask",
"location": "query",
- "type": "string"
- }
- },
- "path": "v1beta4/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.",
+ "modulesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta4/apps/{appsId}/operations/{operationsId}",
+ "path": "v1beta4/apps/{appsId}/modules/{modulesId}",
+ "request": {
+ "$ref": "Module"
+ },
"response": {
"$ref": "Operation"
},
"scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
+ "https://www.googleapis.com/auth/cloud-platform"
]
- }
- }
- },
- "locations": {
- "methods": {
+ },
"list": {
- "description": "Lists information about the supported locations for this service.",
+ "description": "Lists all the modules in the application.",
"httpMethod": "GET",
- "id": "appengine.apps.locations.list",
+ "id": "appengine.apps.modules.list",
"parameterOrder": [
"appsId"
],
"parameters": {
- "filter": {
- "description": "The standard list filter.",
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
"location": "query",
"type": "string"
},
"appsId": {
- "description": "Part of `name`. The resource that owns the locations collection, if applicable.",
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp.",
"location": "path",
"required": true,
"type": "string"
},
- "pageToken": {
- "description": "The standard list page token.",
- "location": "query",
- "type": "string"
- },
"pageSize": {
- "description": "The standard list page size.",
+ "description": "Maximum results to return per page.",
"format": "int32",
"location": "query",
"type": "integer"
}
},
- "path": "v1beta4/apps/{appsId}/locations",
+ "path": "v1beta4/apps/{appsId}/modules",
"response": {
- "$ref": "ListLocationsResponse"
+ "$ref": "ListModulesResponse"
},
"scopes": [
"https://www.googleapis.com/auth/appengine.admin",
@@ -321,41 +283,37 @@
]
},
"get": {
- "description": "Get information about a location.",
+ "description": "Gets the current configuration of the specified module.",
"httpMethod": "GET",
- "id": "appengine.apps.locations.get",
+ "id": "appengine.apps.modules.get",
"parameterOrder": [
"appsId",
- "locationsId"
+ "modulesId"
],
"parameters": {
"appsId": {
- "description": "Part of `name`. Resource name for the location.",
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default.",
"location": "path",
"required": true,
"type": "string"
},
- "locationsId": {
+ "modulesId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta4/apps/{appsId}/locations/{locationsId}",
+ "path": "v1beta4/apps/{appsId}/modules/{modulesId}",
"response": {
- "$ref": "Location"
+ "$ref": "Module"
},
"scopes": [
"https://www.googleapis.com/auth/appengine.admin",
"https://www.googleapis.com/auth/cloud-platform",
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
- }
- }
- },
- "modules": {
- "methods": {
+ },
"delete": {
"description": "Deletes the specified module and all enclosed versions.",
"httpMethod": "DELETE",
@@ -385,158 +343,107 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
- },
- "get": {
- "description": "Gets the current configuration of the specified module.",
- "httpMethod": "GET",
- "id": "appengine.apps.modules.get",
- "parameterOrder": [
- "appsId",
- "modulesId"
- ],
- "parameters": {
- "modulesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
+ }
+ },
+ "resources": {
+ "versions": {
+ "methods": {
+ "patch": {
+ "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.",
+ "httpMethod": "PATCH",
+ "id": "appengine.apps.modules.versions.patch",
+ "parameterOrder": [
+ "appsId",
+ "modulesId",
+ "versionsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/modules/default/versions/1.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "mask": {
+ "description": "Standard field mask for the set of fields to be updated.",
+ "format": "google-fieldmask",
+ "location": "query",
+ "type": "string"
+ },
+ "versionsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "modulesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}",
+ "request": {
+ "$ref": "Version"
+ },
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/cloud-platform"
+ ]
},
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta4/apps/{appsId}/modules/{modulesId}",
- "response": {
- "$ref": "Module"
- },
- "scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
- ]
- },
- "list": {
- "description": "Lists all the modules in the application.",
- "httpMethod": "GET",
- "id": "appengine.apps.modules.list",
- "parameterOrder": [
- "appsId"
- ],
- "parameters": {
- "pageSize": {
- "description": "Maximum results to return per page.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "pageToken": {
- "description": "Continuation token for fetching the next page of results.",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta4/apps/{appsId}/modules",
- "response": {
- "$ref": "ListModulesResponse"
- },
- "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 module.",
- "httpMethod": "PATCH",
- "id": "appengine.apps.modules.patch",
- "parameterOrder": [
- "appsId",
- "modulesId"
- ],
- "parameters": {
- "appsId": {
- "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/modules/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/v1beta4/apps.modules.versions#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#automaticscaling). You must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules#shardby) field in the Module 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"
- },
- "modulesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
- "type": "string"
- },
- "mask": {
- "description": "Standard field mask for the set of fields to be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
- }
- },
- "path": "v1beta4/apps/{appsId}/modules/{modulesId}",
- "request": {
- "$ref": "Module"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- }
- },
- "resources": {
- "versions": {
- "methods": {
- "delete": {
- "description": "Deletes an existing version.",
- "httpMethod": "DELETE",
- "id": "appengine.apps.modules.versions.delete",
+ "list": {
+ "description": "Lists the versions of a module.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.modules.versions.list",
"parameterOrder": [
"appsId",
- "modulesId",
- "versionsId"
+ "modulesId"
],
"parameters": {
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
"appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1.",
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default.",
"location": "path",
"required": true,
"type": "string"
},
- "modulesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
+ "pageSize": {
+ "description": "Maximum results to return per page.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ },
+ "view": {
+ "description": "Controls the set of fields returned in the List response.",
+ "enum": [
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
"type": "string"
},
- "versionsId": {
+ "modulesId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}",
+ "path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions",
"response": {
- "$ref": "Operation"
+ "$ref": "ListVersionsResponse"
},
"scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
"get": {
@@ -555,10 +462,13 @@
"required": true,
"type": "string"
},
- "modulesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
- "location": "path",
- "required": true,
+ "view": {
+ "description": "Controls the set of fields returned in the Get response.",
+ "enum": [
+ "BASIC",
+ "FULL"
+ ],
+ "location": "query",
"type": "string"
},
"versionsId": {
@@ -567,13 +477,10 @@
"required": true,
"type": "string"
},
- "view": {
- "description": "Controls the set of fields returned in the Get response.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "location": "query",
+ "modulesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
"type": "string"
}
},
@@ -587,62 +494,43 @@
"https://www.googleapis.com/auth/cloud-platform.read-only"
]
},
- "list": {
- "description": "Lists the versions of a module.",
- "httpMethod": "GET",
- "id": "appengine.apps.modules.versions.list",
+ "create": {
+ "description": "Deploys code and resource files to a new version.",
+ "httpMethod": "POST",
+ "id": "appengine.apps.modules.versions.create",
"parameterOrder": [
"appsId",
"modulesId"
],
"parameters": {
- "pageSize": {
- "description": "Maximum results to return per page.",
- "format": "int32",
- "location": "query",
- "type": "integer"
- },
- "modulesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
+ "appsId": {
+ "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/modules/default.",
"location": "path",
"required": true,
"type": "string"
},
- "view": {
- "description": "Controls the set of fields returned in the List response.",
- "enum": [
- "BASIC",
- "FULL"
- ],
- "location": "query",
- "type": "string"
- },
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default.",
+ "modulesId": {
+ "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",
- "type": "string"
}
},
"path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions",
+ "request": {
+ "$ref": "Version"
+ },
"response": {
- "$ref": "ListVersionsResponse"
+ "$ref": "Operation"
},
"scopes": [
- "https://www.googleapis.com/auth/appengine.admin",
- "https://www.googleapis.com/auth/cloud-platform",
- "https://www.googleapis.com/auth/cloud-platform.read-only"
+ "https://www.googleapis.com/auth/cloud-platform"
]
},
- "patch": {
- "description": "Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses:\nserving_status (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment.\ninstance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment.\nautomatic_scaling.min_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.",
- "httpMethod": "PATCH",
- "id": "appengine.apps.modules.versions.patch",
+ "delete": {
+ "description": "Deletes an existing version.",
+ "httpMethod": "DELETE",
+ "id": "appengine.apps.modules.versions.delete",
"parameterOrder": [
"appsId",
"modulesId",
@@ -650,67 +538,25 @@
],
"parameters": {
"appsId": {
- "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/modules/default/versions/1.",
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1.",
"location": "path",
"required": true,
"type": "string"
},
- "modulesId": {
+ "versionsId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
},
- "versionsId": {
+ "modulesId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
- },
- "mask": {
- "description": "Standard field mask for the set of fields to be updated.",
- "format": "google-fieldmask",
- "location": "query",
- "type": "string"
}
},
"path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}",
- "request": {
- "$ref": "Version"
- },
- "response": {
- "$ref": "Operation"
- },
- "scopes": [
- "https://www.googleapis.com/auth/cloud-platform"
- ]
- },
- "create": {
- "description": "Deploys code and resource files to a new version.",
- "httpMethod": "POST",
- "id": "appengine.apps.modules.versions.create",
- "parameterOrder": [
- "appsId",
- "modulesId"
- ],
- "parameters": {
- "modulesId": {
- "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/modules/default.",
- "location": "path",
- "required": true,
- "type": "string"
- }
- },
- "path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions",
- "request": {
- "$ref": "Version"
- },
"response": {
"$ref": "Operation"
},
@@ -722,10 +568,10 @@
"resources": {
"instances": {
"methods": {
- "get": {
- "description": "Gets instance information.",
- "httpMethod": "GET",
- "id": "appengine.apps.modules.versions.instances.get",
+ "delete": {
+ "description": "Stops a running instance.",
+ "httpMethod": "DELETE",
+ "id": "appengine.apps.modules.versions.instances.delete",
"parameterOrder": [
"appsId",
"modulesId",
@@ -733,26 +579,26 @@
"instancesId"
],
"parameters": {
- "modulesId": {
+ "versionsId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
},
- "versionsId": {
+ "modulesId": {
"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/modules/default/versions/v1/instances/instance-1.",
+ "instancesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
},
- "instancesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.",
"location": "path",
"required": true,
"type": "string"
@@ -760,12 +606,10 @@
},
"path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}",
"response": {
- "$ref": "Instance"
+ "$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"
]
},
"list": {
@@ -778,30 +622,30 @@
"versionsId"
],
"parameters": {
+ "pageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "location": "query",
+ "type": "string"
+ },
"appsId": {
"description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1.",
"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"
},
- "modulesId": {
+ "versionsId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
},
- "versionsId": {
+ "modulesId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
@@ -818,10 +662,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.modules.versions.instances.debug",
+ "get": {
+ "description": "Gets instance information.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.modules.versions.instances.get",
"parameterOrder": [
"appsId",
"modulesId",
@@ -829,46 +673,45 @@
"instancesId"
],
"parameters": {
- "modulesId": {
+ "instancesId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
},
- "versionsId": {
- "description": "Part of `name`. See documentation of `appsId`.",
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.",
"location": "path",
"required": true,
"type": "string"
},
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.",
+ "versionsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
},
- "instancesId": {
+ "modulesId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}:debug",
- "request": {
- "$ref": "DebugInstanceRequest"
- },
+ "path": "v1beta4/apps/{appsId}/modules/{modulesId}/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.modules.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.modules.versions.instances.debug",
"parameterOrder": [
"appsId",
"modulesId",
@@ -876,32 +719,35 @@
"instancesId"
],
"parameters": {
- "appsId": {
- "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.",
+ "instancesId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
},
- "instancesId": {
- "description": "Part of `name`. See documentation of `appsId`.",
+ "appsId": {
+ "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.",
"location": "path",
"required": true,
"type": "string"
},
- "modulesId": {
+ "versionsId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
},
- "versionsId": {
+ "modulesId": {
"description": "Part of `name`. See documentation of `appsId`.",
"location": "path",
"required": true,
"type": "string"
}
},
- "path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}",
+ "path": "v1beta4/apps/{appsId}/modules/{modulesId}/versions/{versionsId}/instances/{instancesId}:debug",
+ "request": {
+ "$ref": "DebugInstanceRequest"
+ },
"response": {
"$ref": "Operation"
},
@@ -914,17 +760,233 @@
}
}
}
+ },
+ "operations": {
+ "methods": {
+ "get": {
+ "description": "Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.operations.get",
+ "parameterOrder": [
+ "appsId",
+ "operationsId"
+ ],
+ "parameters": {
+ "appsId": {
+ "description": "Part of `name`. The name of the operation resource.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "operationsId": {
+ "description": "Part of `name`. See documentation of `appsId`.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ }
+ },
+ "path": "v1beta4/apps/{appsId}/operations/{operationsId}",
+ "response": {
+ "$ref": "Operation"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/appengine.admin",
+ "https://www.googleapis.com/auth/cloud-platform",
+ "https://www.googleapis.com/auth/cloud-platform.read-only"
+ ]
+ },
+ "list": {
+ "description": "Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as \"/v1/{name=users/*}/operations\" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent resource, without the operations collection id.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.operations.list",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ },
+ "appsId": {
+ "description": "Part of `name`. The name of the operation's parent resource.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v1beta4/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"
+ ]
+ }
+ }
+ },
+ "locations": {
+ "methods": {
+ "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": "v1beta4/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"
+ ]
+ },
+ "list": {
+ "description": "Lists information about the supported locations for this service.",
+ "httpMethod": "GET",
+ "id": "appengine.apps.locations.list",
+ "parameterOrder": [
+ "appsId"
+ ],
+ "parameters": {
+ "filter": {
+ "description": "The standard list filter.",
+ "location": "query",
+ "type": "string"
+ },
+ "pageToken": {
+ "description": "The standard list page token.",
+ "location": "query",
+ "type": "string"
+ },
+ "appsId": {
+ "description": "Part of `name`. The resource that owns the locations collection, if applicable.",
+ "location": "path",
+ "required": true,
+ "type": "string"
+ },
+ "pageSize": {
+ "description": "The standard list page size.",
+ "format": "int32",
+ "location": "query",
+ "type": "integer"
+ }
+ },
+ "path": "v1beta4/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"
+ ]
+ }
+ }
+ }
+ }
+ }
+ },
+ "revision": "20170626",
+ "rootUrl": "https://appengine.googleapis.com/",
+ "schemas": {
+ "ListInstancesResponse": {
+ "description": "Response message for Instances.ListInstances.",
+ "id": "ListInstancesResponse",
+ "properties": {
+ "instances": {
+ "description": "The instances belonging to the requested version.",
+ "items": {
+ "$ref": "Instance"
+ },
+ "type": "array"
+ },
+ "nextPageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "OperationMetadataV1": {
+ "description": "Metadata for the given google.longrunning.Operation.",
+ "id": "OperationMetadataV1",
+ "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"
+ },
+ "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.v1.Versions.CreateVersion.@OutputOnly",
+ "type": "string"
}
- }
- }
- },
- "revision": "20170601",
- "rootUrl": "https://appengine.googleapis.com/",
- "schemas": {
+ },
+ "type": "object"
+ },
"ErrorHandler": {
"description": "Custom static error page to be served when an error occurs.",
"id": "ErrorHandler",
"properties": {
+ "mimeType": {
+ "description": "MIME type of file. Defaults to text/html.",
+ "type": "string"
+ },
"errorCode": {
"description": "Error condition this handler applies to.",
"enum": [
@@ -943,10 +1005,6 @@
],
"type": "string"
},
- "mimeType": {
- "description": "MIME type of file. Defaults to text/html.",
- "type": "string"
- },
"staticFile": {
"description": "Static file content to be served for this error.",
"type": "string"
@@ -954,22 +1012,10 @@
},
"type": "object"
},
- "OperationMetadataV1": {
+ "OperationMetadataV1Alpha": {
"description": "Metadata for the given google.longrunning.Operation.",
- "id": "OperationMetadataV1",
+ "id": "OperationMetadataV1Alpha",
"properties": {
- "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"
@@ -983,21 +1029,9 @@
"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.v1alpha.Versions.CreateVersion.@OutputOnly",
"type": "string"
},
- "endTime": {
- "description": "Time that this operation completed.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- }
- },
- "type": "object"
- },
- "OperationMetadataV1Alpha": {
- "description": "Metadata for the given google.longrunning.Operation.",
- "id": "OperationMetadataV1Alpha",
- "properties": {
"endTime": {
"description": "Time that this operation completed.@OutputOnly",
"format": "google-datetime",
@@ -1014,22 +1048,6 @@
"description": "Time 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/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.v1alpha.Versions.CreateVersion.@OutputOnly",
- "type": "string"
}
},
"type": "object"
@@ -1038,6 +1056,26 @@
"description": "An Application resource contains the top-level configuration of an App Engine application.",
"id": "Application",
"properties": {
+ "name": {
+ "description": "Full path to the Application resource in the API. Example: apps/myapp.@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"
+ },
+ "defaultCookieExpiration": {
+ "description": "Cookie expiration policy for this application.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "id": {
+ "description": "Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.",
+ "type": "string"
+ },
"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"
@@ -1060,26 +1098,6 @@
"defaultHostname": {
"description": "Hostname used to reach the application, as resolved by App Engine.@OutputOnly",
"type": "string"
- },
- "name": {
- "description": "Full path to the Application resource in the API. Example: apps/myapp.@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"
- },
- "id": {
- "description": "Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp.",
- "type": "string"
- },
- "defaultCookieExpiration": {
- "description": "Cookie expiration policy for this application.",
- "format": "google-duration",
- "type": "string"
}
},
"type": "object"
@@ -1088,6 +1106,10 @@
"description": "Extra network settings. Only applicable for VM runtimes.",
"id": "Network",
"properties": {
+ "instanceTag": {
+ "description": "Tag to apply to the VM instance during creation.",
+ "type": "string"
+ },
"forwardedPorts": {
"description": "List of ports, or port pairs, to forward from the virtual machine to the application container.",
"items": {
@@ -1095,10 +1117,6 @@
},
"type": "array"
},
- "instanceTag": {
- "description": "Tag to apply to the VM instance during creation.",
- "type": "string"
- },
"name": {
"description": "Google Cloud Platform network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.",
"type": "string"
@@ -1106,25 +1124,6 @@
},
"type": "object"
},
- "UrlDispatchRule": {
- "description": "Rules to match an HTTP request and dispatch that request to a module.",
- "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"
- },
- "module": {
- "description": "Resource ID of a module in this application that should serve the matched request. The module must already exist. Example: default.",
- "type": "string"
- }
- },
- "type": "object"
- },
"Instance": {
"description": "An Instance resource is the computing unit that App Engine uses to automatically scale an application.",
"id": "Instance",
@@ -1156,14 +1155,14 @@
"description": "Virtual machine ID of this instance. Only applicable for instances in App Engine flexible environment.@OutputOnly",
"type": "string"
},
- "vmUnlocked": {
- "description": "Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly",
- "type": "boolean"
- },
"name": {
"description": "Full path to the Instance resource in the API. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.@OutputOnly",
"type": "string"
},
+ "vmUnlocked": {
+ "description": "Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly",
+ "type": "boolean"
+ },
"vmZoneName": {
"description": "Zone where the virtual machine is located. Only applicable for instances in App Engine flexible environment.@OutputOnly",
"type": "string"
@@ -1177,19 +1176,18 @@
"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"
- },
"memoryUsage": {
"description": "Total memory in use (bytes).@OutputOnly",
"format": "int64",
"type": "string"
},
- "errors": {
- "description": "Number of errors since this instance was started.@OutputOnly",
- "format": "uint32",
- "type": "integer"
+ "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"
},
"availability": {
"description": "Availability of the instance.@OutputOnly",
@@ -1205,26 +1203,28 @@
],
"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"
+ "errors": {
+ "description": "Number of errors since this instance was started.@OutputOnly",
+ "format": "uint32",
+ "type": "integer"
}
},
"type": "object"
},
- "ListVersionsResponse": {
- "description": "Response message for Versions.ListVersions.",
- "id": "ListVersionsResponse",
+ "UrlDispatchRule": {
+ "description": "Rules to match an HTTP request and dispatch that request to a module.",
+ "id": "UrlDispatchRule",
"properties": {
- "versions": {
- "description": "The versions belonging to the requested module.",
- "items": {
- "$ref": "Version"
- },
- "type": "array"
+ "module": {
+ "description": "Resource ID of a module in this application that should serve the matched request. The module must already exist. Example: default.",
+ "type": "string"
},
- "nextPageToken": {
- "description": "Continuation token for fetching the next page of results.",
+ "domain": {
+ "description": "Domain name to match against. The wildcard \"*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".",
+ "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"
}
},
@@ -1234,10 +1234,6 @@
"description": "A Module resource is a logical component of an application that can share state and communicate in a secure fashion with other modules. For example, an application that handles customer requests might include separate modules to handle tasks such as backend data analysis or API requests from mobile devices. Each module has a collection of versions that define a specific set of code used to implement the functionality of that module.",
"id": "Module",
"properties": {
- "name": {
- "description": "Full path to the Module resource in the API. Example: apps/myapp/modules/default.@OutputOnly",
- "type": "string"
- },
"split": {
"$ref": "TrafficSplit",
"description": "Mapping that defines fractional HTTP traffic diversion to different versions within the module."
@@ -1245,6 +1241,28 @@
"id": {
"description": "Relative name of the module within the application. Example: default.@OutputOnly",
"type": "string"
+ },
+ "name": {
+ "description": "Full path to the Module resource in the API. Example: apps/myapp/modules/default.@OutputOnly",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ListVersionsResponse": {
+ "description": "Response message for Versions.ListVersions.",
+ "id": "ListVersionsResponse",
+ "properties": {
+ "nextPageToken": {
+ "description": "Continuation token for fetching the next page of results.",
+ "type": "string"
+ },
+ "versions": {
+ "description": "The versions belonging to the requested module.",
+ "items": {
+ "$ref": "Version"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -1264,11 +1282,6 @@
"description": "Files served directly to the user for a given URL, such as images, CSS stylesheets, or JavaScript source files. Static directory handlers make it easy to serve the entire contents of a directory as static files.",
"id": "StaticDirectoryHandler",
"properties": {
- "expiration": {
- "description": "Time a static file served by this handler should be cached.",
- "format": "google-duration",
- "type": "string"
- },
"httpHeaders": {
"additionalProperties": {
"type": "string"
@@ -1291,28 +1304,19 @@
"requireMatchingFile": {
"description": "Whether this handler should match the request if the file referenced by the handler does not exist.",
"type": "boolean"
- }
- },
- "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."
- },
- "maxIdleInstances": {
- "description": "Maximum number of idle instances that should be maintained for this version.",
- "format": "int32",
- "type": "integer"
- },
- "minIdleInstances": {
- "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a module.",
- "format": "int32",
- "type": "integer"
},
+ "expiration": {
+ "description": "Time a static file served by this handler should be cached.",
+ "format": "google-duration",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "AutomaticScaling": {
+ "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.",
+ "id": "AutomaticScaling",
+ "properties": {
"maxTotalInstances": {
"description": "Maximum number of instances that should be started to handle requests.",
"format": "int32",
@@ -1354,6 +1358,20 @@
"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 module.",
+ "format": "int32",
+ "type": "integer"
}
},
"type": "object"
@@ -1362,13 +1380,13 @@
"description": "Target scaling by network usage. Only applicable for VM runtimes.",
"id": "NetworkUtilization",
"properties": {
- "targetSentPacketsPerSec": {
- "description": "Target packets sent per second.",
+ "targetReceivedBytesPerSec": {
+ "description": "Target bytes received per second.",
"format": "int32",
"type": "integer"
},
- "targetSentBytesPerSec": {
- "description": "Target bytes sent per second.",
+ "targetSentPacketsPerSec": {
+ "description": "Target packets sent per second.",
"format": "int32",
"type": "integer"
},
@@ -1377,8 +1395,8 @@
"format": "int32",
"type": "integer"
},
- "targetReceivedBytesPerSec": {
- "description": "Target bytes received per second.",
+ "targetSentBytesPerSec": {
+ "description": "Target bytes sent per second.",
"format": "int32",
"type": "integer"
}
@@ -1432,13 +1450,13 @@
"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"
},
@@ -1485,13 +1503,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"
@@ -1500,10 +1518,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",
@@ -1514,12 +1528,16 @@
"format": "google-datetime",
"type": "string"
},
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
+ "type": "string"
+ },
"user": {
"description": "User who requested this operation.@OutputOnly",
"type": "string"
},
- "target": {
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
+ "method": {
+ "description": "API method name that initiated this operation. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly",
"type": "string"
}
},
@@ -1543,50 +1561,10 @@
},
"type": "object"
},
- "ContainerInfo": {
- "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.",
- "id": "ContainerInfo",
- "properties": {
- "image": {
- "description": "URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
- "type": "string"
- }
- },
- "type": "object"
- },
"Version": {
"description": "A Version resource is a specific set of source code and configuration files that are deployed into a module.",
"id": "Version",
"properties": {
- "defaultExpiration": {
- "description": "Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.",
- "format": "google-duration",
- "type": "string"
- },
- "libraries": {
- "description": "Configuration for third-party Python runtime libraries required by the application.Only returned in GET requests if view=FULL is set.",
- "items": {
- "$ref": "Library"
- },
- "type": "array"
- },
- "creationTime": {
- "description": "Time that this version was created.@OutputOnly",
- "format": "google-datetime",
- "type": "string"
- },
- "nobuildFilesRegex": {
- "description": "Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.",
- "type": "string"
- },
- "basicScaling": {
- "$ref": "BasicScaling",
- "description": "A module 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."
- },
- "runtime": {
- "description": "Desired runtime. Example: python27.",
- "type": "string"
- },
"id": {
"description": "Relative name of the version within the module. Example: v1. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \"ah-\".",
"type": "string"
@@ -1678,6 +1656,10 @@
"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"
},
+ "resources": {
+ "$ref": "Resources",
+ "description": "Machine resources for this version. Only applicable for VM runtimes."
+ },
"inboundServices": {
"description": "Before an application can receive email or XMPP messages, the application must be configured to enable the service.",
"enumDescriptions": [
@@ -1707,16 +1689,52 @@
},
"type": "array"
},
- "resources": {
- "$ref": "Resources",
- "description": "Machine resources for this version. Only applicable for VM runtimes."
- },
"errorHandlers": {
"description": "Custom static error pages. Limited to 10KB per page.Only returned in GET requests if view=FULL is set.",
"items": {
"$ref": "ErrorHandler"
},
"type": "array"
+ },
+ "defaultExpiration": {
+ "description": "Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding StaticFilesHandler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#staticfileshandler) does not specify its own expiration time.Only returned in GET requests if view=FULL is set.",
+ "format": "google-duration",
+ "type": "string"
+ },
+ "libraries": {
+ "description": "Configuration for third-party Python runtime libraries required by the application.Only returned in GET requests if view=FULL is set.",
+ "items": {
+ "$ref": "Library"
+ },
+ "type": "array"
+ },
+ "nobuildFilesRegex": {
+ "description": "Files that match this pattern will not be built into this version. Only applicable for Go runtimes.Only returned in GET requests if view=FULL is set.",
+ "type": "string"
+ },
+ "creationTime": {
+ "description": "Time that this version was created.@OutputOnly",
+ "format": "google-datetime",
+ "type": "string"
+ },
+ "basicScaling": {
+ "$ref": "BasicScaling",
+ "description": "A module 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."
+ },
+ "runtime": {
+ "description": "Desired runtime. Example: python27.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "ContainerInfo": {
+ "description": "Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.",
+ "id": "ContainerInfo",
+ "properties": {
+ "image": {
+ "description": "URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
+ "type": "string"
}
},
"type": "object"
@@ -1725,13 +1743,13 @@
"description": "Target scaling by request utilization. Only applicable for VM runtimes.",
"id": "RequestUtilization",
"properties": {
- "targetRequestCountPerSec": {
- "description": "Target requests per second.",
+ "targetConcurrentRequests": {
+ "description": "Target number of concurrent requests.",
"format": "int32",
"type": "integer"
},
- "targetConcurrentRequests": {
- "description": "Target number of concurrent requests.",
+ "targetRequestCountPerSec": {
+ "description": "Target requests per second.",
"format": "int32",
"type": "integer"
}
@@ -1742,6 +1760,34 @@
"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": {
+ "script": {
+ "$ref": "ScriptHandler",
+ "description": "Executes a script to handle the request that matches this URL pattern."
+ },
+ "urlRegex": {
+ "description": "A URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.",
+ "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."
+ },
"staticDirectory": {
"$ref": "StaticDirectoryHandler",
"description": "Serves the entire contents of a directory as static files.This attribute is deprecated. You can mimic the behavior of static directories using static files."
@@ -1799,34 +1845,6 @@
"Rejects request with a 401 HTTP status code and an error message."
],
"type": "string"
- },
- "script": {
- "$ref": "ScriptHandler",
- "description": "Executes a script to handle the request that matches this URL pattern."
- },
- "urlRegex": {
- "description": "A URL prefix. Uses regular expression syntax, which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, using the portion of the URL after the prefix as part of the file path.",
- "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."
}
},
"type": "object"
@@ -1835,10 +1853,6 @@
"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.",
@@ -1862,6 +1876,10 @@
},
"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"
+ },
+ "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"
}
},
"type": "object"
@@ -1870,22 +1888,6 @@
"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.",
- "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"
@@ -1921,20 +1923,44 @@
"Rejects request with a 401 HTTP status code and an error message."
],
"type": "string"
- },
- "script": {
- "description": "Path to the script from the application root directory.",
- "type": "string"
+ },
+ "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"
}
},
"type": "object"
},
- "ScriptHandler": {
- "description": "Executes a script to handle the request that matches the URL pattern.",
- "id": "ScriptHandler",
+ "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": {
- "scriptPath": {
- "description": "Path to the script from the application root directory.",
+ "sha1Sum": {
+ "description": "The SHA1 hash of the file, in hex.",
+ "type": "string"
+ },
+ "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"
}
},
@@ -1944,22 +1970,6 @@
"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.",
- "format": "google-duration",
- "type": "string"
- },
- "httpHeaders": {
- "additionalProperties": {
- "type": "string"
- },
- "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"
@@ -1975,24 +1985,32 @@
"requireMatchingFile": {
"description": "Whether this handler should match the request if the file referenced by the handler does not exist.",
"type": "boolean"
+ },
+ "expiration": {
+ "description": "Time a static file served by this handler should be cached.",
+ "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"
+ },
+ "description": "HTTP headers to use for all responses from these URLs.",
+ "type": "object"
}
},
"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",
+ "ScriptHandler": {
+ "description": "Executes a script to handle the request that matches the URL pattern.",
+ "id": "ScriptHandler",
"properties": {
- "sha1Sum": {
- "description": "The SHA1 hash of the file, in hex.",
- "type": "string"
- },
- "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>'.",
+ "scriptPath": {
+ "description": "Path to the script from the application root directory.",
"type": "string"
}
},
@@ -2046,27 +2064,27 @@
"description": "Metadata for the given google.longrunning.Operation.",
"id": "OperationMetadataExperimental",
"properties": {
- "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",
+ "target": {
+ "description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly",
"type": "string"
},
"user": {
"description": "User who requested this operation.@OutputOnly",
"type": "string"
},
- "target": {
- "description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly",
- "type": "string"
- },
"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"
}
},
"type": "object"
@@ -2088,14 +2106,37 @@
},
"type": "object"
},
+ "Status": {
+ "description": "The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC (https://github.com/grpc). The error model is designed to be:\nSimple to use and understand for most users\nFlexible enough to meet unexpected needsOverviewThe Status message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. The error message should be a developer-facing English message that helps developers understand and resolve the error. If a localized user-facing error message is needed, put the localized message in the error details or localize it in the client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package google.rpc that can be used for common error conditions.Language mappingThe Status message is the logical representation of the error model, but it is not necessarily the actual wire format. When the Status message is exposed in different client libraries and different wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model include:\nPartial errors. If a service needs to return partial errors to the client, it may embed the Status in the normal response to indicate the partial errors.\nWorkflow errors. A typical workflow has multiple steps. Each step may have a Status message for error reporting.\nBatch operations. If a client uses batch request and batch response, the Status message should be used directly inside batch response, one for each error sub-response.\nAsynchronous operations. If an API call embeds asynchronous operation results in its response, the status of those operations should be represented directly using the Status message.\nLogging. If some API errors are stored in logs, the message Status could be used directly after any stripping needed for security/privacy reasons.",
+ "id": "Status",
+ "properties": {
+ "details": {
+ "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.",
+ "items": {
+ "additionalProperties": {
+ "description": "Properties of the object. Contains field @type with type URL.",
+ "type": "any"
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "code": {
+ "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "format": "int32",
+ "type": "integer"
+ },
+ "message": {
+ "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
"IdentityAwareProxy": {
"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": "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"
@@ -2107,33 +2148,22 @@
"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 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",
+ "ManualScaling": {
+ "description": "A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.",
+ "id": "ManualScaling",
"properties": {
- "code": {
- "description": "The status code, which should be an enum value of google.rpc.Code.",
+ "instances": {
+ "description": "Number of instances to assign to the module at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.",
"format": "int32",
"type": "integer"
- },
- "message": {
- "description": "A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
- "type": "string"
- },
- "details": {
- "description": "A list of messages that carry the error details. There will be a common set of message types for APIs to use.",
- "items": {
- "additionalProperties": {
- "description": "Properties of the object. Contains field @type with type URL.",
- "type": "any"
- },
- "type": "object"
- },
- "type": "array"
}
},
"type": "object"
@@ -2142,6 +2172,14 @@
"description": "Traffic routing configuration for versions within a single module. Traffic splits define how traffic directed to the module is assigned to versions.",
"id": "TrafficSplit",
"properties": {
+ "allocations": {
+ "additionalProperties": {
+ "format": "double",
+ "type": "number"
+ },
+ "description": "Mapping from version IDs within the module to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the module may not have any traffic allocation. Modules that have traffic allocated cannot be deleted until either the module is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based splits and up to three decimal places is supported for cookie-based splits.",
+ "type": "object"
+ },
"shardBy": {
"description": "Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either type until allocations are changed.",
"enum": [
@@ -2155,26 +2193,6 @@
"Diversion based on applying the modulus operation to a fingerprint of the IP address."
],
"type": "string"
- },
- "allocations": {
- "additionalProperties": {
- "format": "double",
- "type": "number"
- },
- "description": "Mapping from version IDs within the module to fractional (0.000, 1] allocations of traffic for that version. Each version can be specified only once, but some versions in the module may not have any traffic allocation. Modules that have traffic allocated cannot be deleted until either the module 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"
- },
- "ManualScaling": {
- "description": "A module with manual scaling runs continuously, allowing you to perform complex initialization and rely on the state of its memory over time.",
- "id": "ManualScaling",
- "properties": {
- "instances": {
- "description": "Number of instances to assign to the module at the start. This number can later be altered by using the Modules API (https://cloud.google.com/appengine/docs/python/modules/functions) set_num_instances() function.",
- "format": "int32",
- "type": "integer"
}
},
"type": "object"
@@ -2183,13 +2201,13 @@
"description": "Metadata for the given google.cloud.location.Location.",
"id": "LocationMetadata",
"properties": {
- "flexibleEnvironmentAvailable": {
- "description": "App Engine Flexible Environment is available in the given location.@OutputOnly",
- "type": "boolean"
- },
"standardEnvironmentAvailable": {
"description": "App Engine Standard Environment is available in the given location.@OutputOnly",
"type": "boolean"
+ },
+ "flexibleEnvironmentAvailable": {
+ "description": "App Engine Flexible Environment is available in the given location.@OutputOnly",
+ "type": "boolean"
}
},
"type": "object"
@@ -2198,6 +2216,11 @@
"description": "Metadata for the given google.longrunning.Operation.",
"id": "OperationMetadataV1Beta",
"properties": {
+ "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": {
@@ -2205,11 +2228,6 @@
},
"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"
@@ -2256,9 +2274,12 @@
"description": "Code and application artifacts used to deploy a version to App Engine.",
"id": "Deployment",
"properties": {
- "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."
+ "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"
},
"sourceReferences": {
"description": "Origin of the source code for this deployment. There can be more than one source reference per version if source code is distributed among multiple repositories.",
@@ -2267,12 +2288,9 @@
},
"type": "array"
},
- "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"
+ "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"
@@ -2281,13 +2299,13 @@
"description": "Machine resources for a version.",
"id": "Resources",
"properties": {
- "cpu": {
- "description": "Number of CPU cores needed.",
+ "memoryGb": {
+ "description": "Memory (GB) needed.",
"format": "double",
"type": "number"
},
- "memoryGb": {
- "description": "Memory (GB) needed.",
+ "cpu": {
+ "description": "Number of CPU cores needed.",
"format": "double",
"type": "number"
},
@@ -2348,6 +2366,10 @@
"description": "Metadata for the given google.longrunning.Operation.",
"id": "OperationMetadata",
"properties": {
+ "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",
@@ -2369,28 +2391,6 @@
"description": "Timestamp that this operation completed.@OutputOnly",
"format": "google-datetime",
"type": "string"
- },
- "operationType": {
- "description": "Type of this operation. Deprecated, use method field instead. Example: \"create_version\".@OutputOnly",
- "type": "string"
- }
- },
- "type": "object"
- },
- "ListInstancesResponse": {
- "description": "Response message for Instances.ListInstances.",
- "id": "ListInstancesResponse",
- "properties": {
- "instances": {
- "description": "The instances belonging to the requested version.",
- "items": {
- "$ref": "Instance"
- },
- "type": "array"
- },
- "nextPageToken": {
- "description": "Continuation token for fetching the next page of results.",
- "type": "string"
}
},
"type": "object"
« no previous file with comments | « discovery/googleapis_beta/appengine__v1beta.json ('k') | discovery/googleapis_beta/appengine__v1beta5.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698