OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/appengine.admin": { | |
6 "description": "View and manage your applications deployed o
n Google App Engine" | |
7 }, | |
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 5 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
9 "description": "View your data across Google Cloud Platform
services" | 6 "description": "View your data across Google Cloud Platform
services" |
10 }, | 7 }, |
11 "https://www.googleapis.com/auth/cloud-platform": { | 8 "https://www.googleapis.com/auth/cloud-platform": { |
12 "description": "View and manage your data across Google Clou
d Platform services" | 9 "description": "View and manage your data across Google Clou
d Platform services" |
| 10 }, |
| 11 "https://www.googleapis.com/auth/appengine.admin": { |
| 12 "description": "View and manage your applications deployed o
n Google App Engine" |
13 } | 13 } |
14 } | 14 } |
15 } | 15 } |
16 }, | 16 }, |
17 "basePath": "", | 17 "basePath": "", |
18 "baseUrl": "https://appengine.googleapis.com/", | 18 "baseUrl": "https://appengine.googleapis.com/", |
19 "batchPath": "batch", | 19 "batchPath": "batch", |
20 "description": "The App Engine Admin API enables developers to provision and
manage their App Engine applications.", | 20 "description": "The App Engine Admin API enables developers to provision and
manage their App Engine applications.", |
21 "discoveryVersion": "v1", | 21 "discoveryVersion": "v1", |
22 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", | 22 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", |
23 "icons": { | 23 "icons": { |
24 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 24 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
25 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 25 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
26 }, | 26 }, |
27 "id": "appengine:v1beta4", | 27 "id": "appengine:v1beta4", |
28 "kind": "discovery#restDescription", | 28 "kind": "discovery#restDescription", |
29 "name": "appengine", | 29 "name": "appengine", |
30 "ownerDomain": "google.com", | 30 "ownerDomain": "google.com", |
31 "ownerName": "Google", | 31 "ownerName": "Google", |
32 "parameters": { | 32 "parameters": { |
| 33 "upload_protocol": { |
| 34 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 35 "location": "query", |
| 36 "type": "string" |
| 37 }, |
| 38 "prettyPrint": { |
| 39 "default": "true", |
| 40 "description": "Returns response with indentations and line breaks."
, |
| 41 "location": "query", |
| 42 "type": "boolean" |
| 43 }, |
33 "uploadType": { | 44 "uploadType": { |
34 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 45 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
35 "location": "query", | 46 "location": "query", |
36 "type": "string" | 47 "type": "string" |
37 }, | 48 }, |
38 "fields": { | 49 "fields": { |
39 "description": "Selector specifying which fields to include in a par
tial response.", | 50 "description": "Selector specifying which fields to include in a par
tial response.", |
40 "location": "query", | 51 "location": "query", |
41 "type": "string" | 52 "type": "string" |
42 }, | 53 }, |
43 "callback": { | |
44 "description": "JSONP", | |
45 "location": "query", | |
46 "type": "string" | |
47 }, | |
48 "$.xgafv": { | 54 "$.xgafv": { |
49 "description": "V1 error format.", | 55 "description": "V1 error format.", |
50 "enum": [ | 56 "enum": [ |
51 "1", | 57 "1", |
52 "2" | 58 "2" |
53 ], | 59 ], |
54 "enumDescriptions": [ | 60 "enumDescriptions": [ |
55 "v1 error format", | 61 "v1 error format", |
56 "v2 error format" | 62 "v2 error format" |
57 ], | 63 ], |
58 "location": "query", | 64 "location": "query", |
59 "type": "string" | 65 "type": "string" |
60 }, | 66 }, |
| 67 "callback": { |
| 68 "description": "JSONP", |
| 69 "location": "query", |
| 70 "type": "string" |
| 71 }, |
61 "alt": { | 72 "alt": { |
62 "default": "json", | 73 "default": "json", |
63 "description": "Data format for response.", | 74 "description": "Data format for response.", |
64 "enum": [ | 75 "enum": [ |
65 "json", | 76 "json", |
66 "media", | 77 "media", |
67 "proto" | 78 "proto" |
68 ], | 79 ], |
69 "enumDescriptions": [ | 80 "enumDescriptions": [ |
70 "Responses with Content-Type of application/json", | 81 "Responses with Content-Type of application/json", |
(...skipping 17 matching lines...) Expand all Loading... |
88 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 99 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
89 "location": "query", | 100 "location": "query", |
90 "type": "string" | 101 "type": "string" |
91 }, | 102 }, |
92 "pp": { | 103 "pp": { |
93 "default": "true", | 104 "default": "true", |
94 "description": "Pretty-print response.", | 105 "description": "Pretty-print response.", |
95 "location": "query", | 106 "location": "query", |
96 "type": "boolean" | 107 "type": "boolean" |
97 }, | 108 }, |
98 "bearer_token": { | |
99 "description": "OAuth bearer token.", | |
100 "location": "query", | |
101 "type": "string" | |
102 }, | |
103 "oauth_token": { | 109 "oauth_token": { |
104 "description": "OAuth 2.0 token for the current user.", | 110 "description": "OAuth 2.0 token for the current user.", |
105 "location": "query", | 111 "location": "query", |
106 "type": "string" | 112 "type": "string" |
107 }, | 113 }, |
108 "upload_protocol": { | 114 "bearer_token": { |
109 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 115 "description": "OAuth bearer token.", |
110 "location": "query", | 116 "location": "query", |
111 "type": "string" | 117 "type": "string" |
112 }, | |
113 "prettyPrint": { | |
114 "default": "true", | |
115 "description": "Returns response with indentations and line breaks."
, | |
116 "location": "query", | |
117 "type": "boolean" | |
118 } | 118 } |
119 }, | 119 }, |
120 "protocol": "rest", | 120 "protocol": "rest", |
121 "resources": { | 121 "resources": { |
122 "apps": { | 122 "apps": { |
123 "methods": { | 123 "methods": { |
124 "get": { | 124 "get": { |
125 "description": "Gets information about an application.", | 125 "description": "Gets information about an application.", |
126 "httpMethod": "GET", | 126 "httpMethod": "GET", |
127 "id": "appengine.apps.get", | 127 "id": "appengine.apps.get", |
(...skipping 22 matching lines...) Expand all Loading... |
150 ] | 150 ] |
151 }, | 151 }, |
152 "patch": { | 152 "patch": { |
153 "description": "Updates the specified Application resource.
You can update the following fields:\nauth_domain (https://cloud.google.com/appe
ngine/docs/admin-api/reference/rest/v1beta4/apps#Application.FIELDS.auth_domain)
\ndefault_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta4/apps#Application.FIELDS.default_cookie_expiration)", | 153 "description": "Updates the specified Application resource.
You can update the following fields:\nauth_domain (https://cloud.google.com/appe
ngine/docs/admin-api/reference/rest/v1beta4/apps#Application.FIELDS.auth_domain)
\ndefault_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta4/apps#Application.FIELDS.default_cookie_expiration)", |
154 "httpMethod": "PATCH", | 154 "httpMethod": "PATCH", |
155 "id": "appengine.apps.patch", | 155 "id": "appengine.apps.patch", |
156 "parameterOrder": [ | 156 "parameterOrder": [ |
157 "appsId" | 157 "appsId" |
158 ], | 158 ], |
159 "parameters": { | 159 "parameters": { |
| 160 "appsId": { |
| 161 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", |
| 162 "location": "path", |
| 163 "required": true, |
| 164 "type": "string" |
| 165 }, |
160 "mask": { | 166 "mask": { |
161 "description": "Standard field mask for the set of f
ields to be updated.", | 167 "description": "Standard field mask for the set of f
ields to be updated.", |
162 "format": "google-fieldmask", | 168 "format": "google-fieldmask", |
163 "location": "query", | 169 "location": "query", |
164 "type": "string" | 170 "type": "string" |
165 }, | |
166 "appsId": { | |
167 "description": "Part of `name`. Name of the Applicat
ion resource to update. Example: apps/myapp.", | |
168 "location": "path", | |
169 "required": true, | |
170 "type": "string" | |
171 } | 171 } |
172 }, | 172 }, |
173 "path": "v1beta4/apps/{appsId}", | 173 "path": "v1beta4/apps/{appsId}", |
174 "request": { | 174 "request": { |
175 "$ref": "Application" | 175 "$ref": "Application" |
176 }, | 176 }, |
177 "response": { | 177 "response": { |
178 "$ref": "Operation" | 178 "$ref": "Operation" |
179 }, | 179 }, |
180 "scopes": [ | 180 "scopes": [ |
(...skipping 12 matching lines...) Expand all Loading... |
193 }, | 193 }, |
194 "response": { | 194 "response": { |
195 "$ref": "Operation" | 195 "$ref": "Operation" |
196 }, | 196 }, |
197 "scopes": [ | 197 "scopes": [ |
198 "https://www.googleapis.com/auth/cloud-platform" | 198 "https://www.googleapis.com/auth/cloud-platform" |
199 ] | 199 ] |
200 } | 200 } |
201 }, | 201 }, |
202 "resources": { | 202 "resources": { |
| 203 "operations": { |
| 204 "methods": { |
| 205 "list": { |
| 206 "description": "Lists operations that match the spec
ified filter in the request. If the server doesn't support this method, it retur
ns UNIMPLEMENTED.NOTE: the name binding allows API services to override the bind
ing to use different resource name schemes, such as users/*/operations. To overr
ide the binding, API services can add a binding such as \"/v1/{name=users/*}/ope
rations\" to their service configuration. For backwards compatibility, the defau
lt name includes the operations collection id, however overriding users must ens
ure the name binding is the parent resource, without the operations collection i
d.", |
| 207 "httpMethod": "GET", |
| 208 "id": "appengine.apps.operations.list", |
| 209 "parameterOrder": [ |
| 210 "appsId" |
| 211 ], |
| 212 "parameters": { |
| 213 "pageSize": { |
| 214 "description": "The standard list page size.
", |
| 215 "format": "int32", |
| 216 "location": "query", |
| 217 "type": "integer" |
| 218 }, |
| 219 "filter": { |
| 220 "description": "The standard list filter.", |
| 221 "location": "query", |
| 222 "type": "string" |
| 223 }, |
| 224 "appsId": { |
| 225 "description": "Part of `name`. The name of
the operation's parent resource.", |
| 226 "location": "path", |
| 227 "required": true, |
| 228 "type": "string" |
| 229 }, |
| 230 "pageToken": { |
| 231 "description": "The standard list page token
.", |
| 232 "location": "query", |
| 233 "type": "string" |
| 234 } |
| 235 }, |
| 236 "path": "v1beta4/apps/{appsId}/operations", |
| 237 "response": { |
| 238 "$ref": "ListOperationsResponse" |
| 239 }, |
| 240 "scopes": [ |
| 241 "https://www.googleapis.com/auth/appengine.admin
", |
| 242 "https://www.googleapis.com/auth/cloud-platform"
, |
| 243 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 244 ] |
| 245 }, |
| 246 "get": { |
| 247 "description": "Gets the latest state of a long-runn
ing operation. Clients can use this method to poll the operation result at inter
vals as recommended by the API service.", |
| 248 "httpMethod": "GET", |
| 249 "id": "appengine.apps.operations.get", |
| 250 "parameterOrder": [ |
| 251 "appsId", |
| 252 "operationsId" |
| 253 ], |
| 254 "parameters": { |
| 255 "operationsId": { |
| 256 "description": "Part of `name`. See document
ation of `appsId`.", |
| 257 "location": "path", |
| 258 "required": true, |
| 259 "type": "string" |
| 260 }, |
| 261 "appsId": { |
| 262 "description": "Part of `name`. The name of
the operation resource.", |
| 263 "location": "path", |
| 264 "required": true, |
| 265 "type": "string" |
| 266 } |
| 267 }, |
| 268 "path": "v1beta4/apps/{appsId}/operations/{operation
sId}", |
| 269 "response": { |
| 270 "$ref": "Operation" |
| 271 }, |
| 272 "scopes": [ |
| 273 "https://www.googleapis.com/auth/appengine.admin
", |
| 274 "https://www.googleapis.com/auth/cloud-platform"
, |
| 275 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 276 ] |
| 277 } |
| 278 } |
| 279 }, |
| 280 "locations": { |
| 281 "methods": { |
| 282 "list": { |
| 283 "description": "Lists information about the supporte
d locations for this service.", |
| 284 "httpMethod": "GET", |
| 285 "id": "appengine.apps.locations.list", |
| 286 "parameterOrder": [ |
| 287 "appsId" |
| 288 ], |
| 289 "parameters": { |
| 290 "filter": { |
| 291 "description": "The standard list filter.", |
| 292 "location": "query", |
| 293 "type": "string" |
| 294 }, |
| 295 "appsId": { |
| 296 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", |
| 297 "location": "path", |
| 298 "required": true, |
| 299 "type": "string" |
| 300 }, |
| 301 "pageToken": { |
| 302 "description": "The standard list page token
.", |
| 303 "location": "query", |
| 304 "type": "string" |
| 305 }, |
| 306 "pageSize": { |
| 307 "description": "The standard list page size.
", |
| 308 "format": "int32", |
| 309 "location": "query", |
| 310 "type": "integer" |
| 311 } |
| 312 }, |
| 313 "path": "v1beta4/apps/{appsId}/locations", |
| 314 "response": { |
| 315 "$ref": "ListLocationsResponse" |
| 316 }, |
| 317 "scopes": [ |
| 318 "https://www.googleapis.com/auth/appengine.admin
", |
| 319 "https://www.googleapis.com/auth/cloud-platform"
, |
| 320 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 321 ] |
| 322 }, |
| 323 "get": { |
| 324 "description": "Get information about a location.", |
| 325 "httpMethod": "GET", |
| 326 "id": "appengine.apps.locations.get", |
| 327 "parameterOrder": [ |
| 328 "appsId", |
| 329 "locationsId" |
| 330 ], |
| 331 "parameters": { |
| 332 "appsId": { |
| 333 "description": "Part of `name`. Resource nam
e for the location.", |
| 334 "location": "path", |
| 335 "required": true, |
| 336 "type": "string" |
| 337 }, |
| 338 "locationsId": { |
| 339 "description": "Part of `name`. See document
ation of `appsId`.", |
| 340 "location": "path", |
| 341 "required": true, |
| 342 "type": "string" |
| 343 } |
| 344 }, |
| 345 "path": "v1beta4/apps/{appsId}/locations/{locationsI
d}", |
| 346 "response": { |
| 347 "$ref": "Location" |
| 348 }, |
| 349 "scopes": [ |
| 350 "https://www.googleapis.com/auth/appengine.admin
", |
| 351 "https://www.googleapis.com/auth/cloud-platform"
, |
| 352 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 353 ] |
| 354 } |
| 355 } |
| 356 }, |
203 "modules": { | 357 "modules": { |
204 "methods": { | 358 "methods": { |
205 "delete": { | 359 "delete": { |
206 "description": "Deletes the specified module and all
enclosed versions.", | 360 "description": "Deletes the specified module and all
enclosed versions.", |
207 "httpMethod": "DELETE", | 361 "httpMethod": "DELETE", |
208 "id": "appengine.apps.modules.delete", | 362 "id": "appengine.apps.modules.delete", |
209 "parameterOrder": [ | 363 "parameterOrder": [ |
210 "appsId", | 364 "appsId", |
211 "modulesId" | 365 "modulesId" |
212 ], | 366 ], |
(...skipping 21 matching lines...) Expand all Loading... |
234 }, | 388 }, |
235 "get": { | 389 "get": { |
236 "description": "Gets the current configuration of th
e specified module.", | 390 "description": "Gets the current configuration of th
e specified module.", |
237 "httpMethod": "GET", | 391 "httpMethod": "GET", |
238 "id": "appengine.apps.modules.get", | 392 "id": "appengine.apps.modules.get", |
239 "parameterOrder": [ | 393 "parameterOrder": [ |
240 "appsId", | 394 "appsId", |
241 "modulesId" | 395 "modulesId" |
242 ], | 396 ], |
243 "parameters": { | 397 "parameters": { |
| 398 "modulesId": { |
| 399 "description": "Part of `name`. See document
ation of `appsId`.", |
| 400 "location": "path", |
| 401 "required": true, |
| 402 "type": "string" |
| 403 }, |
244 "appsId": { | 404 "appsId": { |
245 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/modules/default.", | 405 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/modules/default.", |
246 "location": "path", | 406 "location": "path", |
247 "required": true, | 407 "required": true, |
248 "type": "string" | 408 "type": "string" |
249 }, | |
250 "modulesId": { | |
251 "description": "Part of `name`. See document
ation of `appsId`.", | |
252 "location": "path", | |
253 "required": true, | |
254 "type": "string" | |
255 } | 409 } |
256 }, | 410 }, |
257 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", | 411 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", |
258 "response": { | 412 "response": { |
259 "$ref": "Module" | 413 "$ref": "Module" |
260 }, | 414 }, |
261 "scopes": [ | 415 "scopes": [ |
262 "https://www.googleapis.com/auth/appengine.admin
", | 416 "https://www.googleapis.com/auth/appengine.admin
", |
263 "https://www.googleapis.com/auth/cloud-platform"
, | 417 "https://www.googleapis.com/auth/cloud-platform"
, |
264 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 418 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
265 ] | 419 ] |
266 }, | 420 }, |
267 "list": { | 421 "list": { |
268 "description": "Lists all the modules in the applica
tion.", | 422 "description": "Lists all the modules in the applica
tion.", |
269 "httpMethod": "GET", | 423 "httpMethod": "GET", |
270 "id": "appengine.apps.modules.list", | 424 "id": "appengine.apps.modules.list", |
271 "parameterOrder": [ | 425 "parameterOrder": [ |
272 "appsId" | 426 "appsId" |
273 ], | 427 ], |
274 "parameters": { | 428 "parameters": { |
| 429 "pageSize": { |
| 430 "description": "Maximum results to return pe
r page.", |
| 431 "format": "int32", |
| 432 "location": "query", |
| 433 "type": "integer" |
| 434 }, |
275 "appsId": { | 435 "appsId": { |
276 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp.", | 436 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp.", |
277 "location": "path", | 437 "location": "path", |
278 "required": true, | 438 "required": true, |
279 "type": "string" | 439 "type": "string" |
280 }, | 440 }, |
281 "pageToken": { | 441 "pageToken": { |
282 "description": "Continuation token for fetch
ing the next page of results.", | 442 "description": "Continuation token for fetch
ing the next page of results.", |
283 "location": "query", | 443 "location": "query", |
284 "type": "string" | 444 "type": "string" |
285 }, | |
286 "pageSize": { | |
287 "description": "Maximum results to return pe
r page.", | |
288 "format": "int32", | |
289 "location": "query", | |
290 "type": "integer" | |
291 } | 445 } |
292 }, | 446 }, |
293 "path": "v1beta4/apps/{appsId}/modules", | 447 "path": "v1beta4/apps/{appsId}/modules", |
294 "response": { | 448 "response": { |
295 "$ref": "ListModulesResponse" | 449 "$ref": "ListModulesResponse" |
296 }, | 450 }, |
297 "scopes": [ | 451 "scopes": [ |
298 "https://www.googleapis.com/auth/appengine.admin
", | 452 "https://www.googleapis.com/auth/appengine.admin
", |
299 "https://www.googleapis.com/auth/cloud-platform"
, | 453 "https://www.googleapis.com/auth/cloud-platform"
, |
300 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 454 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
301 ] | 455 ] |
302 }, | 456 }, |
303 "patch": { | 457 "patch": { |
304 "description": "Updates the configuration of the spe
cified module.", | 458 "description": "Updates the configuration of the spe
cified module.", |
305 "httpMethod": "PATCH", | 459 "httpMethod": "PATCH", |
306 "id": "appengine.apps.modules.patch", | 460 "id": "appengine.apps.modules.patch", |
307 "parameterOrder": [ | 461 "parameterOrder": [ |
308 "appsId", | 462 "appsId", |
309 "modulesId" | 463 "modulesId" |
310 ], | 464 ], |
311 "parameters": { | 465 "parameters": { |
| 466 "appsId": { |
| 467 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/modules/default.", |
| 468 "location": "path", |
| 469 "required": true, |
| 470 "type": "string" |
| 471 }, |
312 "migrateTraffic": { | 472 "migrateTraffic": { |
313 "description": "Set to true to gradually shi
ft traffic to one or more versions that you specify. By default, traffic is shif
ted immediately. For gradual traffic migration, the target versions must be loca
ted within instances that are configured for both warmup requests (https://cloud
.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.version
s#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/
docs/admin-api/reference/rest/v1beta4/apps.modules.versions#automaticscaling). Y
ou must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta4/apps.modules#shardby) field in the Module resource. Gradua
l traffic migration is not supported in the App Engine flexible environment. For
examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengi
ne/docs/admin-api/migrating-splitting-traffic).", | 473 "description": "Set to true to gradually shi
ft traffic to one or more versions that you specify. By default, traffic is shif
ted immediately. For gradual traffic migration, the target versions must be loca
ted within instances that are configured for both warmup requests (https://cloud
.google.com/appengine/docs/admin-api/reference/rest/v1beta4/apps.modules.version
s#inboundservicetype) and automatic scaling (https://cloud.google.com/appengine/
docs/admin-api/reference/rest/v1beta4/apps.modules.versions#automaticscaling). Y
ou must specify the shardBy (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta4/apps.modules#shardby) field in the Module resource. Gradua
l traffic migration is not supported in the App Engine flexible environment. For
examples, see Migrating and Splitting Traffic (https://cloud.google.com/appengi
ne/docs/admin-api/migrating-splitting-traffic).", |
314 "location": "query", | 474 "location": "query", |
315 "type": "boolean" | 475 "type": "boolean" |
316 }, | 476 }, |
317 "modulesId": { | 477 "modulesId": { |
318 "description": "Part of `name`. See document
ation of `appsId`.", | 478 "description": "Part of `name`. See document
ation of `appsId`.", |
319 "location": "path", | 479 "location": "path", |
320 "required": true, | 480 "required": true, |
321 "type": "string" | 481 "type": "string" |
322 }, | 482 }, |
323 "mask": { | 483 "mask": { |
324 "description": "Standard field mask for the
set of fields to be updated.", | 484 "description": "Standard field mask for the
set of fields to be updated.", |
325 "format": "google-fieldmask", | 485 "format": "google-fieldmask", |
326 "location": "query", | 486 "location": "query", |
327 "type": "string" | 487 "type": "string" |
328 }, | |
329 "appsId": { | |
330 "description": "Part of `name`. Name of the
resource to update. Example: apps/myapp/modules/default.", | |
331 "location": "path", | |
332 "required": true, | |
333 "type": "string" | |
334 } | 488 } |
335 }, | 489 }, |
336 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", | 490 "path": "v1beta4/apps/{appsId}/modules/{modulesId}", |
337 "request": { | 491 "request": { |
338 "$ref": "Module" | 492 "$ref": "Module" |
339 }, | 493 }, |
340 "response": { | 494 "response": { |
341 "$ref": "Operation" | 495 "$ref": "Operation" |
342 }, | 496 }, |
343 "scopes": [ | 497 "scopes": [ |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
435 }, | 589 }, |
436 "list": { | 590 "list": { |
437 "description": "Lists the versions of a modu
le.", | 591 "description": "Lists the versions of a modu
le.", |
438 "httpMethod": "GET", | 592 "httpMethod": "GET", |
439 "id": "appengine.apps.modules.versions.list"
, | 593 "id": "appengine.apps.modules.versions.list"
, |
440 "parameterOrder": [ | 594 "parameterOrder": [ |
441 "appsId", | 595 "appsId", |
442 "modulesId" | 596 "modulesId" |
443 ], | 597 ], |
444 "parameters": { | 598 "parameters": { |
445 "appsId": { | |
446 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/modules/default.", | |
447 "location": "path", | |
448 "required": true, | |
449 "type": "string" | |
450 }, | |
451 "pageToken": { | |
452 "description": "Continuation token f
or fetching the next page of results.", | |
453 "location": "query", | |
454 "type": "string" | |
455 }, | |
456 "pageSize": { | 599 "pageSize": { |
457 "description": "Maximum results to r
eturn per page.", | 600 "description": "Maximum results to r
eturn per page.", |
458 "format": "int32", | 601 "format": "int32", |
459 "location": "query", | 602 "location": "query", |
460 "type": "integer" | 603 "type": "integer" |
461 }, | 604 }, |
462 "modulesId": { | 605 "modulesId": { |
463 "description": "Part of `name`. See
documentation of `appsId`.", | 606 "description": "Part of `name`. See
documentation of `appsId`.", |
464 "location": "path", | 607 "location": "path", |
465 "required": true, | 608 "required": true, |
466 "type": "string" | 609 "type": "string" |
467 }, | 610 }, |
468 "view": { | 611 "view": { |
469 "description": "Controls the set of
fields returned in the List response.", | 612 "description": "Controls the set of
fields returned in the List response.", |
470 "enum": [ | 613 "enum": [ |
471 "BASIC", | 614 "BASIC", |
472 "FULL" | 615 "FULL" |
473 ], | 616 ], |
474 "location": "query", | 617 "location": "query", |
475 "type": "string" | 618 "type": "string" |
| 619 }, |
| 620 "appsId": { |
| 621 "description": "Part of `name`. Name
of the resource requested. Example: apps/myapp/modules/default.", |
| 622 "location": "path", |
| 623 "required": true, |
| 624 "type": "string" |
| 625 }, |
| 626 "pageToken": { |
| 627 "description": "Continuation token f
or fetching the next page of results.", |
| 628 "location": "query", |
| 629 "type": "string" |
476 } | 630 } |
477 }, | 631 }, |
478 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions", | 632 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions", |
479 "response": { | 633 "response": { |
480 "$ref": "ListVersionsResponse" | 634 "$ref": "ListVersionsResponse" |
481 }, | 635 }, |
482 "scopes": [ | 636 "scopes": [ |
483 "https://www.googleapis.com/auth/appengi
ne.admin", | 637 "https://www.googleapis.com/auth/appengi
ne.admin", |
484 "https://www.googleapis.com/auth/cloud-p
latform", | 638 "https://www.googleapis.com/auth/cloud-p
latform", |
485 "https://www.googleapis.com/auth/cloud-p
latform.read-only" | 639 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 }, | 687 }, |
534 "create": { | 688 "create": { |
535 "description": "Deploys code and resource fi
les to a new version.", | 689 "description": "Deploys code and resource fi
les to a new version.", |
536 "httpMethod": "POST", | 690 "httpMethod": "POST", |
537 "id": "appengine.apps.modules.versions.creat
e", | 691 "id": "appengine.apps.modules.versions.creat
e", |
538 "parameterOrder": [ | 692 "parameterOrder": [ |
539 "appsId", | 693 "appsId", |
540 "modulesId" | 694 "modulesId" |
541 ], | 695 ], |
542 "parameters": { | 696 "parameters": { |
| 697 "modulesId": { |
| 698 "description": "Part of `name`. See
documentation of `appsId`.", |
| 699 "location": "path", |
| 700 "required": true, |
| 701 "type": "string" |
| 702 }, |
543 "appsId": { | 703 "appsId": { |
544 "description": "Part of `name`. Name
of the resource to update. Example: apps/myapp/modules/default.", | 704 "description": "Part of `name`. Name
of the resource to update. Example: apps/myapp/modules/default.", |
545 "location": "path", | 705 "location": "path", |
546 "required": true, | 706 "required": true, |
547 "type": "string" | 707 "type": "string" |
548 }, | |
549 "modulesId": { | |
550 "description": "Part of `name`. See
documentation of `appsId`.", | |
551 "location": "path", | |
552 "required": true, | |
553 "type": "string" | |
554 } | 708 } |
555 }, | 709 }, |
556 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions", | 710 "path": "v1beta4/apps/{appsId}/modules/{modu
lesId}/versions", |
557 "request": { | 711 "request": { |
558 "$ref": "Version" | 712 "$ref": "Version" |
559 }, | 713 }, |
560 "response": { | 714 "response": { |
561 "$ref": "Operation" | 715 "$ref": "Operation" |
562 }, | 716 }, |
563 "scopes": [ | 717 "scopes": [ |
564 "https://www.googleapis.com/auth/cloud-p
latform" | 718 "https://www.googleapis.com/auth/cloud-p
latform" |
565 ] | 719 ] |
566 } | 720 } |
567 }, | 721 }, |
568 "resources": { | 722 "resources": { |
569 "instances": { | 723 "instances": { |
570 "methods": { | 724 "methods": { |
571 "delete": { | 725 "get": { |
572 "description": "Stops a running inst
ance.", | 726 "description": "Gets instance inform
ation.", |
573 "httpMethod": "DELETE", | 727 "httpMethod": "GET", |
574 "id": "appengine.apps.modules.versio
ns.instances.delete", | 728 "id": "appengine.apps.modules.versio
ns.instances.get", |
575 "parameterOrder": [ | 729 "parameterOrder": [ |
576 "appsId", | 730 "appsId", |
577 "modulesId", | 731 "modulesId", |
578 "versionsId", | 732 "versionsId", |
579 "instancesId" | 733 "instancesId" |
580 ], | 734 ], |
581 "parameters": { | 735 "parameters": { |
582 "appsId": { | |
583 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/modules/default/versions
/v1/instances/instance-1.", | |
584 "location": "path", | |
585 "required": true, | |
586 "type": "string" | |
587 }, | |
588 "instancesId": { | |
589 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
590 "location": "path", | |
591 "required": true, | |
592 "type": "string" | |
593 }, | |
594 "modulesId": { | 736 "modulesId": { |
595 "description": "Part of `nam
e`. See documentation of `appsId`.", | 737 "description": "Part of `nam
e`. See documentation of `appsId`.", |
596 "location": "path", | 738 "location": "path", |
597 "required": true, | 739 "required": true, |
598 "type": "string" | 740 "type": "string" |
599 }, | 741 }, |
600 "versionsId": { | 742 "versionsId": { |
601 "description": "Part of `nam
e`. See documentation of `appsId`.", | 743 "description": "Part of `nam
e`. See documentation of `appsId`.", |
602 "location": "path", | 744 "location": "path", |
603 "required": true, | 745 "required": true, |
604 "type": "string" | 746 "type": "string" |
605 } | 747 }, |
606 }, | |
607 "path": "v1beta4/apps/{appsId}/modul
es/{modulesId}/versions/{versionsId}/instances/{instancesId}", | |
608 "response": { | |
609 "$ref": "Operation" | |
610 }, | |
611 "scopes": [ | |
612 "https://www.googleapis.com/auth
/cloud-platform" | |
613 ] | |
614 }, | |
615 "get": { | |
616 "description": "Gets instance inform
ation.", | |
617 "httpMethod": "GET", | |
618 "id": "appengine.apps.modules.versio
ns.instances.get", | |
619 "parameterOrder": [ | |
620 "appsId", | |
621 "modulesId", | |
622 "versionsId", | |
623 "instancesId" | |
624 ], | |
625 "parameters": { | |
626 "appsId": { | 748 "appsId": { |
627 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/modules/default/versions
/v1/instances/instance-1.", | 749 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/modules/default/versions
/v1/instances/instance-1.", |
628 "location": "path", | 750 "location": "path", |
629 "required": true, | 751 "required": true, |
630 "type": "string" | 752 "type": "string" |
631 }, | 753 }, |
632 "instancesId": { | 754 "instancesId": { |
633 "description": "Part of `nam
e`. See documentation of `appsId`.", | 755 "description": "Part of `nam
e`. See documentation of `appsId`.", |
634 "location": "path", | 756 "location": "path", |
635 "required": true, | 757 "required": true, |
636 "type": "string" | 758 "type": "string" |
637 }, | |
638 "modulesId": { | |
639 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
640 "location": "path", | |
641 "required": true, | |
642 "type": "string" | |
643 }, | |
644 "versionsId": { | |
645 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
646 "location": "path", | |
647 "required": true, | |
648 "type": "string" | |
649 } | 759 } |
650 }, | 760 }, |
651 "path": "v1beta4/apps/{appsId}/modul
es/{modulesId}/versions/{versionsId}/instances/{instancesId}", | 761 "path": "v1beta4/apps/{appsId}/modul
es/{modulesId}/versions/{versionsId}/instances/{instancesId}", |
652 "response": { | 762 "response": { |
653 "$ref": "Instance" | 763 "$ref": "Instance" |
654 }, | 764 }, |
655 "scopes": [ | 765 "scopes": [ |
656 "https://www.googleapis.com/auth
/appengine.admin", | 766 "https://www.googleapis.com/auth
/appengine.admin", |
657 "https://www.googleapis.com/auth
/cloud-platform", | 767 "https://www.googleapis.com/auth
/cloud-platform", |
658 "https://www.googleapis.com/auth
/cloud-platform.read-only" | 768 "https://www.googleapis.com/auth
/cloud-platform.read-only" |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 "path": "v1beta4/apps/{appsId}/modul
es/{modulesId}/versions/{versionsId}/instances/{instancesId}:debug", | 857 "path": "v1beta4/apps/{appsId}/modul
es/{modulesId}/versions/{versionsId}/instances/{instancesId}:debug", |
748 "request": { | 858 "request": { |
749 "$ref": "DebugInstanceRequest" | 859 "$ref": "DebugInstanceRequest" |
750 }, | 860 }, |
751 "response": { | 861 "response": { |
752 "$ref": "Operation" | 862 "$ref": "Operation" |
753 }, | 863 }, |
754 "scopes": [ | 864 "scopes": [ |
755 "https://www.googleapis.com/auth
/cloud-platform" | 865 "https://www.googleapis.com/auth
/cloud-platform" |
756 ] | 866 ] |
| 867 }, |
| 868 "delete": { |
| 869 "description": "Stops a running inst
ance.", |
| 870 "httpMethod": "DELETE", |
| 871 "id": "appengine.apps.modules.versio
ns.instances.delete", |
| 872 "parameterOrder": [ |
| 873 "appsId", |
| 874 "modulesId", |
| 875 "versionsId", |
| 876 "instancesId" |
| 877 ], |
| 878 "parameters": { |
| 879 "appsId": { |
| 880 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/modules/default/versions
/v1/instances/instance-1.", |
| 881 "location": "path", |
| 882 "required": true, |
| 883 "type": "string" |
| 884 }, |
| 885 "instancesId": { |
| 886 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 887 "location": "path", |
| 888 "required": true, |
| 889 "type": "string" |
| 890 }, |
| 891 "modulesId": { |
| 892 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 893 "location": "path", |
| 894 "required": true, |
| 895 "type": "string" |
| 896 }, |
| 897 "versionsId": { |
| 898 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 899 "location": "path", |
| 900 "required": true, |
| 901 "type": "string" |
| 902 } |
| 903 }, |
| 904 "path": "v1beta4/apps/{appsId}/modul
es/{modulesId}/versions/{versionsId}/instances/{instancesId}", |
| 905 "response": { |
| 906 "$ref": "Operation" |
| 907 }, |
| 908 "scopes": [ |
| 909 "https://www.googleapis.com/auth
/cloud-platform" |
| 910 ] |
757 } | 911 } |
758 } | 912 } |
759 } | 913 } |
760 } | 914 } |
761 } | 915 } |
762 } | 916 } |
763 }, | |
764 "operations": { | |
765 "methods": { | |
766 "list": { | |
767 "description": "Lists operations that match the spec
ified filter in the request. If the server doesn't support this method, it retur
ns UNIMPLEMENTED.NOTE: the name binding below allows API services to override th
e binding to use different resource name schemes, such as users/*/operations.", | |
768 "httpMethod": "GET", | |
769 "id": "appengine.apps.operations.list", | |
770 "parameterOrder": [ | |
771 "appsId" | |
772 ], | |
773 "parameters": { | |
774 "appsId": { | |
775 "description": "Part of `name`. The name of
the operation collection.", | |
776 "location": "path", | |
777 "required": true, | |
778 "type": "string" | |
779 }, | |
780 "pageToken": { | |
781 "description": "The standard list page token
.", | |
782 "location": "query", | |
783 "type": "string" | |
784 }, | |
785 "pageSize": { | |
786 "description": "The standard list page size.
", | |
787 "format": "int32", | |
788 "location": "query", | |
789 "type": "integer" | |
790 }, | |
791 "filter": { | |
792 "description": "The standard list filter.", | |
793 "location": "query", | |
794 "type": "string" | |
795 } | |
796 }, | |
797 "path": "v1beta4/apps/{appsId}/operations", | |
798 "response": { | |
799 "$ref": "ListOperationsResponse" | |
800 }, | |
801 "scopes": [ | |
802 "https://www.googleapis.com/auth/appengine.admin
", | |
803 "https://www.googleapis.com/auth/cloud-platform"
, | |
804 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
805 ] | |
806 }, | |
807 "get": { | |
808 "description": "Gets the latest state of a long-runn
ing operation. Clients can use this method to poll the operation result at inter
vals as recommended by the API service.", | |
809 "httpMethod": "GET", | |
810 "id": "appengine.apps.operations.get", | |
811 "parameterOrder": [ | |
812 "appsId", | |
813 "operationsId" | |
814 ], | |
815 "parameters": { | |
816 "appsId": { | |
817 "description": "Part of `name`. The name of
the operation resource.", | |
818 "location": "path", | |
819 "required": true, | |
820 "type": "string" | |
821 }, | |
822 "operationsId": { | |
823 "description": "Part of `name`. See document
ation of `appsId`.", | |
824 "location": "path", | |
825 "required": true, | |
826 "type": "string" | |
827 } | |
828 }, | |
829 "path": "v1beta4/apps/{appsId}/operations/{operation
sId}", | |
830 "response": { | |
831 "$ref": "Operation" | |
832 }, | |
833 "scopes": [ | |
834 "https://www.googleapis.com/auth/appengine.admin
", | |
835 "https://www.googleapis.com/auth/cloud-platform"
, | |
836 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
837 ] | |
838 } | |
839 } | |
840 }, | |
841 "locations": { | |
842 "methods": { | |
843 "list": { | |
844 "description": "Lists information about the supporte
d locations for this service.", | |
845 "httpMethod": "GET", | |
846 "id": "appengine.apps.locations.list", | |
847 "parameterOrder": [ | |
848 "appsId" | |
849 ], | |
850 "parameters": { | |
851 "filter": { | |
852 "description": "The standard list filter.", | |
853 "location": "query", | |
854 "type": "string" | |
855 }, | |
856 "appsId": { | |
857 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", | |
858 "location": "path", | |
859 "required": true, | |
860 "type": "string" | |
861 }, | |
862 "pageToken": { | |
863 "description": "The standard list page token
.", | |
864 "location": "query", | |
865 "type": "string" | |
866 }, | |
867 "pageSize": { | |
868 "description": "The standard list page size.
", | |
869 "format": "int32", | |
870 "location": "query", | |
871 "type": "integer" | |
872 } | |
873 }, | |
874 "path": "v1beta4/apps/{appsId}/locations", | |
875 "response": { | |
876 "$ref": "ListLocationsResponse" | |
877 }, | |
878 "scopes": [ | |
879 "https://www.googleapis.com/auth/appengine.admin
", | |
880 "https://www.googleapis.com/auth/cloud-platform"
, | |
881 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
882 ] | |
883 }, | |
884 "get": { | |
885 "description": "Get information about a location.", | |
886 "httpMethod": "GET", | |
887 "id": "appengine.apps.locations.get", | |
888 "parameterOrder": [ | |
889 "appsId", | |
890 "locationsId" | |
891 ], | |
892 "parameters": { | |
893 "locationsId": { | |
894 "description": "Part of `name`. See document
ation of `appsId`.", | |
895 "location": "path", | |
896 "required": true, | |
897 "type": "string" | |
898 }, | |
899 "appsId": { | |
900 "description": "Part of `name`. Resource nam
e for the location.", | |
901 "location": "path", | |
902 "required": true, | |
903 "type": "string" | |
904 } | |
905 }, | |
906 "path": "v1beta4/apps/{appsId}/locations/{locationsI
d}", | |
907 "response": { | |
908 "$ref": "Location" | |
909 }, | |
910 "scopes": [ | |
911 "https://www.googleapis.com/auth/appengine.admin
", | |
912 "https://www.googleapis.com/auth/cloud-platform"
, | |
913 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
914 ] | |
915 } | |
916 } | |
917 } | 917 } |
918 } | 918 } |
919 } | 919 } |
920 }, | 920 }, |
921 "revision": "20170426", | 921 "revision": "20170601", |
922 "rootUrl": "https://appengine.googleapis.com/", | 922 "rootUrl": "https://appengine.googleapis.com/", |
923 "schemas": { | 923 "schemas": { |
924 "ListLocationsResponse": { | 924 "ErrorHandler": { |
925 "description": "The response message for Locations.ListLocations.", | 925 "description": "Custom static error page to be served when an error
occurs.", |
926 "id": "ListLocationsResponse", | 926 "id": "ErrorHandler", |
927 "properties": { | 927 "properties": { |
928 "nextPageToken": { | 928 "errorCode": { |
929 "description": "The standard List next-page token.", | 929 "description": "Error condition this handler applies to.", |
930 "type": "string" | |
931 }, | |
932 "locations": { | |
933 "description": "A list of locations that matches the specifi
ed filter in the request.", | |
934 "items": { | |
935 "$ref": "Location" | |
936 }, | |
937 "type": "array" | |
938 } | |
939 }, | |
940 "type": "object" | |
941 }, | |
942 "Version": { | |
943 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a module.", | |
944 "id": "Version", | |
945 "properties": { | |
946 "betaSettings": { | |
947 "additionalProperties": { | |
948 "type": "string" | |
949 }, | |
950 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", | |
951 "type": "object" | |
952 }, | |
953 "env": { | |
954 "description": "App Engine execution environment to use for
this version.Defaults to 1.", | |
955 "type": "string" | |
956 }, | |
957 "handlers": { | |
958 "description": "An ordered list of URL-matching patterns tha
t should be applied to incoming requests. The first matching URL handles the req
uest and other request handlers are not attempted.Only returned in GET requests
if view=FULL is set.", | |
959 "items": { | |
960 "$ref": "UrlMap" | |
961 }, | |
962 "type": "array" | |
963 }, | |
964 "deployer": { | |
965 "description": "Email address of the user who created this v
ersion.@OutputOnly", | |
966 "type": "string" | |
967 }, | |
968 "automaticScaling": { | |
969 "$ref": "AutomaticScaling", | |
970 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." | |
971 }, | |
972 "healthCheck": { | |
973 "$ref": "HealthCheck", | |
974 "description": "Configures health checking for VM instances.
Unhealthy instances are stopped and replaced with new instances. Only applicabl
e for VM runtimes.Only returned in GET requests if view=FULL is set." | |
975 }, | |
976 "threadsafe": { | |
977 "description": "Whether multiple requests can be dispatched
to this version at once.", | |
978 "type": "boolean" | |
979 }, | |
980 "manualScaling": { | |
981 "$ref": "ManualScaling", | |
982 "description": "A module with manual scaling runs continuous
ly, allowing you to perform complex initialization and rely on the state of its
memory over time." | |
983 }, | |
984 "name": { | |
985 "description": "Full path to the Version resource in the API
. Example: apps/myapp/modules/default/versions/v1.@OutputOnly", | |
986 "type": "string" | |
987 }, | |
988 "apiConfig": { | |
989 "$ref": "ApiConfigHandler", | |
990 "description": "Serving configuration for Google Cloud Endpo
ints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned i
n GET requests if view=FULL is set." | |
991 }, | |
992 "vm": { | |
993 "description": "Whether to deploy this version in a containe
r on a virtual machine.", | |
994 "type": "boolean" | |
995 }, | |
996 "instanceClass": { | |
997 "description": "Instance class that is used to run this vers
ion. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or Ba
sicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for
ManualScaling or BasicScaling.", | |
998 "type": "string" | |
999 }, | |
1000 "servingStatus": { | |
1001 "description": "Current serving status of this version. Only
the versions with a SERVING status create instances and can be billed.SERVING_S
TATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.", | |
1002 "enum": [ | 930 "enum": [ |
1003 "SERVING_STATUS_UNSPECIFIED", | 931 "ERROR_CODE_UNSPECIFIED", |
1004 "SERVING", | 932 "ERROR_CODE_DEFAULT", |
1005 "STOPPED" | 933 "ERROR_CODE_OVER_QUOTA", |
| 934 "ERROR_CODE_DOS_API_DENIAL", |
| 935 "ERROR_CODE_TIMEOUT" |
1006 ], | 936 ], |
1007 "enumDescriptions": [ | 937 "enumDescriptions": [ |
1008 "Not specified.", | 938 "Not specified. ERROR_CODE_DEFAULT is assumed.", |
1009 "Currently serving. Instances are created according to t
he scaling settings of the version.", | 939 "All other error types.", |
1010 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." | 940 "Application has exceeded a resource quota.", |
| 941 "Client blocked by the application's Denial of Service p
rotection configuration.", |
| 942 "Deadline reached before the application responds." |
1011 ], | 943 ], |
1012 "type": "string" | 944 "type": "string" |
1013 }, | 945 }, |
1014 "deployment": { | 946 "mimeType": { |
1015 "$ref": "Deployment", | 947 "description": "MIME type of file. Defaults to text/html.", |
1016 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." | 948 "type": "string" |
1017 }, | 949 }, |
1018 "resources": { | 950 "staticFile": { |
1019 "$ref": "Resources", | 951 "description": "Static file content to be served for this er
ror.", |
1020 "description": "Machine resources for this version. Only app
licable for VM runtimes." | 952 "type": "string" |
1021 }, | 953 } |
1022 "inboundServices": { | 954 }, |
1023 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", | 955 "type": "object" |
1024 "enumDescriptions": [ | 956 }, |
1025 "Not specified.", | 957 "OperationMetadataV1": { |
1026 "Allows an application to receive mail.", | 958 "description": "Metadata for the given google.longrunning.Operation.
", |
1027 "Allows an application to receive email-bound notificati
ons.", | 959 "id": "OperationMetadataV1", |
1028 "Allows an application to receive error stanzas.", | 960 "properties": { |
1029 "Allows an application to receive instant messages.", | 961 "warning": { |
1030 "Allows an application to receive user subscription POST
s.", | 962 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
1031 "Allows an application to receive a user's chat presence
.", | |
1032 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", | |
1033 "Enables warmup requests." | |
1034 ], | |
1035 "items": { | 963 "items": { |
1036 "enum": [ | |
1037 "INBOUND_SERVICE_UNSPECIFIED", | |
1038 "INBOUND_SERVICE_MAIL", | |
1039 "INBOUND_SERVICE_MAIL_BOUNCE", | |
1040 "INBOUND_SERVICE_XMPP_ERROR", | |
1041 "INBOUND_SERVICE_XMPP_MESSAGE", | |
1042 "INBOUND_SERVICE_XMPP_SUBSCRIBE", | |
1043 "INBOUND_SERVICE_XMPP_PRESENCE", | |
1044 "INBOUND_SERVICE_CHANNEL_PRESENCE", | |
1045 "INBOUND_SERVICE_WARMUP" | |
1046 ], | |
1047 "type": "string" | 964 "type": "string" |
1048 }, | 965 }, |
1049 "type": "array" | 966 "type": "array" |
1050 }, | 967 }, |
1051 "errorHandlers": { | 968 "insertTime": { |
1052 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", | 969 "description": "Time that this operation was created.@Output
Only", |
| 970 "format": "google-datetime", |
| 971 "type": "string" |
| 972 }, |
| 973 "user": { |
| 974 "description": "User who requested this operation.@OutputOnl
y", |
| 975 "type": "string" |
| 976 }, |
| 977 "target": { |
| 978 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 979 "type": "string" |
| 980 }, |
| 981 "ephemeralMessage": { |
| 982 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 983 "type": "string" |
| 984 }, |
| 985 "method": { |
| 986 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
| 987 "type": "string" |
| 988 }, |
| 989 "endTime": { |
| 990 "description": "Time that this operation completed.@OutputOn
ly", |
| 991 "format": "google-datetime", |
| 992 "type": "string" |
| 993 } |
| 994 }, |
| 995 "type": "object" |
| 996 }, |
| 997 "OperationMetadataV1Alpha": { |
| 998 "description": "Metadata for the given google.longrunning.Operation.
", |
| 999 "id": "OperationMetadataV1Alpha", |
| 1000 "properties": { |
| 1001 "endTime": { |
| 1002 "description": "Time that this operation completed.@OutputOn
ly", |
| 1003 "format": "google-datetime", |
| 1004 "type": "string" |
| 1005 }, |
| 1006 "warning": { |
| 1007 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
1053 "items": { | 1008 "items": { |
1054 "$ref": "ErrorHandler" | 1009 "type": "string" |
1055 }, | 1010 }, |
1056 "type": "array" | 1011 "type": "array" |
1057 }, | 1012 }, |
1058 "defaultExpiration": { | 1013 "insertTime": { |
1059 "description": "Duration that static files should be cached
by web proxies and browsers. Only applicable if the corresponding StaticFilesHan
dler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices.versions#staticfileshandler) does not specify its own expiration time.On
ly returned in GET requests if view=FULL is set.", | 1014 "description": "Time that this operation was created.@Output
Only", |
1060 "format": "google-duration", | 1015 "format": "google-datetime", |
1061 "type": "string" | 1016 "type": "string" |
1062 }, | 1017 }, |
1063 "libraries": { | 1018 "target": { |
1064 "description": "Configuration for third-party Python runtime
libraries required by the application.Only returned in GET requests if view=FUL
L is set.", | 1019 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 1020 "type": "string" |
| 1021 }, |
| 1022 "user": { |
| 1023 "description": "User who requested this operation.@OutputOnl
y", |
| 1024 "type": "string" |
| 1025 }, |
| 1026 "ephemeralMessage": { |
| 1027 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 1028 "type": "string" |
| 1029 }, |
| 1030 "method": { |
| 1031 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", |
| 1032 "type": "string" |
| 1033 } |
| 1034 }, |
| 1035 "type": "object" |
| 1036 }, |
| 1037 "Application": { |
| 1038 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", |
| 1039 "id": "Application", |
| 1040 "properties": { |
| 1041 "codeBucket": { |
| 1042 "description": "Google Cloud Storage bucket that can be used
for storing files associated with this application. This bucket is associated w
ith the application and can be used by the gcloud deployment commands.@OutputOnl
y", |
| 1043 "type": "string" |
| 1044 }, |
| 1045 "location": { |
| 1046 "description": "Location from which this application will be
run. Application instances will run out of data centers in the chosen location,
which is also where all of the application's end user content is stored.Default
s to us-central.Options are:us-central - Central USeurope-west - Western Europeu
s-east1 - Eastern US", |
| 1047 "type": "string" |
| 1048 }, |
| 1049 "defaultBucket": { |
| 1050 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", |
| 1051 "type": "string" |
| 1052 }, |
| 1053 "dispatchRules": { |
| 1054 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a module or version. Rules are order-
dependent.@OutputOnly", |
1065 "items": { | 1055 "items": { |
1066 "$ref": "Library" | 1056 "$ref": "UrlDispatchRule" |
1067 }, | 1057 }, |
1068 "type": "array" | 1058 "type": "array" |
1069 }, | 1059 }, |
1070 "creationTime": { | 1060 "defaultHostname": { |
1071 "description": "Time that this version was created.@OutputOn
ly", | 1061 "description": "Hostname used to reach the application, as r
esolved by App Engine.@OutputOnly", |
1072 "format": "google-datetime", | 1062 "type": "string" |
1073 "type": "string" | 1063 }, |
1074 }, | 1064 "name": { |
1075 "nobuildFilesRegex": { | 1065 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", |
1076 "description": "Files that match this pattern will not be bu
ilt into this version. Only applicable for Go runtimes.Only returned in GET requ
ests if view=FULL is set.", | 1066 "type": "string" |
1077 "type": "string" | 1067 }, |
1078 }, | 1068 "authDomain": { |
1079 "basicScaling": { | 1069 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", |
1080 "$ref": "BasicScaling", | 1070 "type": "string" |
1081 "description": "A module with basic scaling will create an i
nstance when the application receives a request. The instance will be turned dow
n when the app becomes idle. Basic scaling is ideal for work that is intermitten
t or driven by user activity." | 1071 }, |
1082 }, | 1072 "iap": { |
1083 "runtime": { | 1073 "$ref": "IdentityAwareProxy" |
1084 "description": "Desired runtime. Example: python27.", | |
1085 "type": "string" | |
1086 }, | 1074 }, |
1087 "id": { | 1075 "id": { |
1088 "description": "Relative name of the version within the modu
le. Example: v1. Version names can contain only lowercase letters, numbers, or h
yphens. Reserved names: \"default\", \"latest\", and any name with the prefix \"
ah-\".", | 1076 "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.", |
1089 "type": "string" | 1077 "type": "string" |
1090 }, | 1078 }, |
1091 "envVariables": { | 1079 "defaultCookieExpiration": { |
1092 "additionalProperties": { | 1080 "description": "Cookie expiration policy for this applicatio
n.", |
| 1081 "format": "google-duration", |
| 1082 "type": "string" |
| 1083 } |
| 1084 }, |
| 1085 "type": "object" |
| 1086 }, |
| 1087 "Network": { |
| 1088 "description": "Extra network settings. Only applicable for VM runti
mes.", |
| 1089 "id": "Network", |
| 1090 "properties": { |
| 1091 "forwardedPorts": { |
| 1092 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", |
| 1093 "items": { |
1093 "type": "string" | 1094 "type": "string" |
1094 }, | 1095 }, |
1095 "description": "Environment variables made available to the
application.Only returned in GET requests if view=FULL is set.", | 1096 "type": "array" |
1096 "type": "object" | 1097 }, |
1097 }, | 1098 "instanceTag": { |
1098 "network": { | 1099 "description": "Tag to apply to the VM instance during creat
ion.", |
1099 "$ref": "Network", | 1100 "type": "string" |
1100 "description": "Extra network settings. Only applicable for
VM runtimes." | 1101 }, |
1101 } | 1102 "name": { |
1102 }, | 1103 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", |
1103 "type": "object" | 1104 "type": "string" |
1104 }, | 1105 } |
1105 "ContainerInfo": { | 1106 }, |
1106 "description": "Docker image that is used to create a container and
start a VM instance for the version that you deploy. Only applicable for instanc
es running in the App Engine flexible environment.", | 1107 "type": "object" |
1107 "id": "ContainerInfo", | 1108 }, |
1108 "properties": { | 1109 "UrlDispatchRule": { |
1109 "image": { | 1110 "description": "Rules to match an HTTP request and dispatch that req
uest to a module.", |
1110 "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\"
", | 1111 "id": "UrlDispatchRule", |
1111 "type": "string" | 1112 "properties": { |
1112 } | 1113 "path": { |
1113 }, | 1114 "description": "Pathname within the host. Must start with a
\"/\". A single \"*\" can be included at the end of the path. The sum of the len
gths of the domain and path may not exceed 100 characters.", |
1114 "type": "object" | 1115 "type": "string" |
1115 }, | 1116 }, |
1116 "RequestUtilization": { | 1117 "domain": { |
1117 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", | 1118 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", |
1118 "id": "RequestUtilization", | 1119 "type": "string" |
1119 "properties": { | 1120 }, |
1120 "targetRequestCountPerSec": { | 1121 "module": { |
1121 "description": "Target requests per second.", | 1122 "description": "Resource ID of a module in this application
that should serve the matched request. The module must already exist. Example: d
efault.", |
| 1123 "type": "string" |
| 1124 } |
| 1125 }, |
| 1126 "type": "object" |
| 1127 }, |
| 1128 "Instance": { |
| 1129 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", |
| 1130 "id": "Instance", |
| 1131 "properties": { |
| 1132 "requests": { |
| 1133 "description": "Number of requests since this instance was s
tarted.@OutputOnly", |
1122 "format": "int32", | 1134 "format": "int32", |
1123 "type": "integer" | 1135 "type": "integer" |
1124 }, | 1136 }, |
1125 "targetConcurrentRequests": { | 1137 "appEngineRelease": { |
1126 "description": "Target number of concurrent requests.", | 1138 "description": "App Engine release this instance is running
on.@OutputOnly", |
| 1139 "type": "string" |
| 1140 }, |
| 1141 "startTimestamp": { |
| 1142 "description": "Time that this instance was started.@OutputO
nly", |
| 1143 "format": "google-datetime", |
| 1144 "type": "string" |
| 1145 }, |
| 1146 "vmName": { |
| 1147 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", |
| 1148 "type": "string" |
| 1149 }, |
| 1150 "qps": { |
| 1151 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", |
| 1152 "format": "float", |
| 1153 "type": "number" |
| 1154 }, |
| 1155 "vmId": { |
| 1156 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", |
| 1157 "type": "string" |
| 1158 }, |
| 1159 "vmUnlocked": { |
| 1160 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", |
| 1161 "type": "boolean" |
| 1162 }, |
| 1163 "name": { |
| 1164 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.@OutputO
nly", |
| 1165 "type": "string" |
| 1166 }, |
| 1167 "vmZoneName": { |
| 1168 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", |
| 1169 "type": "string" |
| 1170 }, |
| 1171 "averageLatency": { |
| 1172 "description": "Average latency (ms) over the last minute.@O
utputOnly", |
1127 "format": "int32", | 1173 "format": "int32", |
1128 "type": "integer" | 1174 "type": "integer" |
1129 } | 1175 }, |
1130 }, | 1176 "id": { |
1131 "type": "object" | 1177 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", |
1132 }, | 1178 "type": "string" |
1133 "UrlMap": { | 1179 }, |
1134 "description": "URL pattern and description of how the URL should be
handled. App Engine can handle URLs by executing application code, or by servin
g static files uploaded with the version, such as images, CSS, or JavaScript.", | 1180 "vmIp": { |
1135 "id": "UrlMap", | 1181 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", |
1136 "properties": { | 1182 "type": "string" |
1137 "staticDirectory": { | 1183 }, |
1138 "$ref": "StaticDirectoryHandler", | 1184 "memoryUsage": { |
1139 "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." | 1185 "description": "Total memory in use (bytes).@OutputOnly", |
1140 }, | 1186 "format": "int64", |
1141 "staticFiles": { | 1187 "type": "string" |
1142 "$ref": "StaticFilesHandler", | 1188 }, |
1143 "description": "Returns the contents of a file, such as an i
mage, as the response." | 1189 "errors": { |
1144 }, | 1190 "description": "Number of errors since this instance was sta
rted.@OutputOnly", |
1145 "redirectHttpResponseCode": { | 1191 "format": "uint32", |
1146 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", | 1192 "type": "integer" |
| 1193 }, |
| 1194 "availability": { |
| 1195 "description": "Availability of the instance.@OutputOnly", |
1147 "enum": [ | 1196 "enum": [ |
1148 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", | 1197 "UNSPECIFIED", |
1149 "REDIRECT_HTTP_RESPONSE_CODE_301", | 1198 "RESIDENT", |
1150 "REDIRECT_HTTP_RESPONSE_CODE_302", | 1199 "DYNAMIC" |
1151 "REDIRECT_HTTP_RESPONSE_CODE_303", | |
1152 "REDIRECT_HTTP_RESPONSE_CODE_307" | |
1153 ], | 1200 ], |
1154 "enumDescriptions": [ | 1201 "enumDescriptions": [ |
1155 "Not specified. 302 is assumed.", | 1202 "", |
1156 "301 Moved Permanently code.", | 1203 "", |
1157 "302 Moved Temporarily code.", | 1204 "" |
1158 "303 See Other code.", | |
1159 "307 Temporary Redirect code." | |
1160 ], | 1205 ], |
1161 "type": "string" | 1206 "type": "string" |
1162 }, | 1207 }, |
1163 "securityLevel": { | 1208 "vmStatus": { |
1164 "description": "Security (HTTPS) enforcement for this URL.", | 1209 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", |
1165 "enum": [ | 1210 "type": "string" |
1166 "SECURE_UNSPECIFIED", | 1211 } |
1167 "SECURE_DEFAULT", | 1212 }, |
1168 "SECURE_NEVER", | 1213 "type": "object" |
1169 "SECURE_OPTIONAL", | 1214 }, |
1170 "SECURE_ALWAYS" | 1215 "ListVersionsResponse": { |
1171 ], | 1216 "description": "Response message for Versions.ListVersions.", |
1172 "enumDescriptions": [ | 1217 "id": "ListVersionsResponse", |
1173 "Not specified.", | 1218 "properties": { |
1174 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", | 1219 "versions": { |
1175 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", | 1220 "description": "The versions belonging to the requested modu
le.", |
1176 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", | 1221 "items": { |
1177 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." | 1222 "$ref": "Version" |
1178 ], | |
1179 "type": "string" | |
1180 }, | |
1181 "authFailAction": { | |
1182 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", | |
1183 "enum": [ | |
1184 "AUTH_FAIL_ACTION_UNSPECIFIED", | |
1185 "AUTH_FAIL_ACTION_REDIRECT", | |
1186 "AUTH_FAIL_ACTION_UNAUTHORIZED" | |
1187 ], | |
1188 "enumDescriptions": [ | |
1189 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | |
1190 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | |
1191 "Rejects request with a 401 HTTP status code and an erro
r message." | |
1192 ], | |
1193 "type": "string" | |
1194 }, | |
1195 "script": { | |
1196 "$ref": "ScriptHandler", | |
1197 "description": "Executes a script to handle the request that
matches this URL pattern." | |
1198 }, | |
1199 "urlRegex": { | |
1200 "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, usi
ng the portion of the URL after the prefix as part of the file path.", | |
1201 "type": "string" | |
1202 }, | |
1203 "login": { | |
1204 "description": "Level of login required to access this resou
rce.", | |
1205 "enum": [ | |
1206 "LOGIN_UNSPECIFIED", | |
1207 "LOGIN_OPTIONAL", | |
1208 "LOGIN_ADMIN", | |
1209 "LOGIN_REQUIRED" | |
1210 ], | |
1211 "enumDescriptions": [ | |
1212 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1213 "Does not require that the user is signed in.", | |
1214 "If the user is not signed in, the auth_fail_action is t
aken. 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 ad
ministrator, the handler proceeds.", | |
1215 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | |
1216 ], | |
1217 "type": "string" | |
1218 }, | |
1219 "apiEndpoint": { | |
1220 "$ref": "ApiEndpointHandler", | |
1221 "description": "Uses API Endpoints to handle requests." | |
1222 } | |
1223 }, | |
1224 "type": "object" | |
1225 }, | |
1226 "Operation": { | |
1227 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | |
1228 "id": "Operation", | |
1229 "properties": { | |
1230 "response": { | |
1231 "additionalProperties": { | |
1232 "description": "Properties of the object. Contains field
@type with type URL.", | |
1233 "type": "any" | |
1234 }, | 1223 }, |
1235 "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/Cr
eate/Update, the response should be the resource. For other methods, the respons
e should have the type XxxResponse, where Xxx is the original method name. For e
xample, if the original method name is TakeSnapshot(), the inferred response typ
e is TakeSnapshotResponse.", | 1224 "type": "array" |
1236 "type": "object" | 1225 }, |
1237 }, | 1226 "nextPageToken": { |
| 1227 "description": "Continuation token for fetching the next pag
e of results.", |
| 1228 "type": "string" |
| 1229 } |
| 1230 }, |
| 1231 "type": "object" |
| 1232 }, |
| 1233 "Module": { |
| 1234 "description": "A Module resource is a logical component of an appli
cation that can share state and communicate in a secure fashion with other modul
es. For example, an application that handles customer requests might include sep
arate 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.", |
| 1235 "id": "Module", |
| 1236 "properties": { |
1238 "name": { | 1237 "name": { |
1239 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the name should have the format of operations/some/unique/name.", | 1238 "description": "Full path to the Module resource in the API.
Example: apps/myapp/modules/default.@OutputOnly", |
1240 "type": "string" | 1239 "type": "string" |
1241 }, | 1240 }, |
1242 "error": { | 1241 "split": { |
1243 "$ref": "Status", | 1242 "$ref": "TrafficSplit", |
1244 "description": "The error result of the operation in case of
failure or cancellation." | 1243 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the module." |
1245 }, | 1244 }, |
1246 "metadata": { | 1245 "id": { |
1247 "additionalProperties": { | 1246 "description": "Relative name of the module within the appli
cation. Example: default.@OutputOnly", |
1248 "description": "Properties of the object. Contains field
@type with type URL.", | 1247 "type": "string" |
1249 "type": "any" | 1248 } |
1250 }, | 1249 }, |
1251 "description": "Service-specific metadata associated with th
e 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.", | 1250 "type": "object" |
1252 "type": "object" | 1251 }, |
1253 }, | 1252 "ApiEndpointHandler": { |
1254 "done": { | 1253 "description": "Uses Google Cloud Endpoints to handle requests.", |
1255 "description": "If the value is false, it means the operatio
n is still in progress. If true, the operation is completed, and either error or
response is available.", | 1254 "id": "ApiEndpointHandler", |
1256 "type": "boolean" | 1255 "properties": { |
1257 } | 1256 "scriptPath": { |
1258 }, | |
1259 "type": "object" | |
1260 }, | |
1261 "ApiConfigHandler": { | |
1262 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", | |
1263 "id": "ApiConfigHandler", | |
1264 "properties": { | |
1265 "login": { | |
1266 "description": "Level of login required to access this resou
rce. Defaults to optional.", | |
1267 "enum": [ | |
1268 "LOGIN_UNSPECIFIED", | |
1269 "LOGIN_OPTIONAL", | |
1270 "LOGIN_ADMIN", | |
1271 "LOGIN_REQUIRED" | |
1272 ], | |
1273 "enumDescriptions": [ | |
1274 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1275 "Does not require that the user is signed in.", | |
1276 "If the user is not signed in, the auth_fail_action is t
aken. 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 ad
ministrator, the handler proceeds.", | |
1277 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." | |
1278 ], | |
1279 "type": "string" | |
1280 }, | |
1281 "url": { | |
1282 "description": "URL to serve the endpoint at.", | |
1283 "type": "string" | |
1284 }, | |
1285 "securityLevel": { | |
1286 "description": "Security (HTTPS) enforcement for this URL.", | |
1287 "enum": [ | |
1288 "SECURE_UNSPECIFIED", | |
1289 "SECURE_DEFAULT", | |
1290 "SECURE_NEVER", | |
1291 "SECURE_OPTIONAL", | |
1292 "SECURE_ALWAYS" | |
1293 ], | |
1294 "enumDescriptions": [ | |
1295 "Not specified.", | |
1296 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", | |
1297 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", | |
1298 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", | |
1299 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." | |
1300 ], | |
1301 "type": "string" | |
1302 }, | |
1303 "authFailAction": { | |
1304 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", | |
1305 "enum": [ | |
1306 "AUTH_FAIL_ACTION_UNSPECIFIED", | |
1307 "AUTH_FAIL_ACTION_REDIRECT", | |
1308 "AUTH_FAIL_ACTION_UNAUTHORIZED" | |
1309 ], | |
1310 "enumDescriptions": [ | |
1311 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | |
1312 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | |
1313 "Rejects request with a 401 HTTP status code and an erro
r message." | |
1314 ], | |
1315 "type": "string" | |
1316 }, | |
1317 "script": { | |
1318 "description": "Path to the script from the application root
directory.", | 1257 "description": "Path to the script from the application root
directory.", |
1319 "type": "string" | 1258 "type": "string" |
1320 } | 1259 } |
1321 }, | 1260 }, |
1322 "type": "object" | 1261 "type": "object" |
1323 }, | 1262 }, |
1324 "FileInfo": { | 1263 "StaticDirectoryHandler": { |
1325 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", | 1264 "description": "Files served directly to the user for a given URL, s
uch as images, CSS stylesheets, or JavaScript source files. Static directory han
dlers make it easy to serve the entire contents of a directory as static files."
, |
1326 "id": "FileInfo", | 1265 "id": "StaticDirectoryHandler", |
1327 "properties": { | |
1328 "sha1Sum": { | |
1329 "description": "The SHA1 hash of the file, in hex.", | |
1330 "type": "string" | |
1331 }, | |
1332 "mimeType": { | |
1333 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", | |
1334 "type": "string" | |
1335 }, | |
1336 "sourceUrl": { | |
1337 "description": "URL source to use to fetch this file. Must b
e a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.goo
gleapis.com/<bucket>/<object>'.", | |
1338 "type": "string" | |
1339 } | |
1340 }, | |
1341 "type": "object" | |
1342 }, | |
1343 "StaticFilesHandler": { | |
1344 "description": "Files served directly to the user for a given URL, s
uch as images, CSS stylesheets, or JavaScript source files. Static file handlers
describe which files in the application directory are static files, and which U
RLs serve them.", | |
1345 "id": "StaticFilesHandler", | |
1346 "properties": { | 1266 "properties": { |
1347 "expiration": { | 1267 "expiration": { |
1348 "description": "Time a static file served by this handler sh
ould be cached.", | 1268 "description": "Time a static file served by this handler sh
ould be cached.", |
1349 "format": "google-duration", | 1269 "format": "google-duration", |
1350 "type": "string" | 1270 "type": "string" |
1351 }, | 1271 }, |
1352 "applicationReadable": { | |
1353 "description": "Whether files should also be uploaded as cod
e data. By default, files declared in static file handlers are uploaded as stati
c 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.", | |
1354 "type": "boolean" | |
1355 }, | |
1356 "httpHeaders": { | 1272 "httpHeaders": { |
1357 "additionalProperties": { | 1273 "additionalProperties": { |
1358 "type": "string" | 1274 "type": "string" |
1359 }, | 1275 }, |
1360 "description": "HTTP headers to use for all responses from t
hese URLs.", | 1276 "description": "HTTP headers to use for all responses from t
hese URLs.", |
1361 "type": "object" | 1277 "type": "object" |
1362 }, | 1278 }, |
1363 "uploadPathRegex": { | 1279 "applicationReadable": { |
1364 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", | 1280 "description": "Whether files should also be uploaded as cod
e data. By default, files declared in static directory handlers are uploaded as
static data and are only served to end users; they cannot be read by the applica
tion. If enabled, uploads are charged against both your code and static data sto
rage resource quotas.", |
1365 "type": "string" | 1281 "type": "boolean" |
1366 }, | 1282 }, |
1367 "path": { | 1283 "directory": { |
1368 "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.", | 1284 "description": "Path to the directory containing the static
files from the application root directory. Everything after the end of the match
ed URL pattern is appended to static_dir to form the full path to the requested
file.", |
1369 "type": "string" | 1285 "type": "string" |
1370 }, | 1286 }, |
1371 "mimeType": { | 1287 "mimeType": { |
1372 "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.", | 1288 "description": "MIME type used to serve all files served by
this handler. Defaults to file-specific MIME types, which are direved from each
file's filename extension.", |
1373 "type": "string" | 1289 "type": "string" |
1374 }, | 1290 }, |
1375 "requireMatchingFile": { | 1291 "requireMatchingFile": { |
1376 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", | 1292 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
1377 "type": "boolean" | 1293 "type": "boolean" |
1378 } | 1294 } |
1379 }, | 1295 }, |
1380 "type": "object" | 1296 "type": "object" |
1381 }, | 1297 }, |
1382 "ScriptHandler": { | 1298 "AutomaticScaling": { |
1383 "description": "Executes a script to handle the request that matches
the URL pattern.", | 1299 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", |
1384 "id": "ScriptHandler", | 1300 "id": "AutomaticScaling", |
1385 "properties": { | 1301 "properties": { |
1386 "scriptPath": { | 1302 "requestUtilization": { |
1387 "description": "Path to the script from the application root
directory.", | 1303 "$ref": "RequestUtilization", |
1388 "type": "string" | 1304 "description": "Target scaling by request utilization." |
1389 } | 1305 }, |
1390 }, | 1306 "maxIdleInstances": { |
1391 "type": "object" | 1307 "description": "Maximum number of idle instances that should
be maintained for this version.", |
1392 }, | 1308 "format": "int32", |
1393 "DiskUtilization": { | 1309 "type": "integer" |
1394 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", | 1310 }, |
1395 "id": "DiskUtilization", | 1311 "minIdleInstances": { |
1396 "properties": { | 1312 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a mo
dule.", |
1397 "targetWriteBytesPerSec": { | 1313 "format": "int32", |
1398 "description": "Target bytes written per second.", | 1314 "type": "integer" |
1399 "format": "int32", | 1315 }, |
1400 "type": "integer" | 1316 "maxTotalInstances": { |
1401 }, | 1317 "description": "Maximum number of instances that should be s
tarted to handle requests.", |
1402 "targetReadOpsPerSec": { | 1318 "format": "int32", |
1403 "description": "Target ops read per second.", | 1319 "type": "integer" |
1404 "format": "int32", | 1320 }, |
1405 "type": "integer" | 1321 "minTotalInstances": { |
1406 }, | 1322 "description": "Minimum number of instances that should be m
aintained for this version.", |
1407 "targetReadBytesPerSec": { | 1323 "format": "int32", |
1408 "description": "Target bytes read per second.", | 1324 "type": "integer" |
1409 "format": "int32", | 1325 }, |
1410 "type": "integer" | 1326 "networkUtilization": { |
1411 }, | 1327 "$ref": "NetworkUtilization", |
1412 "targetWriteOpsPerSec": { | 1328 "description": "Target scaling by network usage." |
1413 "description": "Target ops written per second.", | 1329 }, |
1414 "format": "int32", | 1330 "maxConcurrentRequests": { |
1415 "type": "integer" | 1331 "description": "Number of concurrent requests an automatic s
caling instance can accept before the scheduler spawns a new instance.Defaults t
o a runtime-specific value.", |
1416 } | 1332 "format": "int32", |
1417 }, | 1333 "type": "integer" |
1418 "type": "object" | 1334 }, |
1419 }, | 1335 "coolDownPeriod": { |
1420 "BasicScaling": { | 1336 "description": "Amount of time that the Autoscaler (https://
cloud.google.com/compute/docs/autoscaler/) should wait between changes to the nu
mber of virtual machines. Only applicable for VM runtimes.", |
1421 "description": "A module with basic scaling will create an instance
when the application receives a request. The instance will be turned down when t
he app becomes idle. Basic scaling is ideal for work that is intermittent or dri
ven by user activity.", | 1337 "format": "google-duration", |
1422 "id": "BasicScaling", | 1338 "type": "string" |
1423 "properties": { | 1339 }, |
1424 "maxInstances": { | 1340 "maxPendingLatency": { |
1425 "description": "Maximum number of instances to create for th
is version.", | 1341 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", |
1426 "format": "int32", | 1342 "format": "google-duration", |
1427 "type": "integer" | 1343 "type": "string" |
1428 }, | 1344 }, |
1429 "idleTimeout": { | 1345 "cpuUtilization": { |
1430 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", | 1346 "$ref": "CpuUtilization", |
1431 "format": "google-duration", | 1347 "description": "Target scaling by CPU usage." |
1432 "type": "string" | 1348 }, |
1433 } | 1349 "diskUtilization": { |
1434 }, | 1350 "$ref": "DiskUtilization", |
1435 "type": "object" | 1351 "description": "Target scaling by disk usage." |
1436 }, | 1352 }, |
1437 "OperationMetadataExperimental": { | 1353 "minPendingLatency": { |
1438 "description": "Metadata for the given google.longrunning.Operation.
", | 1354 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", |
1439 "id": "OperationMetadataExperimental", | 1355 "format": "google-duration", |
1440 "properties": { | 1356 "type": "string" |
1441 "method": { | 1357 } |
1442 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", | 1358 }, |
1443 "type": "string" | 1359 "type": "object" |
1444 }, | 1360 }, |
1445 "insertTime": { | 1361 "NetworkUtilization": { |
1446 "description": "Time that this operation was created.@Output
Only", | 1362 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", |
1447 "format": "google-datetime", | 1363 "id": "NetworkUtilization", |
1448 "type": "string" | 1364 "properties": { |
1449 }, | 1365 "targetSentPacketsPerSec": { |
1450 "endTime": { | 1366 "description": "Target packets sent per second.", |
1451 "description": "Time that this operation completed.@OutputOn
ly", | 1367 "format": "int32", |
1452 "format": "google-datetime", | 1368 "type": "integer" |
1453 "type": "string" | 1369 }, |
1454 }, | 1370 "targetSentBytesPerSec": { |
1455 "user": { | 1371 "description": "Target bytes sent per second.", |
1456 "description": "User who requested this operation.@OutputOnl
y", | 1372 "format": "int32", |
1457 "type": "string" | 1373 "type": "integer" |
1458 }, | 1374 }, |
1459 "target": { | 1375 "targetReceivedPacketsPerSec": { |
1460 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", | 1376 "description": "Target packets received per second.", |
1461 "type": "string" | 1377 "format": "int32", |
1462 } | 1378 "type": "integer" |
1463 }, | 1379 }, |
1464 "type": "object" | 1380 "targetReceivedBytesPerSec": { |
1465 }, | 1381 "description": "Target bytes received per second.", |
1466 "CpuUtilization": { | 1382 "format": "int32", |
1467 "description": "Target scaling by CPU usage.", | 1383 "type": "integer" |
1468 "id": "CpuUtilization", | 1384 } |
1469 "properties": { | 1385 }, |
1470 "aggregationWindowLength": { | 1386 "type": "object" |
1471 "description": "Period of time over which CPU utilization is
calculated.", | 1387 }, |
1472 "format": "google-duration", | 1388 "Location": { |
1473 "type": "string" | 1389 "description": "A resource that represents Google Cloud Platform loc
ation.", |
1474 }, | 1390 "id": "Location", |
1475 "targetUtilization": { | 1391 "properties": { |
1476 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", | 1392 "labels": { |
1477 "format": "double", | |
1478 "type": "number" | |
1479 } | |
1480 }, | |
1481 "type": "object" | |
1482 }, | |
1483 "Status": { | |
1484 "description": "The Status type defines a logical error model that i
s suitable for different programming environments, including REST APIs and RPC A
PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t
o be:\nSimple to use and understand for most users\nFlexible enough to meet unex
pected needsOverviewThe Status message contains three pieces of data: error code
, error message, and error details. The error code should be an enum value of go
ogle.rpc.Code, but it may accept additional error codes if needed. The error mes
sage should be a developer-facing English message that helps developers understa
nd and resolve the error. If a localized user-facing error message is needed, pu
t the localized message in the error details or localize it in the client. The o
ptional error details may contain arbitrary information about the error. There i
s 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 logic
al 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 dif
ferent 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 code
s 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 inclu
de:\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.\n
Workflow errors. A typical workflow has multiple steps. Each step may have a Sta
tus message for error reporting purpose.\nBatch operations. If a client uses bat
ch request and batch response, the Status message should be used directly inside
batch response, one for each error sub-response.\nAsynchronous operations. If a
n API call embeds asynchronous operation results in its response, the status of
those operations should be represented directly using the Status message.\nLoggi
ng. If some API errors are stored in logs, the message Status could be used dire
ctly after any stripping needed for security/privacy reasons.", | |
1485 "id": "Status", | |
1486 "properties": { | |
1487 "message": { | |
1488 "description": "A developer-facing error message, which shou
ld 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.", | |
1489 "type": "string" | |
1490 }, | |
1491 "details": { | |
1492 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", | |
1493 "items": { | |
1494 "additionalProperties": { | |
1495 "description": "Properties of the object. Contains f
ield @type with type URL.", | |
1496 "type": "any" | |
1497 }, | |
1498 "type": "object" | |
1499 }, | |
1500 "type": "array" | |
1501 }, | |
1502 "code": { | |
1503 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | |
1504 "format": "int32", | |
1505 "type": "integer" | |
1506 } | |
1507 }, | |
1508 "type": "object" | |
1509 }, | |
1510 "IdentityAwareProxy": { | |
1511 "description": "Identity-Aware Proxy", | |
1512 "id": "IdentityAwareProxy", | |
1513 "properties": { | |
1514 "oauth2ClientSecret": { | |
1515 "description": "For security reasons, this value cannot be r
etrieved via the API. Instead, the SHA-256 hash of the value is returned in the
oauth2_client_secret_sha256 field.@InputOnly", | |
1516 "type": "string" | |
1517 }, | |
1518 "oauth2ClientId": { | |
1519 "description": "OAuth2 client ID to use for the authenticati
on flow.", | |
1520 "type": "string" | |
1521 }, | |
1522 "oauth2ClientSecretSha256": { | |
1523 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", | |
1524 "type": "string" | |
1525 }, | |
1526 "enabled": { | |
1527 "description": "Whether the serving infrastructure will auth
enticate and authorize all incoming requests.If true, the oauth2_client_id and o
auth2_client_secret fields must be non-empty.", | |
1528 "type": "boolean" | |
1529 } | |
1530 }, | |
1531 "type": "object" | |
1532 }, | |
1533 "ManualScaling": { | |
1534 "description": "A module with manual scaling runs continuously, allo
wing you to perform complex initialization and rely on the state of its memory o
ver time.", | |
1535 "id": "ManualScaling", | |
1536 "properties": { | |
1537 "instances": { | |
1538 "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() f
unction.", | |
1539 "format": "int32", | |
1540 "type": "integer" | |
1541 } | |
1542 }, | |
1543 "type": "object" | |
1544 }, | |
1545 "TrafficSplit": { | |
1546 "description": "Traffic routing configuration for versions within a
single module. Traffic splits define how traffic directed to the module is assig
ned to versions.", | |
1547 "id": "TrafficSplit", | |
1548 "properties": { | |
1549 "shardBy": { | |
1550 "description": "Mechanism used to determine which version a
request is sent to. The traffic selection algorithm will be stable for either ty
pe until allocations are changed.", | |
1551 "enum": [ | |
1552 "UNSPECIFIED", | |
1553 "COOKIE", | |
1554 "IP" | |
1555 ], | |
1556 "enumDescriptions": [ | |
1557 "Diversion method unspecified.", | |
1558 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or else no diversion will
occur.", | |
1559 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." | |
1560 ], | |
1561 "type": "string" | |
1562 }, | |
1563 "allocations": { | |
1564 "additionalProperties": { | 1393 "additionalProperties": { |
1565 "format": "double", | |
1566 "type": "number" | |
1567 }, | |
1568 "description": "Mapping from version IDs within the module t
o fractional (0.000, 1] allocations of traffic for that version. Each version ca
n be specified only once, but some versions in the module may not have any traff
ic allocation. Modules that have traffic allocated cannot be deleted until eithe
r 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 an
d up to three decimal places is supported for cookie-based splits.", | |
1569 "type": "object" | |
1570 } | |
1571 }, | |
1572 "type": "object" | |
1573 }, | |
1574 "LocationMetadata": { | |
1575 "description": "Metadata for the given google.cloud.location.Locatio
n.", | |
1576 "id": "LocationMetadata", | |
1577 "properties": { | |
1578 "flexibleEnvironmentAvailable": { | |
1579 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", | |
1580 "type": "boolean" | |
1581 }, | |
1582 "standardEnvironmentAvailable": { | |
1583 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", | |
1584 "type": "boolean" | |
1585 } | |
1586 }, | |
1587 "type": "object" | |
1588 }, | |
1589 "OperationMetadataV1Beta": { | |
1590 "description": "Metadata for the given google.longrunning.Operation.
", | |
1591 "id": "OperationMetadataV1Beta", | |
1592 "properties": { | |
1593 "warning": { | |
1594 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | |
1595 "items": { | |
1596 "type": "string" | 1394 "type": "string" |
1597 }, | 1395 }, |
1598 "type": "array" | 1396 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", |
| 1397 "type": "object" |
| 1398 }, |
| 1399 "name": { |
| 1400 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", |
| 1401 "type": "string" |
| 1402 }, |
| 1403 "locationId": { |
| 1404 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", |
| 1405 "type": "string" |
| 1406 }, |
| 1407 "metadata": { |
| 1408 "additionalProperties": { |
| 1409 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1410 "type": "any" |
| 1411 }, |
| 1412 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", |
| 1413 "type": "object" |
| 1414 } |
| 1415 }, |
| 1416 "type": "object" |
| 1417 }, |
| 1418 "HealthCheck": { |
| 1419 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances. Only applicable for
instances in App Engine flexible environment.", |
| 1420 "id": "HealthCheck", |
| 1421 "properties": { |
| 1422 "unhealthyThreshold": { |
| 1423 "description": "Number of consecutive failed health checks r
equired before removing traffic.", |
| 1424 "format": "uint32", |
| 1425 "type": "integer" |
| 1426 }, |
| 1427 "disableHealthCheck": { |
| 1428 "description": "Whether to explicitly disable health checks
for this instance.", |
| 1429 "type": "boolean" |
| 1430 }, |
| 1431 "host": { |
| 1432 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", |
| 1433 "type": "string" |
| 1434 }, |
| 1435 "healthyThreshold": { |
| 1436 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", |
| 1437 "format": "uint32", |
| 1438 "type": "integer" |
| 1439 }, |
| 1440 "restartThreshold": { |
| 1441 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", |
| 1442 "format": "uint32", |
| 1443 "type": "integer" |
| 1444 }, |
| 1445 "checkInterval": { |
| 1446 "description": "Interval between health checks.", |
| 1447 "format": "google-duration", |
| 1448 "type": "string" |
| 1449 }, |
| 1450 "timeout": { |
| 1451 "description": "Time before the health check is considered f
ailed.", |
| 1452 "format": "google-duration", |
| 1453 "type": "string" |
| 1454 } |
| 1455 }, |
| 1456 "type": "object" |
| 1457 }, |
| 1458 "SourceReference": { |
| 1459 "description": "Reference to a particular snapshot of the source tre
e used to build and deploy the application.", |
| 1460 "id": "SourceReference", |
| 1461 "properties": { |
| 1462 "repository": { |
| 1463 "description": "URI string identifying the repository. Examp
le: \"https://source.developers.google.com/p/app-123/r/default\"", |
| 1464 "type": "string" |
| 1465 }, |
| 1466 "revisionId": { |
| 1467 "description": "The canonical, persistent identifier of the
deployed revision. Aliases that include tags or branch names are not allowed. Ex
ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", |
| 1468 "type": "string" |
| 1469 } |
| 1470 }, |
| 1471 "type": "object" |
| 1472 }, |
| 1473 "DebugInstanceRequest": { |
| 1474 "description": "Request message for Instances.DebugInstance.", |
| 1475 "id": "DebugInstanceRequest", |
| 1476 "properties": { |
| 1477 "sshKey": { |
| 1478 "description": "Public SSH key to add to the instance. Examp
les:\n[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]\n[USERNAME]:ssh-rsa [KEY_VALUE]
google-ssh {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more
information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/
docs/instances/adding-removing-ssh-keys).", |
| 1479 "type": "string" |
| 1480 } |
| 1481 }, |
| 1482 "type": "object" |
| 1483 }, |
| 1484 "Library": { |
| 1485 "description": "Third-party Python runtime library that is required
by the application.", |
| 1486 "id": "Library", |
| 1487 "properties": { |
| 1488 "version": { |
| 1489 "description": "Version of the library to select, or \"lates
t\".", |
| 1490 "type": "string" |
| 1491 }, |
| 1492 "name": { |
| 1493 "description": "Name of the library. Example: \"django\".", |
| 1494 "type": "string" |
| 1495 } |
| 1496 }, |
| 1497 "type": "object" |
| 1498 }, |
| 1499 "OperationMetadataV1Beta5": { |
| 1500 "description": "Metadata for the given google.longrunning.Operation.
", |
| 1501 "id": "OperationMetadataV1Beta5", |
| 1502 "properties": { |
| 1503 "method": { |
| 1504 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
| 1505 "type": "string" |
1599 }, | 1506 }, |
1600 "insertTime": { | 1507 "insertTime": { |
1601 "description": "Time that this operation was created.@Output
Only", | |
1602 "format": "google-datetime", | |
1603 "type": "string" | |
1604 }, | |
1605 "user": { | |
1606 "description": "User who requested this operation.@OutputOnl
y", | |
1607 "type": "string" | |
1608 }, | |
1609 "target": { | |
1610 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | |
1611 "type": "string" | |
1612 }, | |
1613 "ephemeralMessage": { | |
1614 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | |
1615 "type": "string" | |
1616 }, | |
1617 "method": { | |
1618 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", | |
1619 "type": "string" | |
1620 }, | |
1621 "endTime": { | |
1622 "description": "Time that this operation completed.@OutputOn
ly", | |
1623 "format": "google-datetime", | |
1624 "type": "string" | |
1625 } | |
1626 }, | |
1627 "type": "object" | |
1628 }, | |
1629 "ListModulesResponse": { | |
1630 "description": "Response message for Modules.ListModules.", | |
1631 "id": "ListModulesResponse", | |
1632 "properties": { | |
1633 "nextPageToken": { | |
1634 "description": "Continuation token for fetching the next pag
e of results.", | |
1635 "type": "string" | |
1636 }, | |
1637 "modules": { | |
1638 "description": "The modules belonging to the requested appli
cation.", | |
1639 "items": { | |
1640 "$ref": "Module" | |
1641 }, | |
1642 "type": "array" | |
1643 } | |
1644 }, | |
1645 "type": "object" | |
1646 }, | |
1647 "Resources": { | |
1648 "description": "Machine resources for a version.", | |
1649 "id": "Resources", | |
1650 "properties": { | |
1651 "volumes": { | |
1652 "description": "User specified volumes.", | |
1653 "items": { | |
1654 "$ref": "Volume" | |
1655 }, | |
1656 "type": "array" | |
1657 }, | |
1658 "diskGb": { | |
1659 "description": "Disk size (GB) needed.", | |
1660 "format": "double", | |
1661 "type": "number" | |
1662 }, | |
1663 "cpu": { | |
1664 "description": "Number of CPU cores needed.", | |
1665 "format": "double", | |
1666 "type": "number" | |
1667 }, | |
1668 "memoryGb": { | |
1669 "description": "Memory (GB) needed.", | |
1670 "format": "double", | |
1671 "type": "number" | |
1672 } | |
1673 }, | |
1674 "type": "object" | |
1675 }, | |
1676 "Deployment": { | |
1677 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", | |
1678 "id": "Deployment", | |
1679 "properties": { | |
1680 "container": { | |
1681 "$ref": "ContainerInfo", | |
1682 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." | |
1683 }, | |
1684 "sourceReferences": { | |
1685 "description": "Origin of the source code for this deploymen
t. There can be more than one source reference per version if source code is dis
tributed among multiple repositories.", | |
1686 "items": { | |
1687 "$ref": "SourceReference" | |
1688 }, | |
1689 "type": "array" | |
1690 }, | |
1691 "files": { | |
1692 "additionalProperties": { | |
1693 "$ref": "FileInfo" | |
1694 }, | |
1695 "description": "Manifest of the files stored in Google Cloud
Storage that are included as part of this version. All files must be readable u
sing the credentials supplied with this call.", | |
1696 "type": "object" | |
1697 } | |
1698 }, | |
1699 "type": "object" | |
1700 }, | |
1701 "Volume": { | |
1702 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", | |
1703 "id": "Volume", | |
1704 "properties": { | |
1705 "sizeGb": { | |
1706 "description": "Volume size in gigabytes.", | |
1707 "format": "double", | |
1708 "type": "number" | |
1709 }, | |
1710 "name": { | |
1711 "description": "Unique name for the volume.", | |
1712 "type": "string" | |
1713 }, | |
1714 "volumeType": { | |
1715 "description": "Underlying volume type, e.g. 'tmpfs'.", | |
1716 "type": "string" | |
1717 } | |
1718 }, | |
1719 "type": "object" | |
1720 }, | |
1721 "ListOperationsResponse": { | |
1722 "description": "The response message for Operations.ListOperations."
, | |
1723 "id": "ListOperationsResponse", | |
1724 "properties": { | |
1725 "nextPageToken": { | |
1726 "description": "The standard List next-page token.", | |
1727 "type": "string" | |
1728 }, | |
1729 "operations": { | |
1730 "description": "A list of operations that matches the specif
ied filter in the request.", | |
1731 "items": { | |
1732 "$ref": "Operation" | |
1733 }, | |
1734 "type": "array" | |
1735 } | |
1736 }, | |
1737 "type": "object" | |
1738 }, | |
1739 "OperationMetadata": { | |
1740 "description": "Metadata for the given google.longrunning.Operation.
", | |
1741 "id": "OperationMetadata", | |
1742 "properties": { | |
1743 "operationType": { | |
1744 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", | |
1745 "type": "string" | |
1746 }, | |
1747 "insertTime": { | |
1748 "description": "Timestamp that this operation was created.@O
utputOnly", | 1508 "description": "Timestamp that this operation was created.@O
utputOnly", |
1749 "format": "google-datetime", | 1509 "format": "google-datetime", |
1750 "type": "string" | 1510 "type": "string" |
1751 }, | 1511 }, |
1752 "target": { | |
1753 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", | |
1754 "type": "string" | |
1755 }, | |
1756 "user": { | |
1757 "description": "User who requested this operation.@OutputOnl
y", | |
1758 "type": "string" | |
1759 }, | |
1760 "method": { | |
1761 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", | |
1762 "type": "string" | |
1763 }, | |
1764 "endTime": { | 1512 "endTime": { |
1765 "description": "Timestamp that this operation completed.@Out
putOnly", | 1513 "description": "Timestamp that this operation completed.@Out
putOnly", |
1766 "format": "google-datetime", | 1514 "format": "google-datetime", |
1767 "type": "string" | 1515 "type": "string" |
1768 } | |
1769 }, | |
1770 "type": "object" | |
1771 }, | |
1772 "ListInstancesResponse": { | |
1773 "description": "Response message for Instances.ListInstances.", | |
1774 "id": "ListInstancesResponse", | |
1775 "properties": { | |
1776 "instances": { | |
1777 "description": "The instances belonging to the requested ver
sion.", | |
1778 "items": { | |
1779 "$ref": "Instance" | |
1780 }, | |
1781 "type": "array" | |
1782 }, | |
1783 "nextPageToken": { | |
1784 "description": "Continuation token for fetching the next pag
e of results.", | |
1785 "type": "string" | |
1786 } | |
1787 }, | |
1788 "type": "object" | |
1789 }, | |
1790 "OperationMetadataV1": { | |
1791 "description": "Metadata for the given google.longrunning.Operation.
", | |
1792 "id": "OperationMetadataV1", | |
1793 "properties": { | |
1794 "endTime": { | |
1795 "description": "Time that this operation completed.@OutputOn
ly", | |
1796 "format": "google-datetime", | |
1797 "type": "string" | |
1798 }, | |
1799 "warning": { | |
1800 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | |
1801 "items": { | |
1802 "type": "string" | |
1803 }, | |
1804 "type": "array" | |
1805 }, | |
1806 "insertTime": { | |
1807 "description": "Time that this operation was created.@Output
Only", | |
1808 "format": "google-datetime", | |
1809 "type": "string" | |
1810 }, | 1516 }, |
1811 "user": { | 1517 "user": { |
1812 "description": "User who requested this operation.@OutputOnl
y", | 1518 "description": "User who requested this operation.@OutputOnl
y", |
1813 "type": "string" | 1519 "type": "string" |
1814 }, | 1520 }, |
1815 "target": { | 1521 "target": { |
1816 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 1522 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
1817 "type": "string" | 1523 "type": "string" |
1818 }, | 1524 } |
1819 "ephemeralMessage": { | 1525 }, |
1820 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | 1526 "type": "object" |
1821 "type": "string" | 1527 }, |
1822 }, | 1528 "ListLocationsResponse": { |
1823 "method": { | 1529 "description": "The response message for Locations.ListLocations.", |
1824 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", | 1530 "id": "ListLocationsResponse", |
1825 "type": "string" | 1531 "properties": { |
1826 } | 1532 "nextPageToken": { |
1827 }, | 1533 "description": "The standard List next-page token.", |
1828 "type": "object" | 1534 "type": "string" |
1829 }, | 1535 }, |
1830 "ErrorHandler": { | 1536 "locations": { |
1831 "description": "Custom static error page to be served when an error
occurs.", | 1537 "description": "A list of locations that matches the specifi
ed filter in the request.", |
1832 "id": "ErrorHandler", | |
1833 "properties": { | |
1834 "errorCode": { | |
1835 "description": "Error condition this handler applies to.", | |
1836 "enum": [ | |
1837 "ERROR_CODE_UNSPECIFIED", | |
1838 "ERROR_CODE_DEFAULT", | |
1839 "ERROR_CODE_OVER_QUOTA", | |
1840 "ERROR_CODE_DOS_API_DENIAL", | |
1841 "ERROR_CODE_TIMEOUT" | |
1842 ], | |
1843 "enumDescriptions": [ | |
1844 "Not specified. ERROR_CODE_DEFAULT is assumed.", | |
1845 "All other error types.", | |
1846 "Application has exceeded a resource quota.", | |
1847 "Client blocked by the application's Denial of Service p
rotection configuration.", | |
1848 "Deadline reached before the application responds." | |
1849 ], | |
1850 "type": "string" | |
1851 }, | |
1852 "mimeType": { | |
1853 "description": "MIME type of file. Defaults to text/html.", | |
1854 "type": "string" | |
1855 }, | |
1856 "staticFile": { | |
1857 "description": "Static file content to be served for this er
ror.", | |
1858 "type": "string" | |
1859 } | |
1860 }, | |
1861 "type": "object" | |
1862 }, | |
1863 "Network": { | |
1864 "description": "Extra network settings. Only applicable for VM runti
mes.", | |
1865 "id": "Network", | |
1866 "properties": { | |
1867 "forwardedPorts": { | |
1868 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", | |
1869 "items": { | 1538 "items": { |
| 1539 "$ref": "Location" |
| 1540 }, |
| 1541 "type": "array" |
| 1542 } |
| 1543 }, |
| 1544 "type": "object" |
| 1545 }, |
| 1546 "ContainerInfo": { |
| 1547 "description": "Docker image that is used to create a container and
start a VM instance for the version that you deploy. Only applicable for instanc
es running in the App Engine flexible environment.", |
| 1548 "id": "ContainerInfo", |
| 1549 "properties": { |
| 1550 "image": { |
| 1551 "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\"
", |
| 1552 "type": "string" |
| 1553 } |
| 1554 }, |
| 1555 "type": "object" |
| 1556 }, |
| 1557 "Version": { |
| 1558 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a module.", |
| 1559 "id": "Version", |
| 1560 "properties": { |
| 1561 "defaultExpiration": { |
| 1562 "description": "Duration that static files should be cached
by web proxies and browsers. Only applicable if the corresponding StaticFilesHan
dler (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.s
ervices.versions#staticfileshandler) does not specify its own expiration time.On
ly returned in GET requests if view=FULL is set.", |
| 1563 "format": "google-duration", |
| 1564 "type": "string" |
| 1565 }, |
| 1566 "libraries": { |
| 1567 "description": "Configuration for third-party Python runtime
libraries required by the application.Only returned in GET requests if view=FUL
L is set.", |
| 1568 "items": { |
| 1569 "$ref": "Library" |
| 1570 }, |
| 1571 "type": "array" |
| 1572 }, |
| 1573 "creationTime": { |
| 1574 "description": "Time that this version was created.@OutputOn
ly", |
| 1575 "format": "google-datetime", |
| 1576 "type": "string" |
| 1577 }, |
| 1578 "nobuildFilesRegex": { |
| 1579 "description": "Files that match this pattern will not be bu
ilt into this version. Only applicable for Go runtimes.Only returned in GET requ
ests if view=FULL is set.", |
| 1580 "type": "string" |
| 1581 }, |
| 1582 "basicScaling": { |
| 1583 "$ref": "BasicScaling", |
| 1584 "description": "A module with basic scaling will create an i
nstance when the application receives a request. The instance will be turned dow
n when the app becomes idle. Basic scaling is ideal for work that is intermitten
t or driven by user activity." |
| 1585 }, |
| 1586 "runtime": { |
| 1587 "description": "Desired runtime. Example: python27.", |
| 1588 "type": "string" |
| 1589 }, |
| 1590 "id": { |
| 1591 "description": "Relative name of the version within the modu
le. Example: v1. Version names can contain only lowercase letters, numbers, or h
yphens. Reserved names: \"default\", \"latest\", and any name with the prefix \"
ah-\".", |
| 1592 "type": "string" |
| 1593 }, |
| 1594 "envVariables": { |
| 1595 "additionalProperties": { |
1870 "type": "string" | 1596 "type": "string" |
1871 }, | 1597 }, |
| 1598 "description": "Environment variables made available to the
application.Only returned in GET requests if view=FULL is set.", |
| 1599 "type": "object" |
| 1600 }, |
| 1601 "network": { |
| 1602 "$ref": "Network", |
| 1603 "description": "Extra network settings. Only applicable for
VM runtimes." |
| 1604 }, |
| 1605 "betaSettings": { |
| 1606 "additionalProperties": { |
| 1607 "type": "string" |
| 1608 }, |
| 1609 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", |
| 1610 "type": "object" |
| 1611 }, |
| 1612 "env": { |
| 1613 "description": "App Engine execution environment to use for
this version.Defaults to 1.", |
| 1614 "type": "string" |
| 1615 }, |
| 1616 "handlers": { |
| 1617 "description": "An ordered list of URL-matching patterns tha
t should be applied to incoming requests. The first matching URL handles the req
uest and other request handlers are not attempted.Only returned in GET requests
if view=FULL is set.", |
| 1618 "items": { |
| 1619 "$ref": "UrlMap" |
| 1620 }, |
1872 "type": "array" | 1621 "type": "array" |
1873 }, | 1622 }, |
1874 "instanceTag": { | 1623 "deployer": { |
1875 "description": "Tag to apply to the VM instance during creat
ion.", | 1624 "description": "Email address of the user who created this v
ersion.@OutputOnly", |
1876 "type": "string" | 1625 "type": "string" |
| 1626 }, |
| 1627 "automaticScaling": { |
| 1628 "$ref": "AutomaticScaling", |
| 1629 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." |
| 1630 }, |
| 1631 "healthCheck": { |
| 1632 "$ref": "HealthCheck", |
| 1633 "description": "Configures health checking for VM instances.
Unhealthy instances are stopped and replaced with new instances. Only applicabl
e for VM runtimes.Only returned in GET requests if view=FULL is set." |
| 1634 }, |
| 1635 "threadsafe": { |
| 1636 "description": "Whether multiple requests can be dispatched
to this version at once.", |
| 1637 "type": "boolean" |
| 1638 }, |
| 1639 "manualScaling": { |
| 1640 "$ref": "ManualScaling", |
| 1641 "description": "A module with manual scaling runs continuous
ly, allowing you to perform complex initialization and rely on the state of its
memory over time." |
1877 }, | 1642 }, |
1878 "name": { | 1643 "name": { |
1879 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", | 1644 "description": "Full path to the Version resource in the API
. Example: apps/myapp/modules/default/versions/v1.@OutputOnly", |
1880 "type": "string" | 1645 "type": "string" |
1881 } | 1646 }, |
1882 }, | 1647 "apiConfig": { |
1883 "type": "object" | 1648 "$ref": "ApiConfigHandler", |
1884 }, | 1649 "description": "Serving configuration for Google Cloud Endpo
ints (https://cloud.google.com/appengine/docs/python/endpoints/).Only returned i
n GET requests if view=FULL is set." |
1885 "Application": { | 1650 }, |
1886 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", | 1651 "vm": { |
1887 "id": "Application", | 1652 "description": "Whether to deploy this version in a containe
r on a virtual machine.", |
1888 "properties": { | 1653 "type": "boolean" |
1889 "dispatchRules": { | 1654 }, |
1890 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a module or version. Rules are order-
dependent.@OutputOnly", | 1655 "instanceClass": { |
| 1656 "description": "Instance class that is used to run this vers
ion. Valid values are:\nAutomaticScaling: F1, F2, F4, F4_1G\nManualScaling or Ba
sicScaling: B1, B2, B4, B8, B4_1GDefaults to F1 for AutomaticScaling and B1 for
ManualScaling or BasicScaling.", |
| 1657 "type": "string" |
| 1658 }, |
| 1659 "servingStatus": { |
| 1660 "description": "Current serving status of this version. Only
the versions with a SERVING status create instances and can be billed.SERVING_S
TATUS_UNSPECIFIED is an invalid value. Defaults to SERVING.", |
| 1661 "enum": [ |
| 1662 "SERVING_STATUS_UNSPECIFIED", |
| 1663 "SERVING", |
| 1664 "STOPPED" |
| 1665 ], |
| 1666 "enumDescriptions": [ |
| 1667 "Not specified.", |
| 1668 "Currently serving. Instances are created according to t
he scaling settings of the version.", |
| 1669 "Disabled. No instances will be created and the scaling
settings are ignored until the state of the version changes to SERVING." |
| 1670 ], |
| 1671 "type": "string" |
| 1672 }, |
| 1673 "deployment": { |
| 1674 "$ref": "Deployment", |
| 1675 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." |
| 1676 }, |
| 1677 "runtimeApiVersion": { |
| 1678 "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", |
| 1679 "type": "string" |
| 1680 }, |
| 1681 "inboundServices": { |
| 1682 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", |
| 1683 "enumDescriptions": [ |
| 1684 "Not specified.", |
| 1685 "Allows an application to receive mail.", |
| 1686 "Allows an application to receive email-bound notificati
ons.", |
| 1687 "Allows an application to receive error stanzas.", |
| 1688 "Allows an application to receive instant messages.", |
| 1689 "Allows an application to receive user subscription POST
s.", |
| 1690 "Allows an application to receive a user's chat presence
.", |
| 1691 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", |
| 1692 "Enables warmup requests." |
| 1693 ], |
1891 "items": { | 1694 "items": { |
1892 "$ref": "UrlDispatchRule" | 1695 "enum": [ |
| 1696 "INBOUND_SERVICE_UNSPECIFIED", |
| 1697 "INBOUND_SERVICE_MAIL", |
| 1698 "INBOUND_SERVICE_MAIL_BOUNCE", |
| 1699 "INBOUND_SERVICE_XMPP_ERROR", |
| 1700 "INBOUND_SERVICE_XMPP_MESSAGE", |
| 1701 "INBOUND_SERVICE_XMPP_SUBSCRIBE", |
| 1702 "INBOUND_SERVICE_XMPP_PRESENCE", |
| 1703 "INBOUND_SERVICE_CHANNEL_PRESENCE", |
| 1704 "INBOUND_SERVICE_WARMUP" |
| 1705 ], |
| 1706 "type": "string" |
1893 }, | 1707 }, |
1894 "type": "array" | 1708 "type": "array" |
1895 }, | 1709 }, |
1896 "defaultHostname": { | 1710 "resources": { |
1897 "description": "Hostname used to reach the application, as r
esolved by App Engine.@OutputOnly", | 1711 "$ref": "Resources", |
1898 "type": "string" | 1712 "description": "Machine resources for this version. Only app
licable for VM runtimes." |
1899 }, | 1713 }, |
1900 "name": { | 1714 "errorHandlers": { |
1901 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", | 1715 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", |
1902 "type": "string" | 1716 "items": { |
1903 }, | 1717 "$ref": "ErrorHandler" |
1904 "authDomain": { | 1718 }, |
1905 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", | 1719 "type": "array" |
1906 "type": "string" | 1720 } |
1907 }, | 1721 }, |
1908 "iap": { | 1722 "type": "object" |
1909 "$ref": "IdentityAwareProxy" | 1723 }, |
1910 }, | 1724 "RequestUtilization": { |
1911 "id": { | 1725 "description": "Target scaling by request utilization. Only applicab
le for VM runtimes.", |
1912 "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.", | 1726 "id": "RequestUtilization", |
1913 "type": "string" | 1727 "properties": { |
1914 }, | 1728 "targetRequestCountPerSec": { |
1915 "defaultCookieExpiration": { | 1729 "description": "Target requests per second.", |
1916 "description": "Cookie expiration policy for this applicatio
n.", | |
1917 "format": "google-duration", | |
1918 "type": "string" | |
1919 }, | |
1920 "codeBucket": { | |
1921 "description": "Google Cloud Storage bucket that can be used
for storing files associated with this application. This bucket is associated w
ith the application and can be used by the gcloud deployment commands.@OutputOnl
y", | |
1922 "type": "string" | |
1923 }, | |
1924 "location": { | |
1925 "description": "Location from which this application will be
run. Application instances will run out of data centers in the chosen location,
which is also where all of the application's end user content is stored.Default
s to us-central.Options are:us-central - Central USeurope-west - Western Europeu
s-east1 - Eastern US", | |
1926 "type": "string" | |
1927 }, | |
1928 "defaultBucket": { | |
1929 "description": "Google Cloud Storage bucket that can be used
by this application to store content.@OutputOnly", | |
1930 "type": "string" | |
1931 } | |
1932 }, | |
1933 "type": "object" | |
1934 }, | |
1935 "Instance": { | |
1936 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", | |
1937 "id": "Instance", | |
1938 "properties": { | |
1939 "errors": { | |
1940 "description": "Number of errors since this instance was sta
rted.@OutputOnly", | |
1941 "format": "uint32", | |
1942 "type": "integer" | |
1943 }, | |
1944 "vmStatus": { | |
1945 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", | |
1946 "type": "string" | |
1947 }, | |
1948 "availability": { | |
1949 "description": "Availability of the instance.@OutputOnly", | |
1950 "enum": [ | |
1951 "UNSPECIFIED", | |
1952 "RESIDENT", | |
1953 "DYNAMIC" | |
1954 ], | |
1955 "enumDescriptions": [ | |
1956 "", | |
1957 "", | |
1958 "" | |
1959 ], | |
1960 "type": "string" | |
1961 }, | |
1962 "requests": { | |
1963 "description": "Number of requests since this instance was s
tarted.@OutputOnly", | |
1964 "format": "int32", | 1730 "format": "int32", |
1965 "type": "integer" | 1731 "type": "integer" |
1966 }, | 1732 }, |
1967 "appEngineRelease": { | 1733 "targetConcurrentRequests": { |
1968 "description": "App Engine release this instance is running
on.@OutputOnly", | 1734 "description": "Target number of concurrent requests.", |
1969 "type": "string" | |
1970 }, | |
1971 "startTimestamp": { | |
1972 "description": "Time that this instance was started.@OutputO
nly", | |
1973 "format": "google-datetime", | |
1974 "type": "string" | |
1975 }, | |
1976 "vmName": { | |
1977 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", | |
1978 "type": "string" | |
1979 }, | |
1980 "vmId": { | |
1981 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", | |
1982 "type": "string" | |
1983 }, | |
1984 "qps": { | |
1985 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", | |
1986 "format": "float", | |
1987 "type": "number" | |
1988 }, | |
1989 "vmZoneName": { | |
1990 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", | |
1991 "type": "string" | |
1992 }, | |
1993 "name": { | |
1994 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/modules/default/versions/v1/instances/instance-1.@OutputO
nly", | |
1995 "type": "string" | |
1996 }, | |
1997 "vmUnlocked": { | |
1998 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", | |
1999 "type": "boolean" | |
2000 }, | |
2001 "averageLatency": { | |
2002 "description": "Average latency (ms) over the last minute.@O
utputOnly", | |
2003 "format": "int32", | 1735 "format": "int32", |
2004 "type": "integer" | 1736 "type": "integer" |
2005 }, | 1737 } |
2006 "vmIp": { | 1738 }, |
2007 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", | 1739 "type": "object" |
2008 "type": "string" | 1740 }, |
2009 }, | 1741 "UrlMap": { |
2010 "id": { | 1742 "description": "URL pattern and description of how the URL should be
handled. App Engine can handle URLs by executing application code, or by servin
g static files uploaded with the version, such as images, CSS, or JavaScript.", |
2011 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", | 1743 "id": "UrlMap", |
2012 "type": "string" | 1744 "properties": { |
2013 }, | 1745 "staticDirectory": { |
2014 "memoryUsage": { | 1746 "$ref": "StaticDirectoryHandler", |
2015 "description": "Total memory in use (bytes).@OutputOnly", | 1747 "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." |
2016 "format": "int64", | 1748 }, |
2017 "type": "string" | 1749 "staticFiles": { |
2018 } | 1750 "$ref": "StaticFilesHandler", |
2019 }, | 1751 "description": "Returns the contents of a file, such as an i
mage, as the response." |
2020 "type": "object" | 1752 }, |
2021 }, | 1753 "redirectHttpResponseCode": { |
2022 "UrlDispatchRule": { | 1754 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", |
2023 "description": "Rules to match an HTTP request and dispatch that req
uest to a module.", | 1755 "enum": [ |
2024 "id": "UrlDispatchRule", | 1756 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", |
2025 "properties": { | 1757 "REDIRECT_HTTP_RESPONSE_CODE_301", |
2026 "domain": { | 1758 "REDIRECT_HTTP_RESPONSE_CODE_302", |
2027 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", | 1759 "REDIRECT_HTTP_RESPONSE_CODE_303", |
2028 "type": "string" | 1760 "REDIRECT_HTTP_RESPONSE_CODE_307" |
2029 }, | 1761 ], |
2030 "module": { | 1762 "enumDescriptions": [ |
2031 "description": "Resource ID of a module in this application
that should serve the matched request. The module must already exist. Example: d
efault.", | 1763 "Not specified. 302 is assumed.", |
2032 "type": "string" | 1764 "301 Moved Permanently code.", |
2033 }, | 1765 "302 Moved Temporarily code.", |
2034 "path": { | 1766 "303 See Other code.", |
2035 "description": "Pathname within the host. Must start with a
\"/\". A single \"*\" can be included at the end of the path. The sum of the len
gths of the domain and path may not exceed 100 characters.", | 1767 "307 Temporary Redirect code." |
2036 "type": "string" | 1768 ], |
2037 } | 1769 "type": "string" |
2038 }, | 1770 }, |
2039 "type": "object" | 1771 "securityLevel": { |
2040 }, | 1772 "description": "Security (HTTPS) enforcement for this URL.", |
2041 "ListVersionsResponse": { | 1773 "enum": [ |
2042 "description": "Response message for Versions.ListVersions.", | 1774 "SECURE_UNSPECIFIED", |
2043 "id": "ListVersionsResponse", | 1775 "SECURE_DEFAULT", |
2044 "properties": { | 1776 "SECURE_NEVER", |
2045 "versions": { | 1777 "SECURE_OPTIONAL", |
2046 "description": "The versions belonging to the requested modu
le.", | 1778 "SECURE_ALWAYS" |
2047 "items": { | 1779 ], |
2048 "$ref": "Version" | 1780 "enumDescriptions": [ |
2049 }, | 1781 "Not specified.", |
2050 "type": "array" | 1782 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", |
2051 }, | 1783 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", |
2052 "nextPageToken": { | 1784 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", |
2053 "description": "Continuation token for fetching the next pag
e of results.", | 1785 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." |
2054 "type": "string" | 1786 ], |
2055 } | 1787 "type": "string" |
2056 }, | 1788 }, |
2057 "type": "object" | 1789 "authFailAction": { |
2058 }, | 1790 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", |
2059 "Module": { | 1791 "enum": [ |
2060 "description": "A Module resource is a logical component of an appli
cation that can share state and communicate in a secure fashion with other modul
es. For example, an application that handles customer requests might include sep
arate 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.", | 1792 "AUTH_FAIL_ACTION_UNSPECIFIED", |
2061 "id": "Module", | 1793 "AUTH_FAIL_ACTION_REDIRECT", |
2062 "properties": { | 1794 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
2063 "id": { | 1795 ], |
2064 "description": "Relative name of the module within the appli
cation. Example: default.@OutputOnly", | 1796 "enumDescriptions": [ |
2065 "type": "string" | 1797 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
| 1798 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
| 1799 "Rejects request with a 401 HTTP status code and an erro
r message." |
| 1800 ], |
| 1801 "type": "string" |
| 1802 }, |
| 1803 "script": { |
| 1804 "$ref": "ScriptHandler", |
| 1805 "description": "Executes a script to handle the request that
matches this URL pattern." |
| 1806 }, |
| 1807 "urlRegex": { |
| 1808 "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, usi
ng the portion of the URL after the prefix as part of the file path.", |
| 1809 "type": "string" |
| 1810 }, |
| 1811 "login": { |
| 1812 "description": "Level of login required to access this resou
rce.", |
| 1813 "enum": [ |
| 1814 "LOGIN_UNSPECIFIED", |
| 1815 "LOGIN_OPTIONAL", |
| 1816 "LOGIN_ADMIN", |
| 1817 "LOGIN_REQUIRED" |
| 1818 ], |
| 1819 "enumDescriptions": [ |
| 1820 "Not specified. LOGIN_OPTIONAL is assumed.", |
| 1821 "Does not require that the user is signed in.", |
| 1822 "If the user is not signed in, the auth_fail_action is t
aken. 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 ad
ministrator, the handler proceeds.", |
| 1823 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." |
| 1824 ], |
| 1825 "type": "string" |
| 1826 }, |
| 1827 "apiEndpoint": { |
| 1828 "$ref": "ApiEndpointHandler", |
| 1829 "description": "Uses API Endpoints to handle requests." |
| 1830 } |
| 1831 }, |
| 1832 "type": "object" |
| 1833 }, |
| 1834 "Operation": { |
| 1835 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
| 1836 "id": "Operation", |
| 1837 "properties": { |
| 1838 "done": { |
| 1839 "description": "If the value is false, it means the operatio
n is still in progress. If true, the operation is completed, and either error or
response is available.", |
| 1840 "type": "boolean" |
| 1841 }, |
| 1842 "response": { |
| 1843 "additionalProperties": { |
| 1844 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1845 "type": "any" |
| 1846 }, |
| 1847 "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/Cr
eate/Update, the response should be the resource. For other methods, the respons
e should have the type XxxResponse, where Xxx is the original method name. For e
xample, if the original method name is TakeSnapshot(), the inferred response typ
e is TakeSnapshotResponse.", |
| 1848 "type": "object" |
2066 }, | 1849 }, |
2067 "name": { | 1850 "name": { |
2068 "description": "Full path to the Module resource in the API.
Example: apps/myapp/modules/default.@OutputOnly", | 1851 "description": "The server-assigned name, which is only uniq
ue within the same service that originally returns it. If you use the default HT
TP mapping, the name should have the format of operations/some/unique/name.", |
2069 "type": "string" | 1852 "type": "string" |
2070 }, | 1853 }, |
2071 "split": { | 1854 "error": { |
2072 "$ref": "TrafficSplit", | 1855 "$ref": "Status", |
2073 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the module." | 1856 "description": "The error result of the operation in case of
failure or cancellation." |
2074 } | 1857 }, |
2075 }, | 1858 "metadata": { |
2076 "type": "object" | 1859 "additionalProperties": { |
2077 }, | 1860 "description": "Properties of the object. Contains field
@type with type URL.", |
2078 "ApiEndpointHandler": { | 1861 "type": "any" |
2079 "description": "Uses Google Cloud Endpoints to handle requests.", | 1862 }, |
2080 "id": "ApiEndpointHandler", | 1863 "description": "Service-specific metadata associated with th
e 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.", |
| 1864 "type": "object" |
| 1865 } |
| 1866 }, |
| 1867 "type": "object" |
| 1868 }, |
| 1869 "ApiConfigHandler": { |
| 1870 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", |
| 1871 "id": "ApiConfigHandler", |
| 1872 "properties": { |
| 1873 "login": { |
| 1874 "description": "Level of login required to access this resou
rce. Defaults to optional.", |
| 1875 "enum": [ |
| 1876 "LOGIN_UNSPECIFIED", |
| 1877 "LOGIN_OPTIONAL", |
| 1878 "LOGIN_ADMIN", |
| 1879 "LOGIN_REQUIRED" |
| 1880 ], |
| 1881 "enumDescriptions": [ |
| 1882 "Not specified. LOGIN_OPTIONAL is assumed.", |
| 1883 "Does not require that the user is signed in.", |
| 1884 "If the user is not signed in, the auth_fail_action is t
aken. 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 ad
ministrator, the handler proceeds.", |
| 1885 "If the user has signed in, the handler proceeds normall
y. Otherwise, the auth_fail_action is taken." |
| 1886 ], |
| 1887 "type": "string" |
| 1888 }, |
| 1889 "url": { |
| 1890 "description": "URL to serve the endpoint at.", |
| 1891 "type": "string" |
| 1892 }, |
| 1893 "securityLevel": { |
| 1894 "description": "Security (HTTPS) enforcement for this URL.", |
| 1895 "enum": [ |
| 1896 "SECURE_UNSPECIFIED", |
| 1897 "SECURE_DEFAULT", |
| 1898 "SECURE_NEVER", |
| 1899 "SECURE_OPTIONAL", |
| 1900 "SECURE_ALWAYS" |
| 1901 ], |
| 1902 "enumDescriptions": [ |
| 1903 "Not specified.", |
| 1904 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used, and respond accordingly.", |
| 1905 "Requests for a URL that match this handler that use HTT
PS are automatically redirected to the HTTP equivalent URL.", |
| 1906 "Both HTTP and HTTPS requests with URLs that match the h
andler succeed without redirects. The application can examine the request to det
ermine which protocol was used and respond accordingly.", |
| 1907 "Requests for a URL that match this handler that do not
use HTTPS are automatically redirected to the HTTPS URL with the same path. Quer
y parameters are reserved for the redirect." |
| 1908 ], |
| 1909 "type": "string" |
| 1910 }, |
| 1911 "authFailAction": { |
| 1912 "description": "Action to take when users access resources t
hat require authentication. Defaults to redirect.", |
| 1913 "enum": [ |
| 1914 "AUTH_FAIL_ACTION_UNSPECIFIED", |
| 1915 "AUTH_FAIL_ACTION_REDIRECT", |
| 1916 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
| 1917 ], |
| 1918 "enumDescriptions": [ |
| 1919 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
| 1920 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
| 1921 "Rejects request with a 401 HTTP status code and an erro
r message." |
| 1922 ], |
| 1923 "type": "string" |
| 1924 }, |
| 1925 "script": { |
| 1926 "description": "Path to the script from the application root
directory.", |
| 1927 "type": "string" |
| 1928 } |
| 1929 }, |
| 1930 "type": "object" |
| 1931 }, |
| 1932 "ScriptHandler": { |
| 1933 "description": "Executes a script to handle the request that matches
the URL pattern.", |
| 1934 "id": "ScriptHandler", |
2081 "properties": { | 1935 "properties": { |
2082 "scriptPath": { | 1936 "scriptPath": { |
2083 "description": "Path to the script from the application root
directory.", | 1937 "description": "Path to the script from the application root
directory.", |
2084 "type": "string" | 1938 "type": "string" |
2085 } | 1939 } |
2086 }, | 1940 }, |
2087 "type": "object" | 1941 "type": "object" |
2088 }, | 1942 }, |
2089 "StaticDirectoryHandler": { | 1943 "StaticFilesHandler": { |
2090 "description": "Files served directly to the user for a given URL, s
uch as images, CSS stylesheets, or JavaScript source files. Static directory han
dlers make it easy to serve the entire contents of a directory as static files."
, | 1944 "description": "Files served directly to the user for a given URL, s
uch as images, CSS stylesheets, or JavaScript source files. Static file handlers
describe which files in the application directory are static files, and which U
RLs serve them.", |
2091 "id": "StaticDirectoryHandler", | 1945 "id": "StaticFilesHandler", |
2092 "properties": { | 1946 "properties": { |
2093 "expiration": { | 1947 "expiration": { |
2094 "description": "Time a static file served by this handler sh
ould be cached.", | 1948 "description": "Time a static file served by this handler sh
ould be cached.", |
2095 "format": "google-duration", | 1949 "format": "google-duration", |
2096 "type": "string" | 1950 "type": "string" |
2097 }, | 1951 }, |
2098 "applicationReadable": { | |
2099 "description": "Whether files should also be uploaded as cod
e data. By default, files declared in static directory handlers are uploaded as
static data and are only served to end users; they cannot be read by the applica
tion. If enabled, uploads are charged against both your code and static data sto
rage resource quotas.", | |
2100 "type": "boolean" | |
2101 }, | |
2102 "httpHeaders": { | 1952 "httpHeaders": { |
2103 "additionalProperties": { | 1953 "additionalProperties": { |
2104 "type": "string" | 1954 "type": "string" |
2105 }, | 1955 }, |
2106 "description": "HTTP headers to use for all responses from t
hese URLs.", | 1956 "description": "HTTP headers to use for all responses from t
hese URLs.", |
2107 "type": "object" | 1957 "type": "object" |
2108 }, | 1958 }, |
2109 "directory": { | 1959 "applicationReadable": { |
2110 "description": "Path to the directory containing the static
files from the application root directory. Everything after the end of the match
ed URL pattern is appended to static_dir to form the full path to the requested
file.", | 1960 "description": "Whether files should also be uploaded as cod
e data. By default, files declared in static file handlers are uploaded as stati
c 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.", |
| 1961 "type": "boolean" |
| 1962 }, |
| 1963 "uploadPathRegex": { |
| 1964 "description": "Regular expression that matches the file pat
hs for all files that should be referenced by this handler.", |
| 1965 "type": "string" |
| 1966 }, |
| 1967 "path": { |
| 1968 "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.", |
2111 "type": "string" | 1969 "type": "string" |
2112 }, | 1970 }, |
2113 "mimeType": { | 1971 "mimeType": { |
2114 "description": "MIME type used to serve all files served by
this handler. Defaults to file-specific MIME types, which are direved from each
file's filename extension.", | 1972 "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.", |
2115 "type": "string" | 1973 "type": "string" |
2116 }, | 1974 }, |
2117 "requireMatchingFile": { | 1975 "requireMatchingFile": { |
2118 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", | 1976 "description": "Whether this handler should match the reques
t if the file referenced by the handler does not exist.", |
2119 "type": "boolean" | 1977 "type": "boolean" |
2120 } | 1978 } |
2121 }, | 1979 }, |
2122 "type": "object" | 1980 "type": "object" |
2123 }, | 1981 }, |
2124 "AutomaticScaling": { | 1982 "FileInfo": { |
2125 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", | 1983 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", |
2126 "id": "AutomaticScaling", | 1984 "id": "FileInfo", |
2127 "properties": { | 1985 "properties": { |
2128 "networkUtilization": { | 1986 "sha1Sum": { |
2129 "$ref": "NetworkUtilization", | 1987 "description": "The SHA1 hash of the file, in hex.", |
2130 "description": "Target scaling by network usage." | 1988 "type": "string" |
2131 }, | 1989 }, |
2132 "coolDownPeriod": { | 1990 "mimeType": { |
2133 "description": "Amount of time that the Autoscaler (https://
cloud.google.com/compute/docs/autoscaler/) should wait between changes to the nu
mber of virtual machines. Only applicable for VM runtimes.", | 1991 "description": "The MIME type of the file.Defaults to the va
lue from Google Cloud Storage.", |
| 1992 "type": "string" |
| 1993 }, |
| 1994 "sourceUrl": { |
| 1995 "description": "URL source to use to fetch this file. Must b
e a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.goo
gleapis.com/<bucket>/<object>'.", |
| 1996 "type": "string" |
| 1997 } |
| 1998 }, |
| 1999 "type": "object" |
| 2000 }, |
| 2001 "DiskUtilization": { |
| 2002 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", |
| 2003 "id": "DiskUtilization", |
| 2004 "properties": { |
| 2005 "targetReadBytesPerSec": { |
| 2006 "description": "Target bytes read per second.", |
| 2007 "format": "int32", |
| 2008 "type": "integer" |
| 2009 }, |
| 2010 "targetWriteOpsPerSec": { |
| 2011 "description": "Target ops written per second.", |
| 2012 "format": "int32", |
| 2013 "type": "integer" |
| 2014 }, |
| 2015 "targetWriteBytesPerSec": { |
| 2016 "description": "Target bytes written per second.", |
| 2017 "format": "int32", |
| 2018 "type": "integer" |
| 2019 }, |
| 2020 "targetReadOpsPerSec": { |
| 2021 "description": "Target ops read per second.", |
| 2022 "format": "int32", |
| 2023 "type": "integer" |
| 2024 } |
| 2025 }, |
| 2026 "type": "object" |
| 2027 }, |
| 2028 "BasicScaling": { |
| 2029 "description": "A module with basic scaling will create an instance
when the application receives a request. The instance will be turned down when t
he app becomes idle. Basic scaling is ideal for work that is intermittent or dri
ven by user activity.", |
| 2030 "id": "BasicScaling", |
| 2031 "properties": { |
| 2032 "maxInstances": { |
| 2033 "description": "Maximum number of instances to create for th
is version.", |
| 2034 "format": "int32", |
| 2035 "type": "integer" |
| 2036 }, |
| 2037 "idleTimeout": { |
| 2038 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", |
2134 "format": "google-duration", | 2039 "format": "google-duration", |
2135 "type": "string" | 2040 "type": "string" |
2136 }, | 2041 } |
2137 "maxConcurrentRequests": { | 2042 }, |
2138 "description": "Number of concurrent requests an automatic s
caling instance can accept before the scheduler spawns a new instance.Defaults t
o a runtime-specific value.", | 2043 "type": "object" |
2139 "format": "int32", | 2044 }, |
2140 "type": "integer" | 2045 "OperationMetadataExperimental": { |
2141 }, | 2046 "description": "Metadata for the given google.longrunning.Operation.
", |
2142 "maxPendingLatency": { | 2047 "id": "OperationMetadataExperimental", |
2143 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", | 2048 "properties": { |
| 2049 "insertTime": { |
| 2050 "description": "Time that this operation was created.@Output
Only", |
| 2051 "format": "google-datetime", |
| 2052 "type": "string" |
| 2053 }, |
| 2054 "endTime": { |
| 2055 "description": "Time that this operation completed.@OutputOn
ly", |
| 2056 "format": "google-datetime", |
| 2057 "type": "string" |
| 2058 }, |
| 2059 "user": { |
| 2060 "description": "User who requested this operation.@OutputOnl
y", |
| 2061 "type": "string" |
| 2062 }, |
| 2063 "target": { |
| 2064 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", |
| 2065 "type": "string" |
| 2066 }, |
| 2067 "method": { |
| 2068 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", |
| 2069 "type": "string" |
| 2070 } |
| 2071 }, |
| 2072 "type": "object" |
| 2073 }, |
| 2074 "CpuUtilization": { |
| 2075 "description": "Target scaling by CPU usage.", |
| 2076 "id": "CpuUtilization", |
| 2077 "properties": { |
| 2078 "aggregationWindowLength": { |
| 2079 "description": "Period of time over which CPU utilization is
calculated.", |
2144 "format": "google-duration", | 2080 "format": "google-duration", |
2145 "type": "string" | 2081 "type": "string" |
2146 }, | 2082 }, |
2147 "cpuUtilization": { | 2083 "targetUtilization": { |
2148 "$ref": "CpuUtilization", | 2084 "description": "Target CPU utilization ratio to maintain whe
n scaling. Must be between 0 and 1.", |
2149 "description": "Target scaling by CPU usage." | 2085 "format": "double", |
2150 }, | 2086 "type": "number" |
2151 "diskUtilization": { | 2087 } |
2152 "$ref": "DiskUtilization", | 2088 }, |
2153 "description": "Target scaling by disk usage." | 2089 "type": "object" |
2154 }, | 2090 }, |
2155 "minPendingLatency": { | 2091 "IdentityAwareProxy": { |
2156 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", | 2092 "description": "Identity-Aware Proxy", |
2157 "format": "google-duration", | 2093 "id": "IdentityAwareProxy", |
2158 "type": "string" | 2094 "properties": { |
2159 }, | 2095 "enabled": { |
2160 "maxIdleInstances": { | 2096 "description": "Whether the serving infrastructure will auth
enticate and authorize all incoming requests.If true, the oauth2_client_id and o
auth2_client_secret fields must be non-empty.", |
2161 "description": "Maximum number of idle instances that should
be maintained for this version.", | 2097 "type": "boolean" |
2162 "format": "int32", | 2098 }, |
2163 "type": "integer" | 2099 "oauth2ClientSecret": { |
2164 }, | 2100 "description": "For security reasons, this value cannot be r
etrieved via the API. Instead, the SHA-256 hash of the value is returned in the
oauth2_client_secret_sha256 field.@InputOnly", |
2165 "requestUtilization": { | 2101 "type": "string" |
2166 "$ref": "RequestUtilization", | 2102 }, |
2167 "description": "Target scaling by request utilization." | 2103 "oauth2ClientId": { |
2168 }, | 2104 "description": "OAuth2 client ID to use for the authenticati
on flow.", |
2169 "minIdleInstances": { | 2105 "type": "string" |
2170 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a mo
dule.", | 2106 }, |
2171 "format": "int32", | 2107 "oauth2ClientSecretSha256": { |
2172 "type": "integer" | 2108 "description": "Hex-encoded SHA-256 hash of the client secre
t.@OutputOnly", |
2173 }, | 2109 "type": "string" |
2174 "maxTotalInstances": { | 2110 } |
2175 "description": "Maximum number of instances that should be s
tarted to handle requests.", | 2111 }, |
2176 "format": "int32", | 2112 "type": "object" |
2177 "type": "integer" | 2113 }, |
2178 }, | 2114 "Status": { |
2179 "minTotalInstances": { | 2115 "description": "The Status type defines a logical error model that i
s suitable for different programming environments, including REST APIs and RPC A
PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t
o be:\nSimple to use and understand for most users\nFlexible enough to meet unex
pected needsOverviewThe Status message contains three pieces of data: error code
, error message, and error details. The error code should be an enum value of go
ogle.rpc.Code, but it may accept additional error codes if needed. The error mes
sage should be a developer-facing English message that helps developers understa
nd and resolve the error. If a localized user-facing error message is needed, pu
t the localized message in the error details or localize it in the client. The o
ptional error details may contain arbitrary information about the error. There i
s a predefined set of error detail types in the package google.rpc that can be u
sed for common error conditions.Language mappingThe Status message is the logica
l representation of the error model, but it is not necessarily the actual wire f
ormat. When the Status message is exposed in different client libraries and diff
erent 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 includ
e:\nPartial errors. If a service needs to return partial errors to the client, i
t may embed the Status in the normal response to indicate the partial errors.\nW
orkflow errors. A typical workflow has multiple steps. Each step may have a Stat
us message for error reporting.\nBatch operations. If a client uses batch reques
t and batch response, the Status message should be used directly inside batch re
sponse, one for each error sub-response.\nAsynchronous operations. If an API cal
l embeds asynchronous operation results in its response, the status of those ope
rations should be represented directly using the Status message.\nLogging. If so
me API errors are stored in logs, the message Status could be used directly afte
r any stripping needed for security/privacy reasons.", |
2180 "description": "Minimum number of instances that should be m
aintained for this version.", | 2116 "id": "Status", |
2181 "format": "int32", | 2117 "properties": { |
2182 "type": "integer" | 2118 "code": { |
2183 } | 2119 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
2184 }, | 2120 "format": "int32", |
2185 "type": "object" | 2121 "type": "integer" |
2186 }, | 2122 }, |
2187 "NetworkUtilization": { | 2123 "message": { |
2188 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", | 2124 "description": "A developer-facing error message, which shou
ld 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.", |
2189 "id": "NetworkUtilization", | 2125 "type": "string" |
2190 "properties": { | 2126 }, |
2191 "targetReceivedBytesPerSec": { | 2127 "details": { |
2192 "description": "Target bytes received per second.", | 2128 "description": "A list of messages that carry the error deta
ils. There will be a common set of message types for APIs to use.", |
2193 "format": "int32", | 2129 "items": { |
2194 "type": "integer" | 2130 "additionalProperties": { |
2195 }, | 2131 "description": "Properties of the object. Contains f
ield @type with type URL.", |
2196 "targetSentPacketsPerSec": { | 2132 "type": "any" |
2197 "description": "Target packets sent per second.", | 2133 }, |
2198 "format": "int32", | 2134 "type": "object" |
2199 "type": "integer" | 2135 }, |
2200 }, | 2136 "type": "array" |
2201 "targetSentBytesPerSec": { | 2137 } |
2202 "description": "Target bytes sent per second.", | 2138 }, |
2203 "format": "int32", | 2139 "type": "object" |
2204 "type": "integer" | 2140 }, |
2205 }, | 2141 "TrafficSplit": { |
2206 "targetReceivedPacketsPerSec": { | 2142 "description": "Traffic routing configuration for versions within a
single module. Traffic splits define how traffic directed to the module is assig
ned to versions.", |
2207 "description": "Target packets received per second.", | 2143 "id": "TrafficSplit", |
2208 "format": "int32", | 2144 "properties": { |
2209 "type": "integer" | 2145 "shardBy": { |
2210 } | 2146 "description": "Mechanism used to determine which version a
request is sent to. The traffic selection algorithm will be stable for either ty
pe until allocations are changed.", |
2211 }, | 2147 "enum": [ |
2212 "type": "object" | 2148 "UNSPECIFIED", |
2213 }, | 2149 "COOKIE", |
2214 "Location": { | 2150 "IP" |
2215 "description": "A resource that represents Google Cloud Platform loc
ation.", | 2151 ], |
2216 "id": "Location", | 2152 "enumDescriptions": [ |
2217 "properties": { | 2153 "Diversion method unspecified.", |
2218 "labels": { | 2154 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or else no diversion will
occur.", |
| 2155 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." |
| 2156 ], |
| 2157 "type": "string" |
| 2158 }, |
| 2159 "allocations": { |
2219 "additionalProperties": { | 2160 "additionalProperties": { |
| 2161 "format": "double", |
| 2162 "type": "number" |
| 2163 }, |
| 2164 "description": "Mapping from version IDs within the module t
o fractional (0.000, 1] allocations of traffic for that version. Each version ca
n be specified only once, but some versions in the module may not have any traff
ic allocation. Modules that have traffic allocated cannot be deleted until eithe
r 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 an
d up to three decimal places is supported for cookie-based splits.", |
| 2165 "type": "object" |
| 2166 } |
| 2167 }, |
| 2168 "type": "object" |
| 2169 }, |
| 2170 "ManualScaling": { |
| 2171 "description": "A module with manual scaling runs continuously, allo
wing you to perform complex initialization and rely on the state of its memory o
ver time.", |
| 2172 "id": "ManualScaling", |
| 2173 "properties": { |
| 2174 "instances": { |
| 2175 "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() f
unction.", |
| 2176 "format": "int32", |
| 2177 "type": "integer" |
| 2178 } |
| 2179 }, |
| 2180 "type": "object" |
| 2181 }, |
| 2182 "LocationMetadata": { |
| 2183 "description": "Metadata for the given google.cloud.location.Locatio
n.", |
| 2184 "id": "LocationMetadata", |
| 2185 "properties": { |
| 2186 "flexibleEnvironmentAvailable": { |
| 2187 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", |
| 2188 "type": "boolean" |
| 2189 }, |
| 2190 "standardEnvironmentAvailable": { |
| 2191 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", |
| 2192 "type": "boolean" |
| 2193 } |
| 2194 }, |
| 2195 "type": "object" |
| 2196 }, |
| 2197 "OperationMetadataV1Beta": { |
| 2198 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2199 "id": "OperationMetadataV1Beta", |
| 2200 "properties": { |
| 2201 "warning": { |
| 2202 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 2203 "items": { |
2220 "type": "string" | 2204 "type": "string" |
2221 }, | 2205 }, |
2222 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", | 2206 "type": "array" |
| 2207 }, |
| 2208 "insertTime": { |
| 2209 "description": "Time that this operation was created.@Output
Only", |
| 2210 "format": "google-datetime", |
| 2211 "type": "string" |
| 2212 }, |
| 2213 "user": { |
| 2214 "description": "User who requested this operation.@OutputOnl
y", |
| 2215 "type": "string" |
| 2216 }, |
| 2217 "target": { |
| 2218 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 2219 "type": "string" |
| 2220 }, |
| 2221 "ephemeralMessage": { |
| 2222 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 2223 "type": "string" |
| 2224 }, |
| 2225 "method": { |
| 2226 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", |
| 2227 "type": "string" |
| 2228 }, |
| 2229 "endTime": { |
| 2230 "description": "Time that this operation completed.@OutputOn
ly", |
| 2231 "format": "google-datetime", |
| 2232 "type": "string" |
| 2233 } |
| 2234 }, |
| 2235 "type": "object" |
| 2236 }, |
| 2237 "ListModulesResponse": { |
| 2238 "description": "Response message for Modules.ListModules.", |
| 2239 "id": "ListModulesResponse", |
| 2240 "properties": { |
| 2241 "nextPageToken": { |
| 2242 "description": "Continuation token for fetching the next pag
e of results.", |
| 2243 "type": "string" |
| 2244 }, |
| 2245 "modules": { |
| 2246 "description": "The modules belonging to the requested appli
cation.", |
| 2247 "items": { |
| 2248 "$ref": "Module" |
| 2249 }, |
| 2250 "type": "array" |
| 2251 } |
| 2252 }, |
| 2253 "type": "object" |
| 2254 }, |
| 2255 "Deployment": { |
| 2256 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", |
| 2257 "id": "Deployment", |
| 2258 "properties": { |
| 2259 "container": { |
| 2260 "$ref": "ContainerInfo", |
| 2261 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." |
| 2262 }, |
| 2263 "sourceReferences": { |
| 2264 "description": "Origin of the source code for this deploymen
t. There can be more than one source reference per version if source code is dis
tributed among multiple repositories.", |
| 2265 "items": { |
| 2266 "$ref": "SourceReference" |
| 2267 }, |
| 2268 "type": "array" |
| 2269 }, |
| 2270 "files": { |
| 2271 "additionalProperties": { |
| 2272 "$ref": "FileInfo" |
| 2273 }, |
| 2274 "description": "Manifest of the files stored in Google Cloud
Storage that are included as part of this version. All files must be readable u
sing the credentials supplied with this call.", |
2223 "type": "object" | 2275 "type": "object" |
| 2276 } |
| 2277 }, |
| 2278 "type": "object" |
| 2279 }, |
| 2280 "Resources": { |
| 2281 "description": "Machine resources for a version.", |
| 2282 "id": "Resources", |
| 2283 "properties": { |
| 2284 "cpu": { |
| 2285 "description": "Number of CPU cores needed.", |
| 2286 "format": "double", |
| 2287 "type": "number" |
| 2288 }, |
| 2289 "memoryGb": { |
| 2290 "description": "Memory (GB) needed.", |
| 2291 "format": "double", |
| 2292 "type": "number" |
| 2293 }, |
| 2294 "volumes": { |
| 2295 "description": "User specified volumes.", |
| 2296 "items": { |
| 2297 "$ref": "Volume" |
| 2298 }, |
| 2299 "type": "array" |
| 2300 }, |
| 2301 "diskGb": { |
| 2302 "description": "Disk size (GB) needed.", |
| 2303 "format": "double", |
| 2304 "type": "number" |
| 2305 } |
| 2306 }, |
| 2307 "type": "object" |
| 2308 }, |
| 2309 "Volume": { |
| 2310 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", |
| 2311 "id": "Volume", |
| 2312 "properties": { |
| 2313 "volumeType": { |
| 2314 "description": "Underlying volume type, e.g. 'tmpfs'.", |
| 2315 "type": "string" |
| 2316 }, |
| 2317 "sizeGb": { |
| 2318 "description": "Volume size in gigabytes.", |
| 2319 "format": "double", |
| 2320 "type": "number" |
2224 }, | 2321 }, |
2225 "name": { | 2322 "name": { |
2226 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", | 2323 "description": "Unique name for the volume.", |
2227 "type": "string" | 2324 "type": "string" |
2228 }, | 2325 } |
2229 "locationId": { | 2326 }, |
2230 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", | 2327 "type": "object" |
2231 "type": "string" | 2328 }, |
2232 }, | 2329 "ListOperationsResponse": { |
2233 "metadata": { | 2330 "description": "The response message for Operations.ListOperations."
, |
2234 "additionalProperties": { | 2331 "id": "ListOperationsResponse", |
2235 "description": "Properties of the object. Contains field
@type with type URL.", | 2332 "properties": { |
2236 "type": "any" | 2333 "operations": { |
2237 }, | 2334 "description": "A list of operations that matches the specif
ied filter in the request.", |
2238 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", | 2335 "items": { |
2239 "type": "object" | 2336 "$ref": "Operation" |
2240 } | 2337 }, |
2241 }, | 2338 "type": "array" |
2242 "type": "object" | 2339 }, |
2243 }, | 2340 "nextPageToken": { |
2244 "HealthCheck": { | 2341 "description": "The standard List next-page token.", |
2245 "description": "Health checking configuration for VM instances. Unhe
althy instances are killed and replaced with new instances. Only applicable for
instances in App Engine flexible environment.", | 2342 "type": "string" |
2246 "id": "HealthCheck", | 2343 } |
2247 "properties": { | 2344 }, |
2248 "host": { | 2345 "type": "object" |
2249 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", | 2346 }, |
2250 "type": "string" | 2347 "OperationMetadata": { |
2251 }, | |
2252 "restartThreshold": { | |
2253 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", | |
2254 "format": "uint32", | |
2255 "type": "integer" | |
2256 }, | |
2257 "healthyThreshold": { | |
2258 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", | |
2259 "format": "uint32", | |
2260 "type": "integer" | |
2261 }, | |
2262 "checkInterval": { | |
2263 "description": "Interval between health checks.", | |
2264 "format": "google-duration", | |
2265 "type": "string" | |
2266 }, | |
2267 "timeout": { | |
2268 "description": "Time before the health check is considered f
ailed.", | |
2269 "format": "google-duration", | |
2270 "type": "string" | |
2271 }, | |
2272 "unhealthyThreshold": { | |
2273 "description": "Number of consecutive failed health checks r
equired before removing traffic.", | |
2274 "format": "uint32", | |
2275 "type": "integer" | |
2276 }, | |
2277 "disableHealthCheck": { | |
2278 "description": "Whether to explicitly disable health checks
for this instance.", | |
2279 "type": "boolean" | |
2280 } | |
2281 }, | |
2282 "type": "object" | |
2283 }, | |
2284 "SourceReference": { | |
2285 "description": "Reference to a particular snapshot of the source tre
e used to build and deploy the application.", | |
2286 "id": "SourceReference", | |
2287 "properties": { | |
2288 "revisionId": { | |
2289 "description": "The canonical, persistent identifier of the
deployed revision. Aliases that include tags or branch names are not allowed. Ex
ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", | |
2290 "type": "string" | |
2291 }, | |
2292 "repository": { | |
2293 "description": "URI string identifying the repository. Examp
le: \"https://source.developers.google.com/p/app-123/r/default\"", | |
2294 "type": "string" | |
2295 } | |
2296 }, | |
2297 "type": "object" | |
2298 }, | |
2299 "DebugInstanceRequest": { | |
2300 "description": "Request message for Instances.DebugInstance.", | |
2301 "id": "DebugInstanceRequest", | |
2302 "properties": { | |
2303 "sshKey": { | |
2304 "description": "Public SSH key to add to the instance. Examp
les:\n[USERNAME]:ssh-rsa [KEY_VALUE] [USERNAME]\n[USERNAME]:ssh-rsa [KEY_VALUE]
google-ssh {\"userName\":\"[USERNAME]\",\"expireOn\":\"[EXPIRE_TIME]\"}For more
information, see Adding and Removing SSH Keys (https://cloud.google.com/compute/
docs/instances/adding-removing-ssh-keys).", | |
2305 "type": "string" | |
2306 } | |
2307 }, | |
2308 "type": "object" | |
2309 }, | |
2310 "OperationMetadataV1Beta5": { | |
2311 "description": "Metadata for the given google.longrunning.Operation.
", | 2348 "description": "Metadata for the given google.longrunning.Operation.
", |
2312 "id": "OperationMetadataV1Beta5", | 2349 "id": "OperationMetadata", |
2313 "properties": { | 2350 "properties": { |
2314 "method": { | |
2315 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", | |
2316 "type": "string" | |
2317 }, | |
2318 "insertTime": { | 2351 "insertTime": { |
2319 "description": "Timestamp that this operation was created.@O
utputOnly", | 2352 "description": "Timestamp that this operation was created.@O
utputOnly", |
2320 "format": "google-datetime", | 2353 "format": "google-datetime", |
2321 "type": "string" | 2354 "type": "string" |
2322 }, | 2355 }, |
| 2356 "user": { |
| 2357 "description": "User who requested this operation.@OutputOnl
y", |
| 2358 "type": "string" |
| 2359 }, |
| 2360 "target": { |
| 2361 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", |
| 2362 "type": "string" |
| 2363 }, |
| 2364 "method": { |
| 2365 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", |
| 2366 "type": "string" |
| 2367 }, |
2323 "endTime": { | 2368 "endTime": { |
2324 "description": "Timestamp that this operation completed.@Out
putOnly", | 2369 "description": "Timestamp that this operation completed.@Out
putOnly", |
2325 "format": "google-datetime", | 2370 "format": "google-datetime", |
2326 "type": "string" | 2371 "type": "string" |
2327 }, | 2372 }, |
2328 "user": { | 2373 "operationType": { |
2329 "description": "User who requested this operation.@OutputOnl
y", | 2374 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", |
2330 "type": "string" | 2375 "type": "string" |
2331 }, | 2376 } |
2332 "target": { | 2377 }, |
2333 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 2378 "type": "object" |
2334 "type": "string" | 2379 }, |
2335 } | 2380 "ListInstancesResponse": { |
2336 }, | 2381 "description": "Response message for Instances.ListInstances.", |
2337 "type": "object" | 2382 "id": "ListInstancesResponse", |
2338 }, | 2383 "properties": { |
2339 "Library": { | 2384 "instances": { |
2340 "description": "Third-party Python runtime library that is required
by the application.", | 2385 "description": "The instances belonging to the requested ver
sion.", |
2341 "id": "Library", | 2386 "items": { |
2342 "properties": { | 2387 "$ref": "Instance" |
2343 "name": { | 2388 }, |
2344 "description": "Name of the library. Example: \"django\".", | 2389 "type": "array" |
2345 "type": "string" | 2390 }, |
2346 }, | 2391 "nextPageToken": { |
2347 "version": { | 2392 "description": "Continuation token for fetching the next pag
e of results.", |
2348 "description": "Version of the library to select, or \"lates
t\".", | 2393 "type": "string" |
2349 "type": "string" | 2394 } |
2350 } | 2395 }, |
2351 }, | |
2352 "type": "object" | 2396 "type": "object" |
2353 } | 2397 } |
2354 }, | 2398 }, |
2355 "servicePath": "", | 2399 "servicePath": "", |
2356 "title": "Google App Engine Admin API", | 2400 "title": "Google App Engine Admin API", |
2357 "version": "v1beta4" | 2401 "version": "v1beta4" |
2358 } | 2402 } |
OLD | NEW |