OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/cloud-platform": { |
| 6 "description": "View and manage your data across Google Clou
d Platform services" |
| 7 }, |
5 "https://www.googleapis.com/auth/appengine.admin": { | 8 "https://www.googleapis.com/auth/appengine.admin": { |
6 "description": "View and manage your applications deployed o
n Google App Engine" | 9 "description": "View and manage your applications deployed o
n Google App Engine" |
7 }, | 10 }, |
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { | 11 "https://www.googleapis.com/auth/cloud-platform.read-only": { |
9 "description": "View your data across Google Cloud Platform
services" | 12 "description": "View your data across Google Cloud Platform
services" |
10 }, | |
11 "https://www.googleapis.com/auth/cloud-platform": { | |
12 "description": "View and manage your data across Google Clou
d Platform services" | |
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:v1beta5", | 27 "id": "appengine:v1beta5", |
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 "alt": { | |
34 "default": "json", | |
35 "description": "Data format for response.", | |
36 "enum": [ | |
37 "json", | |
38 "media", | |
39 "proto" | |
40 ], | |
41 "enumDescriptions": [ | |
42 "Responses with Content-Type of application/json", | |
43 "Media download with context-dependent Content-Type", | |
44 "Responses with Content-Type of application/x-protobuf" | |
45 ], | |
46 "location": "query", | |
47 "type": "string" | |
48 }, | |
49 "access_token": { | 33 "access_token": { |
50 "description": "OAuth access token.", | 34 "description": "OAuth access token.", |
51 "location": "query", | 35 "location": "query", |
52 "type": "string" | 36 "type": "string" |
53 }, | 37 }, |
54 "key": { | 38 "key": { |
55 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | 39 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
56 "location": "query", | 40 "location": "query", |
57 "type": "string" | 41 "type": "string" |
58 }, | 42 }, |
59 "quotaUser": { | 43 "quotaUser": { |
60 "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.", | 44 "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.", |
61 "location": "query", | 45 "location": "query", |
62 "type": "string" | 46 "type": "string" |
63 }, | 47 }, |
64 "pp": { | 48 "pp": { |
65 "default": "true", | 49 "default": "true", |
66 "description": "Pretty-print response.", | 50 "description": "Pretty-print response.", |
67 "location": "query", | 51 "location": "query", |
68 "type": "boolean" | 52 "type": "boolean" |
69 }, | 53 }, |
| 54 "bearer_token": { |
| 55 "description": "OAuth bearer token.", |
| 56 "location": "query", |
| 57 "type": "string" |
| 58 }, |
70 "oauth_token": { | 59 "oauth_token": { |
71 "description": "OAuth 2.0 token for the current user.", | 60 "description": "OAuth 2.0 token for the current user.", |
72 "location": "query", | 61 "location": "query", |
73 "type": "string" | 62 "type": "string" |
74 }, | 63 }, |
75 "bearer_token": { | |
76 "description": "OAuth bearer token.", | |
77 "location": "query", | |
78 "type": "string" | |
79 }, | |
80 "upload_protocol": { | 64 "upload_protocol": { |
81 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 65 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
82 "location": "query", | 66 "location": "query", |
83 "type": "string" | 67 "type": "string" |
84 }, | 68 }, |
85 "prettyPrint": { | 69 "prettyPrint": { |
86 "default": "true", | 70 "default": "true", |
87 "description": "Returns response with indentations and line breaks."
, | 71 "description": "Returns response with indentations and line breaks."
, |
88 "location": "query", | 72 "location": "query", |
89 "type": "boolean" | 73 "type": "boolean" |
90 }, | 74 }, |
| 75 "uploadType": { |
| 76 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 77 "location": "query", |
| 78 "type": "string" |
| 79 }, |
91 "fields": { | 80 "fields": { |
92 "description": "Selector specifying which fields to include in a par
tial response.", | 81 "description": "Selector specifying which fields to include in a par
tial response.", |
93 "location": "query", | 82 "location": "query", |
94 "type": "string" | 83 "type": "string" |
95 }, | 84 }, |
96 "uploadType": { | |
97 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
98 "location": "query", | |
99 "type": "string" | |
100 }, | |
101 "callback": { | |
102 "description": "JSONP", | |
103 "location": "query", | |
104 "type": "string" | |
105 }, | |
106 "$.xgafv": { | 85 "$.xgafv": { |
107 "description": "V1 error format.", | 86 "description": "V1 error format.", |
108 "enum": [ | 87 "enum": [ |
109 "1", | 88 "1", |
110 "2" | 89 "2" |
111 ], | 90 ], |
112 "enumDescriptions": [ | 91 "enumDescriptions": [ |
113 "v1 error format", | 92 "v1 error format", |
114 "v2 error format" | 93 "v2 error format" |
115 ], | 94 ], |
116 "location": "query", | 95 "location": "query", |
117 "type": "string" | 96 "type": "string" |
| 97 }, |
| 98 "callback": { |
| 99 "description": "JSONP", |
| 100 "location": "query", |
| 101 "type": "string" |
| 102 }, |
| 103 "alt": { |
| 104 "default": "json", |
| 105 "description": "Data format for response.", |
| 106 "enum": [ |
| 107 "json", |
| 108 "media", |
| 109 "proto" |
| 110 ], |
| 111 "enumDescriptions": [ |
| 112 "Responses with Content-Type of application/json", |
| 113 "Media download with context-dependent Content-Type", |
| 114 "Responses with Content-Type of application/x-protobuf" |
| 115 ], |
| 116 "location": "query", |
| 117 "type": "string" |
118 } | 118 } |
119 }, | 119 }, |
120 "protocol": "rest", | 120 "protocol": "rest", |
121 "resources": { | 121 "resources": { |
122 "apps": { | 122 "apps": { |
123 "methods": { | 123 "methods": { |
124 "patch": { | 124 "patch": { |
125 "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/v1beta5/apps#Application.FIELDS.auth_domain)
\ndefault_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta5/apps#Application.FIELDS.default_cookie_expiration)", | 125 "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/v1beta5/apps#Application.FIELDS.auth_domain)
\ndefault_cookie_expiration (https://cloud.google.com/appengine/docs/admin-api/r
eference/rest/v1beta5/apps#Application.FIELDS.default_cookie_expiration)", |
126 "httpMethod": "PATCH", | 126 "httpMethod": "PATCH", |
127 "id": "appengine.apps.patch", | 127 "id": "appengine.apps.patch", |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after 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 "locations": { |
| 204 "methods": { |
| 205 "get": { |
| 206 "description": "Get information about a location.", |
| 207 "httpMethod": "GET", |
| 208 "id": "appengine.apps.locations.get", |
| 209 "parameterOrder": [ |
| 210 "appsId", |
| 211 "locationsId" |
| 212 ], |
| 213 "parameters": { |
| 214 "locationsId": { |
| 215 "description": "Part of `name`. See document
ation of `appsId`.", |
| 216 "location": "path", |
| 217 "required": true, |
| 218 "type": "string" |
| 219 }, |
| 220 "appsId": { |
| 221 "description": "Part of `name`. Resource nam
e for the location.", |
| 222 "location": "path", |
| 223 "required": true, |
| 224 "type": "string" |
| 225 } |
| 226 }, |
| 227 "path": "v1beta5/apps/{appsId}/locations/{locationsI
d}", |
| 228 "response": { |
| 229 "$ref": "Location" |
| 230 }, |
| 231 "scopes": [ |
| 232 "https://www.googleapis.com/auth/appengine.admin
", |
| 233 "https://www.googleapis.com/auth/cloud-platform"
, |
| 234 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
| 235 ] |
| 236 }, |
| 237 "list": { |
| 238 "description": "Lists information about the supporte
d locations for this service.", |
| 239 "httpMethod": "GET", |
| 240 "id": "appengine.apps.locations.list", |
| 241 "parameterOrder": [ |
| 242 "appsId" |
| 243 ], |
| 244 "parameters": { |
| 245 "pageToken": { |
| 246 "description": "The standard list page token
.", |
| 247 "location": "query", |
| 248 "type": "string" |
| 249 }, |
| 250 "appsId": { |
| 251 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", |
| 252 "location": "path", |
| 253 "required": true, |
| 254 "type": "string" |
| 255 }, |
| 256 "pageSize": { |
| 257 "description": "The standard list page size.
", |
| 258 "format": "int32", |
| 259 "location": "query", |
| 260 "type": "integer" |
| 261 }, |
| 262 "filter": { |
| 263 "description": "The standard list filter.", |
| 264 "location": "query", |
| 265 "type": "string" |
| 266 } |
| 267 }, |
| 268 "path": "v1beta5/apps/{appsId}/locations", |
| 269 "response": { |
| 270 "$ref": "ListLocationsResponse" |
| 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 }, |
203 "services": { | 280 "services": { |
204 "methods": { | 281 "methods": { |
| 282 "delete": { |
| 283 "description": "Deletes the specified service and al
l enclosed versions.", |
| 284 "httpMethod": "DELETE", |
| 285 "id": "appengine.apps.services.delete", |
| 286 "parameterOrder": [ |
| 287 "appsId", |
| 288 "servicesId" |
| 289 ], |
| 290 "parameters": { |
| 291 "servicesId": { |
| 292 "description": "Part of `name`. See document
ation of `appsId`.", |
| 293 "location": "path", |
| 294 "required": true, |
| 295 "type": "string" |
| 296 }, |
| 297 "appsId": { |
| 298 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", |
| 299 "location": "path", |
| 300 "required": true, |
| 301 "type": "string" |
| 302 } |
| 303 }, |
| 304 "path": "v1beta5/apps/{appsId}/services/{servicesId}
", |
| 305 "response": { |
| 306 "$ref": "Operation" |
| 307 }, |
| 308 "scopes": [ |
| 309 "https://www.googleapis.com/auth/cloud-platform" |
| 310 ] |
| 311 }, |
205 "patch": { | 312 "patch": { |
206 "description": "Updates the configuration of the spe
cified service.", | 313 "description": "Updates the configuration of the spe
cified service.", |
207 "httpMethod": "PATCH", | 314 "httpMethod": "PATCH", |
208 "id": "appengine.apps.services.patch", | 315 "id": "appengine.apps.services.patch", |
209 "parameterOrder": [ | 316 "parameterOrder": [ |
210 "appsId", | 317 "appsId", |
211 "servicesId" | 318 "servicesId" |
212 ], | 319 ], |
213 "parameters": { | 320 "parameters": { |
214 "servicesId": { | 321 "servicesId": { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
247 ] | 354 ] |
248 }, | 355 }, |
249 "list": { | 356 "list": { |
250 "description": "Lists all the services in the applic
ation.", | 357 "description": "Lists all the services in the applic
ation.", |
251 "httpMethod": "GET", | 358 "httpMethod": "GET", |
252 "id": "appengine.apps.services.list", | 359 "id": "appengine.apps.services.list", |
253 "parameterOrder": [ | 360 "parameterOrder": [ |
254 "appsId" | 361 "appsId" |
255 ], | 362 ], |
256 "parameters": { | 363 "parameters": { |
257 "pageSize": { | |
258 "description": "Maximum results to return pe
r page.", | |
259 "format": "int32", | |
260 "location": "query", | |
261 "type": "integer" | |
262 }, | |
263 "pageToken": { | 364 "pageToken": { |
264 "description": "Continuation token for fetch
ing the next page of results.", | 365 "description": "Continuation token for fetch
ing the next page of results.", |
265 "location": "query", | 366 "location": "query", |
266 "type": "string" | 367 "type": "string" |
267 }, | 368 }, |
268 "appsId": { | 369 "appsId": { |
269 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp.", | 370 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp.", |
270 "location": "path", | 371 "location": "path", |
271 "required": true, | 372 "required": true, |
272 "type": "string" | 373 "type": "string" |
| 374 }, |
| 375 "pageSize": { |
| 376 "description": "Maximum results to return pe
r page.", |
| 377 "format": "int32", |
| 378 "location": "query", |
| 379 "type": "integer" |
273 } | 380 } |
274 }, | 381 }, |
275 "path": "v1beta5/apps/{appsId}/services", | 382 "path": "v1beta5/apps/{appsId}/services", |
276 "response": { | 383 "response": { |
277 "$ref": "ListServicesResponse" | 384 "$ref": "ListServicesResponse" |
278 }, | 385 }, |
279 "scopes": [ | 386 "scopes": [ |
280 "https://www.googleapis.com/auth/appengine.admin
", | 387 "https://www.googleapis.com/auth/appengine.admin
", |
281 "https://www.googleapis.com/auth/cloud-platform"
, | 388 "https://www.googleapis.com/auth/cloud-platform"
, |
282 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 389 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
283 ] | 390 ] |
284 }, | 391 }, |
285 "get": { | 392 "get": { |
286 "description": "Gets the current configuration of th
e specified service.", | 393 "description": "Gets the current configuration of th
e specified service.", |
287 "httpMethod": "GET", | 394 "httpMethod": "GET", |
288 "id": "appengine.apps.services.get", | 395 "id": "appengine.apps.services.get", |
289 "parameterOrder": [ | 396 "parameterOrder": [ |
290 "appsId", | 397 "appsId", |
291 "servicesId" | 398 "servicesId" |
292 ], | 399 ], |
293 "parameters": { | 400 "parameters": { |
| 401 "appsId": { |
| 402 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", |
| 403 "location": "path", |
| 404 "required": true, |
| 405 "type": "string" |
| 406 }, |
294 "servicesId": { | 407 "servicesId": { |
295 "description": "Part of `name`. See document
ation of `appsId`.", | 408 "description": "Part of `name`. See document
ation of `appsId`.", |
296 "location": "path", | 409 "location": "path", |
297 "required": true, | 410 "required": true, |
298 "type": "string" | 411 "type": "string" |
299 }, | |
300 "appsId": { | |
301 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", | |
302 "location": "path", | |
303 "required": true, | |
304 "type": "string" | |
305 } | 412 } |
306 }, | 413 }, |
307 "path": "v1beta5/apps/{appsId}/services/{servicesId}
", | 414 "path": "v1beta5/apps/{appsId}/services/{servicesId}
", |
308 "response": { | 415 "response": { |
309 "$ref": "Service" | 416 "$ref": "Service" |
310 }, | 417 }, |
311 "scopes": [ | 418 "scopes": [ |
312 "https://www.googleapis.com/auth/appengine.admin
", | 419 "https://www.googleapis.com/auth/appengine.admin
", |
313 "https://www.googleapis.com/auth/cloud-platform"
, | 420 "https://www.googleapis.com/auth/cloud-platform"
, |
314 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 421 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
315 ] | 422 ] |
316 }, | |
317 "delete": { | |
318 "description": "Deletes the specified service and al
l enclosed versions.", | |
319 "httpMethod": "DELETE", | |
320 "id": "appengine.apps.services.delete", | |
321 "parameterOrder": [ | |
322 "appsId", | |
323 "servicesId" | |
324 ], | |
325 "parameters": { | |
326 "servicesId": { | |
327 "description": "Part of `name`. See document
ation of `appsId`.", | |
328 "location": "path", | |
329 "required": true, | |
330 "type": "string" | |
331 }, | |
332 "appsId": { | |
333 "description": "Part of `name`. Name of the
resource requested. Example: apps/myapp/services/default.", | |
334 "location": "path", | |
335 "required": true, | |
336 "type": "string" | |
337 } | |
338 }, | |
339 "path": "v1beta5/apps/{appsId}/services/{servicesId}
", | |
340 "response": { | |
341 "$ref": "Operation" | |
342 }, | |
343 "scopes": [ | |
344 "https://www.googleapis.com/auth/cloud-platform" | |
345 ] | |
346 } | 423 } |
347 }, | 424 }, |
348 "resources": { | 425 "resources": { |
349 "versions": { | 426 "versions": { |
350 "methods": { | 427 "methods": { |
| 428 "create": { |
| 429 "description": "Deploys new code and resourc
e files to a new version.", |
| 430 "httpMethod": "POST", |
| 431 "id": "appengine.apps.services.versions.crea
te", |
| 432 "parameterOrder": [ |
| 433 "appsId", |
| 434 "servicesId" |
| 435 ], |
| 436 "parameters": { |
| 437 "appsId": { |
| 438 "description": "Part of `name`. Name
of the resource to update. For example: \"apps/myapp/services/default\".", |
| 439 "location": "path", |
| 440 "required": true, |
| 441 "type": "string" |
| 442 }, |
| 443 "servicesId": { |
| 444 "description": "Part of `name`. See
documentation of `appsId`.", |
| 445 "location": "path", |
| 446 "required": true, |
| 447 "type": "string" |
| 448 } |
| 449 }, |
| 450 "path": "v1beta5/apps/{appsId}/services/{ser
vicesId}/versions", |
| 451 "request": { |
| 452 "$ref": "Version" |
| 453 }, |
| 454 "response": { |
| 455 "$ref": "Operation" |
| 456 }, |
| 457 "scopes": [ |
| 458 "https://www.googleapis.com/auth/cloud-p
latform" |
| 459 ] |
| 460 }, |
351 "delete": { | 461 "delete": { |
352 "description": "Deletes an existing version.
", | 462 "description": "Deletes an existing version.
", |
353 "httpMethod": "DELETE", | 463 "httpMethod": "DELETE", |
354 "id": "appengine.apps.services.versions.dele
te", | 464 "id": "appengine.apps.services.versions.dele
te", |
355 "parameterOrder": [ | 465 "parameterOrder": [ |
356 "appsId", | 466 "appsId", |
357 "servicesId", | 467 "servicesId", |
358 "versionsId" | 468 "versionsId" |
359 ], | 469 ], |
360 "parameters": { | 470 "parameters": { |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
523 }, | 633 }, |
524 "path": "v1beta5/apps/{appsId}/services/{ser
vicesId}/versions/{versionsId}", | 634 "path": "v1beta5/apps/{appsId}/services/{ser
vicesId}/versions/{versionsId}", |
525 "response": { | 635 "response": { |
526 "$ref": "Version" | 636 "$ref": "Version" |
527 }, | 637 }, |
528 "scopes": [ | 638 "scopes": [ |
529 "https://www.googleapis.com/auth/appengi
ne.admin", | 639 "https://www.googleapis.com/auth/appengi
ne.admin", |
530 "https://www.googleapis.com/auth/cloud-p
latform", | 640 "https://www.googleapis.com/auth/cloud-p
latform", |
531 "https://www.googleapis.com/auth/cloud-p
latform.read-only" | 641 "https://www.googleapis.com/auth/cloud-p
latform.read-only" |
532 ] | 642 ] |
533 }, | |
534 "create": { | |
535 "description": "Deploys new code and resourc
e files to a new version.", | |
536 "httpMethod": "POST", | |
537 "id": "appengine.apps.services.versions.crea
te", | |
538 "parameterOrder": [ | |
539 "appsId", | |
540 "servicesId" | |
541 ], | |
542 "parameters": { | |
543 "servicesId": { | |
544 "description": "Part of `name`. See
documentation of `appsId`.", | |
545 "location": "path", | |
546 "required": true, | |
547 "type": "string" | |
548 }, | |
549 "appsId": { | |
550 "description": "Part of `name`. Name
of the resource to update. For example: \"apps/myapp/services/default\".", | |
551 "location": "path", | |
552 "required": true, | |
553 "type": "string" | |
554 } | |
555 }, | |
556 "path": "v1beta5/apps/{appsId}/services/{ser
vicesId}/versions", | |
557 "request": { | |
558 "$ref": "Version" | |
559 }, | |
560 "response": { | |
561 "$ref": "Operation" | |
562 }, | |
563 "scopes": [ | |
564 "https://www.googleapis.com/auth/cloud-p
latform" | |
565 ] | |
566 } | 643 } |
567 }, | 644 }, |
568 "resources": { | 645 "resources": { |
569 "instances": { | 646 "instances": { |
570 "methods": { | 647 "methods": { |
| 648 "debug": { |
| 649 "description": "Enables debugging on
a VM instance. This allows you to use the SSH command to connect to the virtual
machine where the instance lives. While in \"debug mode\", the instance continu
es to serve live traffic. You should delete the instance when you are done debug
ging and then allow the system to take over and determine if another instance sh
ould be started.Only applicable for instances in App Engine flexible environment
.", |
| 650 "httpMethod": "POST", |
| 651 "id": "appengine.apps.services.versi
ons.instances.debug", |
| 652 "parameterOrder": [ |
| 653 "appsId", |
| 654 "servicesId", |
| 655 "versionsId", |
| 656 "instancesId" |
| 657 ], |
| 658 "parameters": { |
| 659 "instancesId": { |
| 660 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 661 "location": "path", |
| 662 "required": true, |
| 663 "type": "string" |
| 664 }, |
| 665 "appsId": { |
| 666 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", |
| 667 "location": "path", |
| 668 "required": true, |
| 669 "type": "string" |
| 670 }, |
| 671 "versionsId": { |
| 672 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 673 "location": "path", |
| 674 "required": true, |
| 675 "type": "string" |
| 676 }, |
| 677 "servicesId": { |
| 678 "description": "Part of `nam
e`. See documentation of `appsId`.", |
| 679 "location": "path", |
| 680 "required": true, |
| 681 "type": "string" |
| 682 } |
| 683 }, |
| 684 "path": "v1beta5/apps/{appsId}/servi
ces/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", |
| 685 "request": { |
| 686 "$ref": "DebugInstanceRequest" |
| 687 }, |
| 688 "response": { |
| 689 "$ref": "Operation" |
| 690 }, |
| 691 "scopes": [ |
| 692 "https://www.googleapis.com/auth
/cloud-platform" |
| 693 ] |
| 694 }, |
571 "delete": { | 695 "delete": { |
572 "description": "Stops a running inst
ance.", | 696 "description": "Stops a running inst
ance.", |
573 "httpMethod": "DELETE", | 697 "httpMethod": "DELETE", |
574 "id": "appengine.apps.services.versi
ons.instances.delete", | 698 "id": "appengine.apps.services.versi
ons.instances.delete", |
575 "parameterOrder": [ | 699 "parameterOrder": [ |
576 "appsId", | 700 "appsId", |
577 "servicesId", | 701 "servicesId", |
578 "versionsId", | 702 "versionsId", |
579 "instancesId" | 703 "instancesId" |
580 ], | 704 ], |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 }, | 824 }, |
701 "path": "v1beta5/apps/{appsId}/servi
ces/{servicesId}/versions/{versionsId}/instances/{instancesId}", | 825 "path": "v1beta5/apps/{appsId}/servi
ces/{servicesId}/versions/{versionsId}/instances/{instancesId}", |
702 "response": { | 826 "response": { |
703 "$ref": "Instance" | 827 "$ref": "Instance" |
704 }, | 828 }, |
705 "scopes": [ | 829 "scopes": [ |
706 "https://www.googleapis.com/auth
/appengine.admin", | 830 "https://www.googleapis.com/auth
/appengine.admin", |
707 "https://www.googleapis.com/auth
/cloud-platform", | 831 "https://www.googleapis.com/auth
/cloud-platform", |
708 "https://www.googleapis.com/auth
/cloud-platform.read-only" | 832 "https://www.googleapis.com/auth
/cloud-platform.read-only" |
709 ] | 833 ] |
710 }, | |
711 "debug": { | |
712 "description": "Enables debugging on
a VM instance. This allows you to use the SSH command to connect to the virtual
machine where the instance lives. While in \"debug mode\", the instance continu
es to serve live traffic. You should delete the instance when you are done debug
ging and then allow the system to take over and determine if another instance sh
ould be started.Only applicable for instances in App Engine flexible environment
.", | |
713 "httpMethod": "POST", | |
714 "id": "appengine.apps.services.versi
ons.instances.debug", | |
715 "parameterOrder": [ | |
716 "appsId", | |
717 "servicesId", | |
718 "versionsId", | |
719 "instancesId" | |
720 ], | |
721 "parameters": { | |
722 "servicesId": { | |
723 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
724 "location": "path", | |
725 "required": true, | |
726 "type": "string" | |
727 }, | |
728 "instancesId": { | |
729 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
730 "location": "path", | |
731 "required": true, | |
732 "type": "string" | |
733 }, | |
734 "appsId": { | |
735 "description": "Part of `nam
e`. Name of the resource requested. Example: apps/myapp/services/default/version
s/v1/instances/instance-1.", | |
736 "location": "path", | |
737 "required": true, | |
738 "type": "string" | |
739 }, | |
740 "versionsId": { | |
741 "description": "Part of `nam
e`. See documentation of `appsId`.", | |
742 "location": "path", | |
743 "required": true, | |
744 "type": "string" | |
745 } | |
746 }, | |
747 "path": "v1beta5/apps/{appsId}/servi
ces/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", | |
748 "request": { | |
749 "$ref": "DebugInstanceRequest" | |
750 }, | |
751 "response": { | |
752 "$ref": "Operation" | |
753 }, | |
754 "scopes": [ | |
755 "https://www.googleapis.com/auth
/cloud-platform" | |
756 ] | |
757 } | 834 } |
758 } | 835 } |
759 } | 836 } |
760 } | 837 } |
761 } | 838 } |
762 } | 839 } |
763 }, | 840 }, |
764 "operations": { | 841 "operations": { |
765 "methods": { | 842 "methods": { |
766 "get": { | 843 "get": { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
830 "response": { | 907 "response": { |
831 "$ref": "ListOperationsResponse" | 908 "$ref": "ListOperationsResponse" |
832 }, | 909 }, |
833 "scopes": [ | 910 "scopes": [ |
834 "https://www.googleapis.com/auth/appengine.admin
", | 911 "https://www.googleapis.com/auth/appengine.admin
", |
835 "https://www.googleapis.com/auth/cloud-platform"
, | 912 "https://www.googleapis.com/auth/cloud-platform"
, |
836 "https://www.googleapis.com/auth/cloud-platform.
read-only" | 913 "https://www.googleapis.com/auth/cloud-platform.
read-only" |
837 ] | 914 ] |
838 } | 915 } |
839 } | 916 } |
840 }, | |
841 "locations": { | |
842 "methods": { | |
843 "get": { | |
844 "description": "Get information about a location.", | |
845 "httpMethod": "GET", | |
846 "id": "appengine.apps.locations.get", | |
847 "parameterOrder": [ | |
848 "appsId", | |
849 "locationsId" | |
850 ], | |
851 "parameters": { | |
852 "locationsId": { | |
853 "description": "Part of `name`. See document
ation of `appsId`.", | |
854 "location": "path", | |
855 "required": true, | |
856 "type": "string" | |
857 }, | |
858 "appsId": { | |
859 "description": "Part of `name`. Resource nam
e for the location.", | |
860 "location": "path", | |
861 "required": true, | |
862 "type": "string" | |
863 } | |
864 }, | |
865 "path": "v1beta5/apps/{appsId}/locations/{locationsI
d}", | |
866 "response": { | |
867 "$ref": "Location" | |
868 }, | |
869 "scopes": [ | |
870 "https://www.googleapis.com/auth/appengine.admin
", | |
871 "https://www.googleapis.com/auth/cloud-platform"
, | |
872 "https://www.googleapis.com/auth/cloud-platform.
read-only" | |
873 ] | |
874 }, | |
875 "list": { | |
876 "description": "Lists information about the supporte
d locations for this service.", | |
877 "httpMethod": "GET", | |
878 "id": "appengine.apps.locations.list", | |
879 "parameterOrder": [ | |
880 "appsId" | |
881 ], | |
882 "parameters": { | |
883 "filter": { | |
884 "description": "The standard list filter.", | |
885 "location": "query", | |
886 "type": "string" | |
887 }, | |
888 "pageToken": { | |
889 "description": "The standard list page token
.", | |
890 "location": "query", | |
891 "type": "string" | |
892 }, | |
893 "appsId": { | |
894 "description": "Part of `name`. The resource
that owns the locations collection, if applicable.", | |
895 "location": "path", | |
896 "required": true, | |
897 "type": "string" | |
898 }, | |
899 "pageSize": { | |
900 "description": "The standard list page size.
", | |
901 "format": "int32", | |
902 "location": "query", | |
903 "type": "integer" | |
904 } | |
905 }, | |
906 "path": "v1beta5/apps/{appsId}/locations", | |
907 "response": { | |
908 "$ref": "ListLocationsResponse" | |
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": "20170721", | 921 "revision": "20170811", |
922 "rootUrl": "https://appengine.googleapis.com/", | 922 "rootUrl": "https://appengine.googleapis.com/", |
923 "schemas": { | 923 "schemas": { |
924 "OperationMetadataV1Alpha": { | |
925 "description": "Metadata for the given google.longrunning.Operation.
", | |
926 "id": "OperationMetadataV1Alpha", | |
927 "properties": { | |
928 "endTime": { | |
929 "description": "Time that this operation completed.@OutputOn
ly", | |
930 "format": "google-datetime", | |
931 "type": "string" | |
932 }, | |
933 "insertTime": { | |
934 "description": "Time that this operation was created.@Output
Only", | |
935 "format": "google-datetime", | |
936 "type": "string" | |
937 }, | |
938 "warning": { | |
939 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | |
940 "items": { | |
941 "type": "string" | |
942 }, | |
943 "type": "array" | |
944 }, | |
945 "target": { | |
946 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | |
947 "type": "string" | |
948 }, | |
949 "user": { | |
950 "description": "User who requested this operation.@OutputOnl
y", | |
951 "type": "string" | |
952 }, | |
953 "ephemeralMessage": { | |
954 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | |
955 "type": "string" | |
956 }, | |
957 "method": { | |
958 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", | |
959 "type": "string" | |
960 } | |
961 }, | |
962 "type": "object" | |
963 }, | |
964 "Application": { | |
965 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", | |
966 "id": "Application", | |
967 "properties": { | |
968 "iap": { | |
969 "$ref": "IdentityAwareProxy" | |
970 }, | |
971 "authDomain": { | |
972 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", | |
973 "type": "string" | |
974 }, | |
975 "id": { | |
976 "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.", | |
977 "type": "string" | |
978 }, | |
979 "defaultCookieExpiration": { | |
980 "description": "Cookie expiration policy for this applicatio
n.", | |
981 "format": "google-duration", | |
982 "type": "string" | |
983 }, | |
984 "codeBucket": { | |
985 "description": "A Google Cloud Storage bucket that can be us
ed for storing files associated with this application. This bucket is associated
with the application and can be used by the gcloud deployment commands.@OutputO
nly", | |
986 "type": "string" | |
987 }, | |
988 "location": { | |
989 "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", | |
990 "type": "string" | |
991 }, | |
992 "defaultBucket": { | |
993 "description": "A Google Cloud Storage bucket that can be us
ed by the application to store content.@OutputOnly", | |
994 "type": "string" | |
995 }, | |
996 "dispatchRules": { | |
997 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a service or version. Rules are order
-dependent.@OutputOnly", | |
998 "items": { | |
999 "$ref": "UrlDispatchRule" | |
1000 }, | |
1001 "type": "array" | |
1002 }, | |
1003 "defaultHostname": { | |
1004 "description": "Hostname used to reach the application, as r
esolved by App Engine.@OutputOnly", | |
1005 "type": "string" | |
1006 }, | |
1007 "name": { | |
1008 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", | |
1009 "type": "string" | |
1010 } | |
1011 }, | |
1012 "type": "object" | |
1013 }, | |
1014 "Network": { | |
1015 "description": "Extra network settings. Only applicable for VM runti
mes.", | |
1016 "id": "Network", | |
1017 "properties": { | |
1018 "subnetworkName": { | |
1019 "description": "Google Cloud Platform sub-network where the
virtual machines are created. Specify the short name, not the resource path.If a
subnetwork name is specified, a network name will also be required unless it is
for the default network.\nIf the network the VM instance is being created in is
a Legacy network, then the IP address is allocated from the IPv4Range.\nIf the
network the VM instance is being created in is an auto Subnet Mode Network, then
only network name should be specified (not the subnetwork_name) and the IP addr
ess is created from the IPCidrRange of the subnetwork that exists in that zone f
or that network.\nIf the network the VM instance is being created in is a custom
Subnet Mode Network, then the subnetwork_name must be specified and the IP addr
ess is created from the IPCidrRange of the subnetwork.If specified, the subnetwo
rk must exist in the same region as the Flex app.", | |
1020 "type": "string" | |
1021 }, | |
1022 "instanceTag": { | |
1023 "description": "Tag to apply to the VM instance during creat
ion.", | |
1024 "type": "string" | |
1025 }, | |
1026 "forwardedPorts": { | |
1027 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", | |
1028 "items": { | |
1029 "type": "string" | |
1030 }, | |
1031 "type": "array" | |
1032 }, | |
1033 "name": { | |
1034 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", | |
1035 "type": "string" | |
1036 } | |
1037 }, | |
1038 "type": "object" | |
1039 }, | |
1040 "Instance": { | |
1041 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", | |
1042 "id": "Instance", | |
1043 "properties": { | |
1044 "vmId": { | |
1045 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", | |
1046 "type": "string" | |
1047 }, | |
1048 "qps": { | |
1049 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", | |
1050 "format": "float", | |
1051 "type": "number" | |
1052 }, | |
1053 "vmUnlocked": { | |
1054 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", | |
1055 "type": "boolean" | |
1056 }, | |
1057 "name": { | |
1058 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output
Only", | |
1059 "type": "string" | |
1060 }, | |
1061 "vmZoneName": { | |
1062 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", | |
1063 "type": "string" | |
1064 }, | |
1065 "averageLatency": { | |
1066 "description": "Average latency (ms) over the last minute.@O
utputOnly", | |
1067 "format": "int32", | |
1068 "type": "integer" | |
1069 }, | |
1070 "vmIp": { | |
1071 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", | |
1072 "type": "string" | |
1073 }, | |
1074 "memoryUsage": { | |
1075 "description": "Total memory in use (bytes).@OutputOnly", | |
1076 "format": "int64", | |
1077 "type": "string" | |
1078 }, | |
1079 "id": { | |
1080 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", | |
1081 "type": "string" | |
1082 }, | |
1083 "vmStatus": { | |
1084 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", | |
1085 "type": "string" | |
1086 }, | |
1087 "availability": { | |
1088 "description": "Availability of the instance.@OutputOnly", | |
1089 "enum": [ | |
1090 "UNSPECIFIED", | |
1091 "RESIDENT", | |
1092 "DYNAMIC" | |
1093 ], | |
1094 "enumDescriptions": [ | |
1095 "", | |
1096 "", | |
1097 "" | |
1098 ], | |
1099 "type": "string" | |
1100 }, | |
1101 "errors": { | |
1102 "description": "Number of errors since this instance was sta
rted.@OutputOnly", | |
1103 "format": "uint32", | |
1104 "type": "integer" | |
1105 }, | |
1106 "requests": { | |
1107 "description": "Number of requests since this instance was s
tarted.@OutputOnly", | |
1108 "format": "int32", | |
1109 "type": "integer" | |
1110 }, | |
1111 "appEngineRelease": { | |
1112 "description": "App Engine release this instance is running
on.@OutputOnly", | |
1113 "type": "string" | |
1114 }, | |
1115 "startTimestamp": { | |
1116 "description": "Time that this instance was started.@OutputO
nly", | |
1117 "format": "google-datetime", | |
1118 "type": "string" | |
1119 }, | |
1120 "vmName": { | |
1121 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", | |
1122 "type": "string" | |
1123 } | |
1124 }, | |
1125 "type": "object" | |
1126 }, | |
1127 "UrlDispatchRule": { | |
1128 "description": "Rules to match an HTTP request and dispatch that req
uest to a service.", | |
1129 "id": "UrlDispatchRule", | |
1130 "properties": { | |
1131 "service": { | |
1132 "description": "Resource id of a service in this application
that should serve the matched request. The service must already exist. Example:
default.", | |
1133 "type": "string" | |
1134 }, | |
1135 "domain": { | |
1136 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", | |
1137 "type": "string" | |
1138 }, | |
1139 "path": { | |
1140 "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.", | |
1141 "type": "string" | |
1142 } | |
1143 }, | |
1144 "type": "object" | |
1145 }, | |
1146 "ListVersionsResponse": { | |
1147 "description": "Response message for Versions.ListVersions.", | |
1148 "id": "ListVersionsResponse", | |
1149 "properties": { | |
1150 "nextPageToken": { | |
1151 "description": "Continuation token for fetching the next pag
e of results.", | |
1152 "type": "string" | |
1153 }, | |
1154 "versions": { | |
1155 "description": "The versions belonging to the requested serv
ice.", | |
1156 "items": { | |
1157 "$ref": "Version" | |
1158 }, | |
1159 "type": "array" | |
1160 } | |
1161 }, | |
1162 "type": "object" | |
1163 }, | |
1164 "ApiEndpointHandler": { | |
1165 "description": "Uses Google Cloud Endpoints to handle requests.", | |
1166 "id": "ApiEndpointHandler", | |
1167 "properties": { | |
1168 "scriptPath": { | |
1169 "description": "Path to the script from the application root
directory.", | |
1170 "type": "string" | |
1171 } | |
1172 }, | |
1173 "type": "object" | |
1174 }, | |
1175 "AutomaticScaling": { | |
1176 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", | |
1177 "id": "AutomaticScaling", | |
1178 "properties": { | |
1179 "maxTotalInstances": { | |
1180 "description": "Maximum number of instances that should be s
tarted to handle requests.", | |
1181 "format": "int32", | |
1182 "type": "integer" | |
1183 }, | |
1184 "minTotalInstances": { | |
1185 "description": "Minimum number of instances that should be m
aintained for this version.", | |
1186 "format": "int32", | |
1187 "type": "integer" | |
1188 }, | |
1189 "networkUtilization": { | |
1190 "$ref": "NetworkUtilization", | |
1191 "description": "Target scaling by network usage." | |
1192 }, | |
1193 "maxConcurrentRequests": { | |
1194 "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.", | |
1195 "format": "int32", | |
1196 "type": "integer" | |
1197 }, | |
1198 "coolDownPeriod": { | |
1199 "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.", | |
1200 "format": "google-duration", | |
1201 "type": "string" | |
1202 }, | |
1203 "maxPendingLatency": { | |
1204 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", | |
1205 "format": "google-duration", | |
1206 "type": "string" | |
1207 }, | |
1208 "cpuUtilization": { | |
1209 "$ref": "CpuUtilization", | |
1210 "description": "Target scaling by CPU usage." | |
1211 }, | |
1212 "diskUtilization": { | |
1213 "$ref": "DiskUtilization", | |
1214 "description": "Target scaling by disk usage." | |
1215 }, | |
1216 "minPendingLatency": { | |
1217 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", | |
1218 "format": "google-duration", | |
1219 "type": "string" | |
1220 }, | |
1221 "maxIdleInstances": { | |
1222 "description": "Maximum number of idle instances that should
be maintained for this version.", | |
1223 "format": "int32", | |
1224 "type": "integer" | |
1225 }, | |
1226 "requestUtilization": { | |
1227 "$ref": "RequestUtilization", | |
1228 "description": "Target scaling by request utilization." | |
1229 }, | |
1230 "minIdleInstances": { | |
1231 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a mo
dule.", | |
1232 "format": "int32", | |
1233 "type": "integer" | |
1234 } | |
1235 }, | |
1236 "type": "object" | |
1237 }, | |
1238 "NetworkUtilization": { | |
1239 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", | |
1240 "id": "NetworkUtilization", | |
1241 "properties": { | |
1242 "targetReceivedPacketsPerSec": { | |
1243 "description": "Target packets received per second.", | |
1244 "format": "int32", | |
1245 "type": "integer" | |
1246 }, | |
1247 "targetSentBytesPerSec": { | |
1248 "description": "Target bytes sent per second.", | |
1249 "format": "int32", | |
1250 "type": "integer" | |
1251 }, | |
1252 "targetReceivedBytesPerSec": { | |
1253 "description": "Target bytes received per second.", | |
1254 "format": "int32", | |
1255 "type": "integer" | |
1256 }, | |
1257 "targetSentPacketsPerSec": { | |
1258 "description": "Target packets sent per second.", | |
1259 "format": "int32", | |
1260 "type": "integer" | |
1261 } | |
1262 }, | |
1263 "type": "object" | |
1264 }, | |
1265 "Location": { | |
1266 "description": "A resource that represents Google Cloud Platform loc
ation.", | |
1267 "id": "Location", | |
1268 "properties": { | |
1269 "labels": { | |
1270 "additionalProperties": { | |
1271 "type": "string" | |
1272 }, | |
1273 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", | |
1274 "type": "object" | |
1275 }, | |
1276 "name": { | |
1277 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", | |
1278 "type": "string" | |
1279 }, | |
1280 "locationId": { | |
1281 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", | |
1282 "type": "string" | |
1283 }, | |
1284 "metadata": { | |
1285 "additionalProperties": { | |
1286 "description": "Properties of the object. Contains field
@type with type URL.", | |
1287 "type": "any" | |
1288 }, | |
1289 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", | |
1290 "type": "object" | |
1291 } | |
1292 }, | |
1293 "type": "object" | |
1294 }, | |
1295 "HealthCheck": { | 924 "HealthCheck": { |
1296 "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.", | 925 "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.", |
1297 "id": "HealthCheck", | 926 "id": "HealthCheck", |
1298 "properties": { | 927 "properties": { |
| 928 "timeout": { |
| 929 "description": "Time before the health check is considered f
ailed.", |
| 930 "format": "google-duration", |
| 931 "type": "string" |
| 932 }, |
| 933 "unhealthyThreshold": { |
| 934 "description": "Number of consecutive failed health checks r
equired before removing traffic.", |
| 935 "format": "uint32", |
| 936 "type": "integer" |
| 937 }, |
1299 "disableHealthCheck": { | 938 "disableHealthCheck": { |
1300 "description": "Whether to explicitly disable health checks
for this instance.", | 939 "description": "Whether to explicitly disable health checks
for this instance.", |
1301 "type": "boolean" | 940 "type": "boolean" |
1302 }, | 941 }, |
1303 "host": { | 942 "host": { |
1304 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", | 943 "description": "Host header to send when performing an HTTP
health check. Example: \"myapp.appspot.com\"", |
1305 "type": "string" | 944 "type": "string" |
1306 }, | 945 }, |
| 946 "restartThreshold": { |
| 947 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", |
| 948 "format": "uint32", |
| 949 "type": "integer" |
| 950 }, |
1307 "healthyThreshold": { | 951 "healthyThreshold": { |
1308 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", | 952 "description": "Number of consecutive successful health chec
ks required before receiving traffic.", |
1309 "format": "uint32", | 953 "format": "uint32", |
1310 "type": "integer" | 954 "type": "integer" |
1311 }, | 955 }, |
1312 "restartThreshold": { | |
1313 "description": "Number of consecutive failed health checks r
equired before an instance is restarted.", | |
1314 "format": "uint32", | |
1315 "type": "integer" | |
1316 }, | |
1317 "checkInterval": { | 956 "checkInterval": { |
1318 "description": "Interval between health checks.", | 957 "description": "Interval between health checks.", |
1319 "format": "google-duration", | 958 "format": "google-duration", |
1320 "type": "string" | 959 "type": "string" |
1321 }, | |
1322 "timeout": { | |
1323 "description": "Time before the health check is considered f
ailed.", | |
1324 "format": "google-duration", | |
1325 "type": "string" | |
1326 }, | |
1327 "unhealthyThreshold": { | |
1328 "description": "Number of consecutive failed health checks r
equired before removing traffic.", | |
1329 "format": "uint32", | |
1330 "type": "integer" | |
1331 } | 960 } |
1332 }, | 961 }, |
1333 "type": "object" | 962 "type": "object" |
1334 }, | 963 }, |
1335 "SourceReference": { | 964 "SourceReference": { |
1336 "description": "Reference to a particular snapshot of the source tre
e used to build and deploy the application.", | 965 "description": "Reference to a particular snapshot of the source tre
e used to build and deploy the application.", |
1337 "id": "SourceReference", | 966 "id": "SourceReference", |
1338 "properties": { | 967 "properties": { |
| 968 "repository": { |
| 969 "description": "URI string identifying the repository. Examp
le: \"https://source.developers.google.com/p/app-123/r/default\"", |
| 970 "type": "string" |
| 971 }, |
1339 "revisionId": { | 972 "revisionId": { |
1340 "description": "The canonical, persistent identifier of the
deployed revision. Aliases that include tags or branch names are not allowed. Ex
ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", | 973 "description": "The canonical, persistent identifier of the
deployed revision. Aliases that include tags or branch names are not allowed. Ex
ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", |
1341 "type": "string" | 974 "type": "string" |
1342 }, | |
1343 "repository": { | |
1344 "description": "URI string identifying the repository. Examp
le: \"https://source.developers.google.com/p/app-123/r/default\"", | |
1345 "type": "string" | |
1346 } | 975 } |
1347 }, | 976 }, |
1348 "type": "object" | 977 "type": "object" |
1349 }, | 978 }, |
1350 "DebugInstanceRequest": { | 979 "DebugInstanceRequest": { |
1351 "description": "Request message for Instances.DebugInstance.", | 980 "description": "Request message for Instances.DebugInstance.", |
1352 "id": "DebugInstanceRequest", | 981 "id": "DebugInstanceRequest", |
1353 "properties": { | 982 "properties": { |
1354 "sshKey": { | 983 "sshKey": { |
1355 "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).", | 984 "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).", |
1356 "type": "string" | 985 "type": "string" |
1357 } | 986 } |
1358 }, | 987 }, |
1359 "type": "object" | 988 "type": "object" |
1360 }, | 989 }, |
1361 "Library": { | 990 "Library": { |
1362 "description": "Third-party Python runtime library that is required
by the application.", | 991 "description": "Third-party Python runtime library that is required
by the application.", |
1363 "id": "Library", | 992 "id": "Library", |
1364 "properties": { | 993 "properties": { |
| 994 "version": { |
| 995 "description": "Version of the library to select, or \"lates
t\".", |
| 996 "type": "string" |
| 997 }, |
1365 "name": { | 998 "name": { |
1366 "description": "Name of the library. Example: \"django\".", | 999 "description": "Name of the library. Example: \"django\".", |
1367 "type": "string" | 1000 "type": "string" |
1368 }, | |
1369 "version": { | |
1370 "description": "Version of the library to select, or \"lates
t\".", | |
1371 "type": "string" | |
1372 } | 1001 } |
1373 }, | 1002 }, |
1374 "type": "object" | 1003 "type": "object" |
1375 }, | 1004 }, |
1376 "OperationMetadataV1Beta5": { | 1005 "OperationMetadataV1Beta5": { |
1377 "description": "Metadata for the given google.longrunning.Operation.
", | 1006 "description": "Metadata for the given google.longrunning.Operation.
", |
1378 "id": "OperationMetadataV1Beta5", | 1007 "id": "OperationMetadataV1Beta5", |
1379 "properties": { | 1008 "properties": { |
| 1009 "method": { |
| 1010 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", |
| 1011 "type": "string" |
| 1012 }, |
1380 "insertTime": { | 1013 "insertTime": { |
1381 "description": "Timestamp that this operation was created.@O
utputOnly", | 1014 "description": "Timestamp that this operation was created.@O
utputOnly", |
1382 "format": "google-datetime", | 1015 "format": "google-datetime", |
1383 "type": "string" | 1016 "type": "string" |
1384 }, | 1017 }, |
1385 "endTime": { | 1018 "endTime": { |
1386 "description": "Timestamp that this operation completed.@Out
putOnly", | 1019 "description": "Timestamp that this operation completed.@Out
putOnly", |
1387 "format": "google-datetime", | 1020 "format": "google-datetime", |
1388 "type": "string" | 1021 "type": "string" |
1389 }, | 1022 }, |
1390 "target": { | 1023 "target": { |
1391 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 1024 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
1392 "type": "string" | 1025 "type": "string" |
1393 }, | 1026 }, |
1394 "user": { | 1027 "user": { |
1395 "description": "User who requested this operation.@OutputOnl
y", | 1028 "description": "User who requested this operation.@OutputOnl
y", |
1396 "type": "string" | 1029 "type": "string" |
1397 }, | |
1398 "method": { | |
1399 "description": "API method name that initiated this operatio
n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly", | |
1400 "type": "string" | |
1401 } | 1030 } |
1402 }, | 1031 }, |
1403 "type": "object" | 1032 "type": "object" |
1404 }, | 1033 }, |
1405 "ListLocationsResponse": { | 1034 "ListLocationsResponse": { |
1406 "description": "The response message for Locations.ListLocations.", | 1035 "description": "The response message for Locations.ListLocations.", |
1407 "id": "ListLocationsResponse", | 1036 "id": "ListLocationsResponse", |
1408 "properties": { | 1037 "properties": { |
1409 "nextPageToken": { | 1038 "nextPageToken": { |
1410 "description": "The standard List next-page token.", | 1039 "description": "The standard List next-page token.", |
1411 "type": "string" | 1040 "type": "string" |
1412 }, | 1041 }, |
1413 "locations": { | 1042 "locations": { |
1414 "description": "A list of locations that matches the specifi
ed filter in the request.", | 1043 "description": "A list of locations that matches the specifi
ed filter in the request.", |
1415 "items": { | 1044 "items": { |
1416 "$ref": "Location" | 1045 "$ref": "Location" |
1417 }, | 1046 }, |
1418 "type": "array" | 1047 "type": "array" |
1419 } | 1048 } |
1420 }, | 1049 }, |
1421 "type": "object" | 1050 "type": "object" |
1422 }, | 1051 }, |
1423 "Version": { | 1052 "Version": { |
1424 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a service.", | 1053 "description": "A Version resource is a specific set of source code
and configuration files that are deployed into a service.", |
1425 "id": "Version", | 1054 "id": "Version", |
1426 "properties": { | 1055 "properties": { |
1427 "handlers": { | |
1428 "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.", | |
1429 "items": { | |
1430 "$ref": "UrlMap" | |
1431 }, | |
1432 "type": "array" | |
1433 }, | |
1434 "deployer": { | |
1435 "description": "Email address of the user who created this v
ersion.@OutputOnly", | |
1436 "type": "string" | |
1437 }, | |
1438 "automaticScaling": { | |
1439 "$ref": "AutomaticScaling", | |
1440 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." | |
1441 }, | |
1442 "diskUsageBytes": { | |
1443 "description": "Total size of version files hosted on App En
gine disk in bytes.@OutputOnly", | |
1444 "format": "int64", | |
1445 "type": "string" | |
1446 }, | |
1447 "healthCheck": { | |
1448 "$ref": "HealthCheck", | |
1449 "description": "Configures health checking for VM instances.
Unhealthy instances are be stopped and replaced with new instances. Only applic
able for VM runtimes.Only returned in GET requests if view=FULL is set." | |
1450 }, | |
1451 "threadsafe": { | |
1452 "description": "Whether multiple requests can be dispatched
to this version at once.", | |
1453 "type": "boolean" | |
1454 }, | |
1455 "manualScaling": { | |
1456 "$ref": "ManualScaling", | |
1457 "description": "A service with manual scaling runs continuou
sly, allowing you to perform complex initialization and rely on the state of its
memory over time." | |
1458 }, | |
1459 "name": { | |
1460 "description": "Full path to the Version resource in the API
. Example: apps/myapp/services/default/versions/v1.@OutputOnly", | |
1461 "type": "string" | |
1462 }, | |
1463 "apiConfig": { | 1056 "apiConfig": { |
1464 "$ref": "ApiConfigHandler", | 1057 "$ref": "ApiConfigHandler", |
1465 "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." | 1058 "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." |
1466 }, | 1059 }, |
1467 "endpointsApiService": { | 1060 "endpointsApiService": { |
1468 "$ref": "EndpointsApiService", | 1061 "$ref": "EndpointsApiService", |
1469 "description": "Cloud Endpoints configuration.If endpoints_a
pi_service is set, the Cloud Endpoints Extensible Service Proxy will be provided
to serve the API implemented by the app." | 1062 "description": "Cloud Endpoints configuration.If endpoints_a
pi_service is set, the Cloud Endpoints Extensible Service Proxy will be provided
to serve the API implemented by the app." |
1470 }, | 1063 }, |
1471 "vm": { | 1064 "vm": { |
1472 "description": "Whether to deploy this version in a containe
r on a virtual machine.", | 1065 "description": "Whether to deploy this version in a containe
r on a virtual machine.", |
(...skipping 10 matching lines...) Expand all Loading... |
1483 "SERVING", | 1076 "SERVING", |
1484 "STOPPED" | 1077 "STOPPED" |
1485 ], | 1078 ], |
1486 "enumDescriptions": [ | 1079 "enumDescriptions": [ |
1487 "Not specified.", | 1080 "Not specified.", |
1488 "Currently serving. Instances are created according to t
he scaling settings of the version.", | 1081 "Currently serving. Instances are created according to t
he scaling settings of the version.", |
1489 "Disabled from serving. No instances will be created and
the scaling settings are ignored until the state of the version changes to SERV
ING." | 1082 "Disabled from serving. No instances will be created and
the scaling settings are ignored until the state of the version changes to SERV
ING." |
1490 ], | 1083 ], |
1491 "type": "string" | 1084 "type": "string" |
1492 }, | 1085 }, |
1493 "runtimeApiVersion": { | |
1494 "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", | |
1495 "type": "string" | |
1496 }, | |
1497 "deployment": { | 1086 "deployment": { |
1498 "$ref": "Deployment", | 1087 "$ref": "Deployment", |
1499 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." | 1088 "description": "Code and application artifacts that make up
this version.Only returned in GET requests if view=FULL is set." |
1500 }, | 1089 }, |
| 1090 "runtimeApiVersion": { |
| 1091 "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", |
| 1092 "type": "string" |
| 1093 }, |
| 1094 "resources": { |
| 1095 "$ref": "Resources", |
| 1096 "description": "Machine resources for this version. Only app
licable for VM runtimes." |
| 1097 }, |
1501 "inboundServices": { | 1098 "inboundServices": { |
1502 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", | 1099 "description": "Before an application can receive email or X
MPP messages, the application must be configured to enable the service.", |
1503 "enumDescriptions": [ | 1100 "enumDescriptions": [ |
1504 "Not specified.", | 1101 "Not specified.", |
1505 "Allows an application to receive mail.", | 1102 "Allows an application to receive mail.", |
1506 "Allows an application to receive email-bound notificati
ons.", | 1103 "Allows an application to receive email-bound notificati
ons.", |
1507 "Allows an application to receive error stanzas.", | 1104 "Allows an application to receive error stanzas.", |
1508 "Allows an application to receive instant messages.", | 1105 "Allows an application to receive instant messages.", |
1509 "Allows an application to receive user subscription POST
s.", | 1106 "Allows an application to receive user subscription POST
s.", |
1510 "Allows an application to receive a user's chat presence
.", | 1107 "Allows an application to receive a user's chat presence
.", |
1511 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", | 1108 "Registers an application for notifications when a clien
t connects or disconnects from a channel.", |
1512 "Enables warmup requests." | 1109 "Enables warmup requests." |
1513 ], | 1110 ], |
1514 "items": { | 1111 "items": { |
1515 "enum": [ | 1112 "enum": [ |
1516 "INBOUND_SERVICE_UNSPECIFIED", | 1113 "INBOUND_SERVICE_UNSPECIFIED", |
1517 "INBOUND_SERVICE_MAIL", | 1114 "INBOUND_SERVICE_MAIL", |
1518 "INBOUND_SERVICE_MAIL_BOUNCE", | 1115 "INBOUND_SERVICE_MAIL_BOUNCE", |
1519 "INBOUND_SERVICE_XMPP_ERROR", | 1116 "INBOUND_SERVICE_XMPP_ERROR", |
1520 "INBOUND_SERVICE_XMPP_MESSAGE", | 1117 "INBOUND_SERVICE_XMPP_MESSAGE", |
1521 "INBOUND_SERVICE_XMPP_SUBSCRIBE", | 1118 "INBOUND_SERVICE_XMPP_SUBSCRIBE", |
1522 "INBOUND_SERVICE_XMPP_PRESENCE", | 1119 "INBOUND_SERVICE_XMPP_PRESENCE", |
1523 "INBOUND_SERVICE_CHANNEL_PRESENCE", | 1120 "INBOUND_SERVICE_CHANNEL_PRESENCE", |
1524 "INBOUND_SERVICE_WARMUP" | 1121 "INBOUND_SERVICE_WARMUP" |
1525 ], | 1122 ], |
1526 "type": "string" | 1123 "type": "string" |
1527 }, | 1124 }, |
1528 "type": "array" | 1125 "type": "array" |
1529 }, | 1126 }, |
1530 "resources": { | |
1531 "$ref": "Resources", | |
1532 "description": "Machine resources for this version. Only app
licable for VM runtimes." | |
1533 }, | |
1534 "errorHandlers": { | 1127 "errorHandlers": { |
1535 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", | 1128 "description": "Custom static error pages. Limited to 10KB p
er page.Only returned in GET requests if view=FULL is set.", |
1536 "items": { | 1129 "items": { |
1537 "$ref": "ErrorHandler" | 1130 "$ref": "ErrorHandler" |
1538 }, | 1131 }, |
1539 "type": "array" | 1132 "type": "array" |
1540 }, | 1133 }, |
1541 "defaultExpiration": { | 1134 "defaultExpiration": { |
1542 "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.", | 1135 "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.", |
1543 "format": "google-duration", | 1136 "format": "google-duration", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1585 "betaSettings": { | 1178 "betaSettings": { |
1586 "additionalProperties": { | 1179 "additionalProperties": { |
1587 "type": "string" | 1180 "type": "string" |
1588 }, | 1181 }, |
1589 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", | 1182 "description": "Metadata settings that are supplied to this
version to enable beta runtime features.", |
1590 "type": "object" | 1183 "type": "object" |
1591 }, | 1184 }, |
1592 "env": { | 1185 "env": { |
1593 "description": "App Engine execution environment to use for
this version.Defaults to 1.", | 1186 "description": "App Engine execution environment to use for
this version.Defaults to 1.", |
1594 "type": "string" | 1187 "type": "string" |
| 1188 }, |
| 1189 "handlers": { |
| 1190 "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.", |
| 1191 "items": { |
| 1192 "$ref": "UrlMap" |
| 1193 }, |
| 1194 "type": "array" |
| 1195 }, |
| 1196 "deployer": { |
| 1197 "description": "Email address of the user who created this v
ersion.@OutputOnly", |
| 1198 "type": "string" |
| 1199 }, |
| 1200 "automaticScaling": { |
| 1201 "$ref": "AutomaticScaling", |
| 1202 "description": "Automatic scaling is based on request rate,
response latencies, and other application metrics." |
| 1203 }, |
| 1204 "diskUsageBytes": { |
| 1205 "description": "Total size of version files hosted on App En
gine disk in bytes.@OutputOnly", |
| 1206 "format": "int64", |
| 1207 "type": "string" |
| 1208 }, |
| 1209 "healthCheck": { |
| 1210 "$ref": "HealthCheck", |
| 1211 "description": "Configures health checking for VM instances.
Unhealthy instances are be stopped and replaced with new instances. Only applic
able for VM runtimes.Only returned in GET requests if view=FULL is set." |
| 1212 }, |
| 1213 "threadsafe": { |
| 1214 "description": "Whether multiple requests can be dispatched
to this version at once.", |
| 1215 "type": "boolean" |
| 1216 }, |
| 1217 "manualScaling": { |
| 1218 "$ref": "ManualScaling", |
| 1219 "description": "A service with manual scaling runs continuou
sly, allowing you to perform complex initialization and rely on the state of its
memory over time." |
| 1220 }, |
| 1221 "name": { |
| 1222 "description": "Full path to the Version resource in the API
. Example: apps/myapp/services/default/versions/v1.@OutputOnly", |
| 1223 "type": "string" |
1595 } | 1224 } |
1596 }, | 1225 }, |
1597 "type": "object" | 1226 "type": "object" |
1598 }, | 1227 }, |
1599 "ContainerInfo": { | 1228 "ContainerInfo": { |
1600 "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.", | 1229 "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.", |
1601 "id": "ContainerInfo", | 1230 "id": "ContainerInfo", |
1602 "properties": { | 1231 "properties": { |
1603 "image": { | 1232 "image": { |
1604 "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\"
", | 1233 "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\"
", |
(...skipping 12 matching lines...) Expand all Loading... |
1617 "type": "integer" | 1246 "type": "integer" |
1618 }, | 1247 }, |
1619 "targetRequestCountPerSec": { | 1248 "targetRequestCountPerSec": { |
1620 "description": "Target requests per second.", | 1249 "description": "Target requests per second.", |
1621 "format": "int32", | 1250 "format": "int32", |
1622 "type": "integer" | 1251 "type": "integer" |
1623 } | 1252 } |
1624 }, | 1253 }, |
1625 "type": "object" | 1254 "type": "object" |
1626 }, | 1255 }, |
| 1256 "EndpointsApiService": { |
| 1257 "description": "Cloud Endpoints (https://cloud.google.com/endpoints)
configuration. The Endpoints API Service provides tooling for serving Open API
and gRPC endpoints via an NGINX proxy.The fields here refer to the name and conf
iguration id of a \"service\" resource in the Service Management API (https://cl
oud.google.com/service-management/overview).", |
| 1258 "id": "EndpointsApiService", |
| 1259 "properties": { |
| 1260 "configId": { |
| 1261 "description": "Endpoints service configuration id as specif
ied by the Service Management API. For example \"2016-09-19r1\"", |
| 1262 "type": "string" |
| 1263 }, |
| 1264 "name": { |
| 1265 "description": "Endpoints service name which is the name of
the \"service\" resource in the Service Management API. For example \"myapi.endp
oints.myproject.cloud.goog\"", |
| 1266 "type": "string" |
| 1267 } |
| 1268 }, |
| 1269 "type": "object" |
| 1270 }, |
1627 "UrlMap": { | 1271 "UrlMap": { |
1628 "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.", | 1272 "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.", |
1629 "id": "UrlMap", | 1273 "id": "UrlMap", |
1630 "properties": { | 1274 "properties": { |
| 1275 "script": { |
| 1276 "$ref": "ScriptHandler", |
| 1277 "description": "Executes a script to handle the request that
matches this URL pattern." |
| 1278 }, |
| 1279 "urlRegex": { |
| 1280 "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.", |
| 1281 "type": "string" |
| 1282 }, |
| 1283 "login": { |
| 1284 "description": "Level of login required to access this resou
rce.", |
| 1285 "enum": [ |
| 1286 "LOGIN_UNSPECIFIED", |
| 1287 "LOGIN_OPTIONAL", |
| 1288 "LOGIN_ADMIN", |
| 1289 "LOGIN_REQUIRED" |
| 1290 ], |
| 1291 "enumDescriptions": [ |
| 1292 "Not specified. LOGIN_OPTIONAL is assumed.", |
| 1293 "Does not require that the user is signed in.", |
| 1294 "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.", |
| 1295 "If the user has signed in, the handler proceeds normall
y. Otherwise, the action given in auth_fail_action is taken." |
| 1296 ], |
| 1297 "type": "string" |
| 1298 }, |
| 1299 "apiEndpoint": { |
| 1300 "$ref": "ApiEndpointHandler", |
| 1301 "description": "Uses API Endpoints to handle requests." |
| 1302 }, |
| 1303 "staticFiles": { |
| 1304 "$ref": "StaticFilesHandler", |
| 1305 "description": "Returns the contents of a file, such as an i
mage, as the response." |
| 1306 }, |
| 1307 "redirectHttpResponseCode": { |
| 1308 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", |
| 1309 "enum": [ |
| 1310 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", |
| 1311 "REDIRECT_HTTP_RESPONSE_CODE_301", |
| 1312 "REDIRECT_HTTP_RESPONSE_CODE_302", |
| 1313 "REDIRECT_HTTP_RESPONSE_CODE_303", |
| 1314 "REDIRECT_HTTP_RESPONSE_CODE_307" |
| 1315 ], |
| 1316 "enumDescriptions": [ |
| 1317 "Not specified. 302 is assumed.", |
| 1318 "301 Moved Permanently code.", |
| 1319 "302 Moved Temporarily code.", |
| 1320 "303 See Other code.", |
| 1321 "307 Temporary Redirect code." |
| 1322 ], |
| 1323 "type": "string" |
| 1324 }, |
1631 "securityLevel": { | 1325 "securityLevel": { |
1632 "description": "Security (HTTPS) enforcement for this URL.", | 1326 "description": "Security (HTTPS) enforcement for this URL.", |
1633 "enum": [ | 1327 "enum": [ |
1634 "SECURE_UNSPECIFIED", | 1328 "SECURE_UNSPECIFIED", |
1635 "SECURE_DEFAULT", | 1329 "SECURE_DEFAULT", |
1636 "SECURE_NEVER", | 1330 "SECURE_NEVER", |
1637 "SECURE_OPTIONAL", | 1331 "SECURE_OPTIONAL", |
1638 "SECURE_ALWAYS" | 1332 "SECURE_ALWAYS" |
1639 ], | 1333 ], |
1640 "enumDescriptions": [ | 1334 "enumDescriptions": [ |
(...skipping 11 matching lines...) Expand all Loading... |
1652 "AUTH_FAIL_ACTION_UNSPECIFIED", | 1346 "AUTH_FAIL_ACTION_UNSPECIFIED", |
1653 "AUTH_FAIL_ACTION_REDIRECT", | 1347 "AUTH_FAIL_ACTION_REDIRECT", |
1654 "AUTH_FAIL_ACTION_UNAUTHORIZED" | 1348 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
1655 ], | 1349 ], |
1656 "enumDescriptions": [ | 1350 "enumDescriptions": [ |
1657 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | 1351 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
1658 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | 1352 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
1659 "Rejects request with an401 HTTP status code and an erro
r message." | 1353 "Rejects request with an401 HTTP status code and an erro
r message." |
1660 ], | 1354 ], |
1661 "type": "string" | 1355 "type": "string" |
1662 }, | 1356 } |
| 1357 }, |
| 1358 "type": "object" |
| 1359 }, |
| 1360 "ApiConfigHandler": { |
| 1361 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", |
| 1362 "id": "ApiConfigHandler", |
| 1363 "properties": { |
1663 "script": { | 1364 "script": { |
1664 "$ref": "ScriptHandler", | 1365 "description": "Path to the script from the application root
directory.", |
1665 "description": "Executes a script to handle the request that
matches this URL pattern." | |
1666 }, | |
1667 "urlRegex": { | |
1668 "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.", | |
1669 "type": "string" | 1366 "type": "string" |
1670 }, | 1367 }, |
1671 "login": { | 1368 "login": { |
1672 "description": "Level of login required to access this resou
rce.", | 1369 "description": "Level of login required to access this resou
rce. Defaults to optional.", |
1673 "enum": [ | 1370 "enum": [ |
1674 "LOGIN_UNSPECIFIED", | 1371 "LOGIN_UNSPECIFIED", |
1675 "LOGIN_OPTIONAL", | 1372 "LOGIN_OPTIONAL", |
1676 "LOGIN_ADMIN", | 1373 "LOGIN_ADMIN", |
1677 "LOGIN_REQUIRED" | 1374 "LOGIN_REQUIRED" |
1678 ], | 1375 ], |
1679 "enumDescriptions": [ | 1376 "enumDescriptions": [ |
1680 "Not specified. LOGIN_OPTIONAL is assumed.", | 1377 "Not specified. LOGIN_OPTIONAL is assumed.", |
1681 "Does not require that the user is signed in.", | 1378 "Does not require that the user is signed in.", |
1682 "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.", | 1379 "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.", |
1683 "If the user has signed in, the handler proceeds normall
y. Otherwise, the action given in auth_fail_action is taken." | 1380 "If the user has signed in, the handler proceeds normall
y. Otherwise, the action given in auth_fail_action is taken." |
1684 ], | 1381 ], |
1685 "type": "string" | 1382 "type": "string" |
1686 }, | 1383 }, |
1687 "apiEndpoint": { | 1384 "url": { |
1688 "$ref": "ApiEndpointHandler", | 1385 "description": "URL to serve the endpoint at.", |
1689 "description": "Uses API Endpoints to handle requests." | 1386 "type": "string" |
1690 }, | 1387 }, |
1691 "staticFiles": { | |
1692 "$ref": "StaticFilesHandler", | |
1693 "description": "Returns the contents of a file, such as an i
mage, as the response." | |
1694 }, | |
1695 "redirectHttpResponseCode": { | |
1696 "description": "30x code to use when performing redirects fo
r the secure field. Defaults to 302.", | |
1697 "enum": [ | |
1698 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", | |
1699 "REDIRECT_HTTP_RESPONSE_CODE_301", | |
1700 "REDIRECT_HTTP_RESPONSE_CODE_302", | |
1701 "REDIRECT_HTTP_RESPONSE_CODE_303", | |
1702 "REDIRECT_HTTP_RESPONSE_CODE_307" | |
1703 ], | |
1704 "enumDescriptions": [ | |
1705 "Not specified. 302 is assumed.", | |
1706 "301 Moved Permanently code.", | |
1707 "302 Moved Temporarily code.", | |
1708 "303 See Other code.", | |
1709 "307 Temporary Redirect code." | |
1710 ], | |
1711 "type": "string" | |
1712 } | |
1713 }, | |
1714 "type": "object" | |
1715 }, | |
1716 "EndpointsApiService": { | |
1717 "description": "Cloud Endpoints (https://cloud.google.com/endpoints)
configuration. The Endpoints API Service provides tooling for serving Open API
and gRPC endpoints via an NGINX proxy.The fields here refer to the name and conf
iguration id of a \"service\" resource in the Service Management API (https://cl
oud.google.com/service-management/overview).", | |
1718 "id": "EndpointsApiService", | |
1719 "properties": { | |
1720 "configId": { | |
1721 "description": "Endpoints service configuration id as specif
ied by the Service Management API. For example \"2016-09-19r1\"", | |
1722 "type": "string" | |
1723 }, | |
1724 "name": { | |
1725 "description": "Endpoints service name which is the name of
the \"service\" resource in the Service Management API. For example \"myapi.endp
oints.myproject.cloud.goog\"", | |
1726 "type": "string" | |
1727 } | |
1728 }, | |
1729 "type": "object" | |
1730 }, | |
1731 "ApiConfigHandler": { | |
1732 "description": "Google Cloud Endpoints (https://cloud.google.com/app
engine/docs/python/endpoints/) configuration for API handlers.", | |
1733 "id": "ApiConfigHandler", | |
1734 "properties": { | |
1735 "securityLevel": { | 1388 "securityLevel": { |
1736 "description": "Security (HTTPS) enforcement for this URL.", | 1389 "description": "Security (HTTPS) enforcement for this URL.", |
1737 "enum": [ | 1390 "enum": [ |
1738 "SECURE_UNSPECIFIED", | 1391 "SECURE_UNSPECIFIED", |
1739 "SECURE_DEFAULT", | 1392 "SECURE_DEFAULT", |
1740 "SECURE_NEVER", | 1393 "SECURE_NEVER", |
1741 "SECURE_OPTIONAL", | 1394 "SECURE_OPTIONAL", |
1742 "SECURE_ALWAYS" | 1395 "SECURE_ALWAYS" |
1743 ], | 1396 ], |
1744 "enumDescriptions": [ | 1397 "enumDescriptions": [ |
(...skipping 11 matching lines...) Expand all Loading... |
1756 "AUTH_FAIL_ACTION_UNSPECIFIED", | 1409 "AUTH_FAIL_ACTION_UNSPECIFIED", |
1757 "AUTH_FAIL_ACTION_REDIRECT", | 1410 "AUTH_FAIL_ACTION_REDIRECT", |
1758 "AUTH_FAIL_ACTION_UNAUTHORIZED" | 1411 "AUTH_FAIL_ACTION_UNAUTHORIZED" |
1759 ], | 1412 ], |
1760 "enumDescriptions": [ | 1413 "enumDescriptions": [ |
1761 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", | 1414 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", |
1762 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, | 1415 "Redirects user to \"accounts.google.com\". The user is
redirected back to the application URL after signing in or creating an account."
, |
1763 "Rejects request with an401 HTTP status code and an erro
r message." | 1416 "Rejects request with an401 HTTP status code and an erro
r message." |
1764 ], | 1417 ], |
1765 "type": "string" | 1418 "type": "string" |
1766 }, | |
1767 "script": { | |
1768 "description": "Path to the script from the application root
directory.", | |
1769 "type": "string" | |
1770 }, | |
1771 "login": { | |
1772 "description": "Level of login required to access this resou
rce. Defaults to optional.", | |
1773 "enum": [ | |
1774 "LOGIN_UNSPECIFIED", | |
1775 "LOGIN_OPTIONAL", | |
1776 "LOGIN_ADMIN", | |
1777 "LOGIN_REQUIRED" | |
1778 ], | |
1779 "enumDescriptions": [ | |
1780 "Not specified. LOGIN_OPTIONAL is assumed.", | |
1781 "Does not require that the user is signed in.", | |
1782 "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.", | |
1783 "If the user has signed in, the handler proceeds normall
y. Otherwise, the action given in auth_fail_action is taken." | |
1784 ], | |
1785 "type": "string" | |
1786 }, | |
1787 "url": { | |
1788 "description": "URL to serve the endpoint at.", | |
1789 "type": "string" | |
1790 } | 1419 } |
1791 }, | 1420 }, |
1792 "type": "object" | 1421 "type": "object" |
1793 }, | 1422 }, |
1794 "Operation": { | 1423 "Operation": { |
1795 "description": "This resource represents a long-running operation th
at is the result of a network API call.", | 1424 "description": "This resource represents a long-running operation th
at is the result of a network API call.", |
1796 "id": "Operation", | 1425 "id": "Operation", |
1797 "properties": { | 1426 "properties": { |
| 1427 "response": { |
| 1428 "additionalProperties": { |
| 1429 "description": "Properties of the object. Contains field
@type with type URL.", |
| 1430 "type": "any" |
| 1431 }, |
| 1432 "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.", |
| 1433 "type": "object" |
| 1434 }, |
| 1435 "name": { |
| 1436 "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.", |
| 1437 "type": "string" |
| 1438 }, |
1798 "error": { | 1439 "error": { |
1799 "$ref": "Status", | 1440 "$ref": "Status", |
1800 "description": "The error result of the operation in case of
failure or cancellation." | 1441 "description": "The error result of the operation in case of
failure or cancellation." |
1801 }, | 1442 }, |
1802 "metadata": { | 1443 "metadata": { |
1803 "additionalProperties": { | 1444 "additionalProperties": { |
1804 "description": "Properties of the object. Contains field
@type with type URL.", | 1445 "description": "Properties of the object. Contains field
@type with type URL.", |
1805 "type": "any" | 1446 "type": "any" |
1806 }, | 1447 }, |
1807 "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.", | 1448 "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.", |
1808 "type": "object" | 1449 "type": "object" |
1809 }, | 1450 }, |
1810 "done": { | 1451 "done": { |
1811 "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.", | 1452 "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.", |
1812 "type": "boolean" | 1453 "type": "boolean" |
1813 }, | |
1814 "response": { | |
1815 "additionalProperties": { | |
1816 "description": "Properties of the object. Contains field
@type with type URL.", | |
1817 "type": "any" | |
1818 }, | |
1819 "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.", | |
1820 "type": "object" | |
1821 }, | |
1822 "name": { | |
1823 "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.", | |
1824 "type": "string" | |
1825 } | 1454 } |
1826 }, | 1455 }, |
1827 "type": "object" | 1456 "type": "object" |
1828 }, | 1457 }, |
1829 "FileInfo": { | 1458 "FileInfo": { |
1830 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", | 1459 "description": "Single source file that is part of the version to be
deployed. Each source file that is deployed must be specified separately.", |
1831 "id": "FileInfo", | 1460 "id": "FileInfo", |
1832 "properties": { | 1461 "properties": { |
1833 "sha1Sum": { | 1462 "sha1Sum": { |
1834 "description": "The SHA1 hash of the file, in hex.", | 1463 "description": "The SHA1 hash of the file, in hex.", |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1892 "description": "Path to the script from the application root
directory.", | 1521 "description": "Path to the script from the application root
directory.", |
1893 "type": "string" | 1522 "type": "string" |
1894 } | 1523 } |
1895 }, | 1524 }, |
1896 "type": "object" | 1525 "type": "object" |
1897 }, | 1526 }, |
1898 "DiskUtilization": { | 1527 "DiskUtilization": { |
1899 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", | 1528 "description": "Target scaling by disk usage. Only applicable for VM
runtimes.", |
1900 "id": "DiskUtilization", | 1529 "id": "DiskUtilization", |
1901 "properties": { | 1530 "properties": { |
| 1531 "targetReadOpsPerSec": { |
| 1532 "description": "Target ops read per second.", |
| 1533 "format": "int32", |
| 1534 "type": "integer" |
| 1535 }, |
1902 "targetReadBytesPerSec": { | 1536 "targetReadBytesPerSec": { |
1903 "description": "Target bytes read per second.", | 1537 "description": "Target bytes read per second.", |
1904 "format": "int32", | 1538 "format": "int32", |
1905 "type": "integer" | 1539 "type": "integer" |
1906 }, | 1540 }, |
1907 "targetWriteOpsPerSec": { | 1541 "targetWriteOpsPerSec": { |
1908 "description": "Target ops written per second.", | 1542 "description": "Target ops written per second.", |
1909 "format": "int32", | 1543 "format": "int32", |
1910 "type": "integer" | 1544 "type": "integer" |
1911 }, | 1545 }, |
1912 "targetWriteBytesPerSec": { | 1546 "targetWriteBytesPerSec": { |
1913 "description": "Target bytes written per second.", | 1547 "description": "Target bytes written per second.", |
1914 "format": "int32", | 1548 "format": "int32", |
1915 "type": "integer" | 1549 "type": "integer" |
1916 }, | |
1917 "targetReadOpsPerSec": { | |
1918 "description": "Target ops read per second.", | |
1919 "format": "int32", | |
1920 "type": "integer" | |
1921 } | 1550 } |
1922 }, | 1551 }, |
1923 "type": "object" | 1552 "type": "object" |
1924 }, | 1553 }, |
1925 "BasicScaling": { | 1554 "BasicScaling": { |
1926 "description": "A service with basic scaling will create an instance
when the application receives a request. The instance will be turned down when
the app becomes idle. Basic scaling is ideal for work that is intermittent or dr
iven by user activity.", | 1555 "description": "A service with basic scaling will create an instance
when the application receives a request. The instance will be turned down when
the app becomes idle. Basic scaling is ideal for work that is intermittent or dr
iven by user activity.", |
1927 "id": "BasicScaling", | 1556 "id": "BasicScaling", |
1928 "properties": { | 1557 "properties": { |
1929 "maxInstances": { | 1558 "maxInstances": { |
1930 "description": "Maximum number of instances to create for th
is version.", | 1559 "description": "Maximum number of instances to create for th
is version.", |
1931 "format": "int32", | 1560 "format": "int32", |
1932 "type": "integer" | 1561 "type": "integer" |
1933 }, | 1562 }, |
1934 "idleTimeout": { | 1563 "idleTimeout": { |
1935 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", | 1564 "description": "Duration of time after the last request that
an instance must wait before the instance is shut down.", |
1936 "format": "google-duration", | 1565 "format": "google-duration", |
1937 "type": "string" | 1566 "type": "string" |
1938 } | 1567 } |
1939 }, | 1568 }, |
1940 "type": "object" | 1569 "type": "object" |
1941 }, | 1570 }, |
1942 "OperationMetadataExperimental": { | 1571 "OperationMetadataExperimental": { |
1943 "description": "Metadata for the given google.longrunning.Operation.
", | 1572 "description": "Metadata for the given google.longrunning.Operation.
", |
1944 "id": "OperationMetadataExperimental", | 1573 "id": "OperationMetadataExperimental", |
1945 "properties": { | 1574 "properties": { |
| 1575 "method": { |
| 1576 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", |
| 1577 "type": "string" |
| 1578 }, |
1946 "insertTime": { | 1579 "insertTime": { |
1947 "description": "Time that this operation was created.@Output
Only", | 1580 "description": "Time that this operation was created.@Output
Only", |
1948 "format": "google-datetime", | 1581 "format": "google-datetime", |
1949 "type": "string" | 1582 "type": "string" |
1950 }, | 1583 }, |
1951 "endTime": { | 1584 "endTime": { |
1952 "description": "Time that this operation completed.@OutputOn
ly", | 1585 "description": "Time that this operation completed.@OutputOn
ly", |
1953 "format": "google-datetime", | 1586 "format": "google-datetime", |
1954 "type": "string" | 1587 "type": "string" |
1955 }, | 1588 }, |
1956 "target": { | 1589 "target": { |
1957 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", | 1590 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly", |
1958 "type": "string" | 1591 "type": "string" |
1959 }, | 1592 }, |
1960 "user": { | 1593 "user": { |
1961 "description": "User who requested this operation.@OutputOnl
y", | 1594 "description": "User who requested this operation.@OutputOnl
y", |
1962 "type": "string" | 1595 "type": "string" |
1963 }, | |
1964 "method": { | |
1965 "description": "API method that initiated this operation. Ex
ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl
y", | |
1966 "type": "string" | |
1967 } | 1596 } |
1968 }, | 1597 }, |
1969 "type": "object" | 1598 "type": "object" |
1970 }, | 1599 }, |
1971 "CpuUtilization": { | 1600 "CpuUtilization": { |
1972 "description": "Target scaling by CPU usage.", | 1601 "description": "Target scaling by CPU usage.", |
1973 "id": "CpuUtilization", | 1602 "id": "CpuUtilization", |
1974 "properties": { | 1603 "properties": { |
1975 "aggregationWindowLength": { | 1604 "aggregationWindowLength": { |
1976 "description": "Period of time over which CPU utilization is
calculated.", | 1605 "description": "Period of time over which CPU utilization is
calculated.", |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2028 "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", | 1657 "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", |
2029 "type": "string" | 1658 "type": "string" |
2030 }, | 1659 }, |
2031 "oauth2ClientId": { | 1660 "oauth2ClientId": { |
2032 "description": "OAuth2 client ID to use for the authenticati
on flow.", | 1661 "description": "OAuth2 client ID to use for the authenticati
on flow.", |
2033 "type": "string" | 1662 "type": "string" |
2034 } | 1663 } |
2035 }, | 1664 }, |
2036 "type": "object" | 1665 "type": "object" |
2037 }, | 1666 }, |
| 1667 "ManualScaling": { |
| 1668 "description": "A service with manual scaling runs continuously, all
owing you to perform complex initialization and rely on the state of its memory
over time.", |
| 1669 "id": "ManualScaling", |
| 1670 "properties": { |
| 1671 "instances": { |
| 1672 "description": "Number of instances to assign to the service
at the start. This number can later be altered by using the Modules API (https:
//cloud.google.com/appengine/docs/python/modules/functions) set_num_instances()
function.", |
| 1673 "format": "int32", |
| 1674 "type": "integer" |
| 1675 } |
| 1676 }, |
| 1677 "type": "object" |
| 1678 }, |
2038 "TrafficSplit": { | 1679 "TrafficSplit": { |
2039 "description": "Traffic routing configuration for versions within a
single service. Traffic splits define how traffic directed to the service is ass
igned to versions.", | 1680 "description": "Traffic routing configuration for versions within a
single service. Traffic splits define how traffic directed to the service is ass
igned to versions.", |
2040 "id": "TrafficSplit", | 1681 "id": "TrafficSplit", |
2041 "properties": { | 1682 "properties": { |
2042 "allocations": { | 1683 "allocations": { |
2043 "additionalProperties": { | 1684 "additionalProperties": { |
2044 "format": "double", | 1685 "format": "double", |
2045 "type": "number" | 1686 "type": "number" |
2046 }, | 1687 }, |
2047 "description": "Mapping from version IDs within the service
to fractional (0.000, 1] allocations of traffic for that version. Each version c
an be specified only once, but some versions in the service may not have any tra
ffic allocation. Services that have traffic allocated cannot be deleted until ei
ther the service is deleted or their traffic allocation is removed. Allocations
must sum to 1. Up to two decimal place precision is supported for IP-based split
s and up to three decimal places is supported for cookie-based splits.", | 1688 "description": "Mapping from version IDs within the service
to fractional (0.000, 1] allocations of traffic for that version. Each version c
an be specified only once, but some versions in the service may not have any tra
ffic allocation. Services that have traffic allocated cannot be deleted until ei
ther the service is deleted or their traffic allocation is removed. Allocations
must sum to 1. Up to two decimal place precision is supported for IP-based split
s and up to three decimal places is supported for cookie-based splits.", |
2048 "type": "object" | 1689 "type": "object" |
2049 }, | 1690 }, |
2050 "shardBy": { | 1691 "shardBy": { |
2051 "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.", | 1692 "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.", |
2052 "enum": [ | 1693 "enum": [ |
2053 "UNSPECIFIED", | 1694 "UNSPECIFIED", |
2054 "COOKIE", | 1695 "COOKIE", |
2055 "IP" | 1696 "IP" |
2056 ], | 1697 ], |
2057 "enumDescriptions": [ | 1698 "enumDescriptions": [ |
2058 "Diversion method unspecified.", | 1699 "Diversion method unspecified.", |
2059 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or else no diversion will
occur.", | 1700 "Diversion based on a specially named cookie, \"GOOGAPPU
ID.\" The cookie must be set by the application itself or else no diversion will
occur.", |
2060 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." | 1701 "Diversion based on applying the modulus operation to a
fingerprint of the IP address." |
2061 ], | 1702 ], |
2062 "type": "string" | 1703 "type": "string" |
2063 } | 1704 } |
2064 }, | 1705 }, |
2065 "type": "object" | 1706 "type": "object" |
2066 }, | 1707 }, |
2067 "ManualScaling": { | |
2068 "description": "A service with manual scaling runs continuously, all
owing you to perform complex initialization and rely on the state of its memory
over time.", | |
2069 "id": "ManualScaling", | |
2070 "properties": { | |
2071 "instances": { | |
2072 "description": "Number of instances to assign to the service
at the start. This number can later be altered by using the Modules API (https:
//cloud.google.com/appengine/docs/python/modules/functions) set_num_instances()
function.", | |
2073 "format": "int32", | |
2074 "type": "integer" | |
2075 } | |
2076 }, | |
2077 "type": "object" | |
2078 }, | |
2079 "LocationMetadata": { | 1708 "LocationMetadata": { |
2080 "description": "Metadata for the given google.cloud.location.Locatio
n.", | 1709 "description": "Metadata for the given google.cloud.location.Locatio
n.", |
2081 "id": "LocationMetadata", | 1710 "id": "LocationMetadata", |
2082 "properties": { | 1711 "properties": { |
| 1712 "standardEnvironmentAvailable": { |
| 1713 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", |
| 1714 "type": "boolean" |
| 1715 }, |
2083 "flexibleEnvironmentAvailable": { | 1716 "flexibleEnvironmentAvailable": { |
2084 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", | 1717 "description": "App Engine Flexible Environment is available
in the given location.@OutputOnly", |
2085 "type": "boolean" | 1718 "type": "boolean" |
2086 }, | |
2087 "standardEnvironmentAvailable": { | |
2088 "description": "App Engine Standard Environment is available
in the given location.@OutputOnly", | |
2089 "type": "boolean" | |
2090 } | 1719 } |
2091 }, | 1720 }, |
2092 "type": "object" | 1721 "type": "object" |
2093 }, | 1722 }, |
2094 "OperationMetadataV1Beta": { | 1723 "OperationMetadataV1Beta": { |
2095 "description": "Metadata for the given google.longrunning.Operation.
", | 1724 "description": "Metadata for the given google.longrunning.Operation.
", |
2096 "id": "OperationMetadataV1Beta", | 1725 "id": "OperationMetadataV1Beta", |
2097 "properties": { | 1726 "properties": { |
2098 "warning": { | 1727 "warning": { |
2099 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | 1728 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 1729 "items": { |
| 1730 "type": "string" |
| 1731 }, |
| 1732 "type": "array" |
| 1733 }, |
| 1734 "insertTime": { |
| 1735 "description": "Time that this operation was created.@Output
Only", |
| 1736 "format": "google-datetime", |
| 1737 "type": "string" |
| 1738 }, |
| 1739 "user": { |
| 1740 "description": "User who requested this operation.@OutputOnl
y", |
| 1741 "type": "string" |
| 1742 }, |
| 1743 "target": { |
| 1744 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 1745 "type": "string" |
| 1746 }, |
| 1747 "ephemeralMessage": { |
| 1748 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 1749 "type": "string" |
| 1750 }, |
| 1751 "method": { |
| 1752 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", |
| 1753 "type": "string" |
| 1754 }, |
| 1755 "endTime": { |
| 1756 "description": "Time that this operation completed.@OutputOn
ly", |
| 1757 "format": "google-datetime", |
| 1758 "type": "string" |
| 1759 } |
| 1760 }, |
| 1761 "type": "object" |
| 1762 }, |
| 1763 "ListServicesResponse": { |
| 1764 "description": "Response message for Services.ListServices.", |
| 1765 "id": "ListServicesResponse", |
| 1766 "properties": { |
| 1767 "nextPageToken": { |
| 1768 "description": "Continuation token for fetching the next pag
e of results.", |
| 1769 "type": "string" |
| 1770 }, |
| 1771 "services": { |
| 1772 "description": "The services belonging to the requested appl
ication.", |
| 1773 "items": { |
| 1774 "$ref": "Service" |
| 1775 }, |
| 1776 "type": "array" |
| 1777 } |
| 1778 }, |
| 1779 "type": "object" |
| 1780 }, |
| 1781 "Deployment": { |
| 1782 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", |
| 1783 "id": "Deployment", |
| 1784 "properties": { |
| 1785 "sourceReferences": { |
| 1786 "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.", |
| 1787 "items": { |
| 1788 "$ref": "SourceReference" |
| 1789 }, |
| 1790 "type": "array" |
| 1791 }, |
| 1792 "container": { |
| 1793 "$ref": "ContainerInfo", |
| 1794 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." |
| 1795 }, |
| 1796 "files": { |
| 1797 "additionalProperties": { |
| 1798 "$ref": "FileInfo" |
| 1799 }, |
| 1800 "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.", |
| 1801 "type": "object" |
| 1802 } |
| 1803 }, |
| 1804 "type": "object" |
| 1805 }, |
| 1806 "Resources": { |
| 1807 "description": "Machine resources for a version.", |
| 1808 "id": "Resources", |
| 1809 "properties": { |
| 1810 "volumes": { |
| 1811 "description": "Volumes mounted within the app container.", |
| 1812 "items": { |
| 1813 "$ref": "Volume" |
| 1814 }, |
| 1815 "type": "array" |
| 1816 }, |
| 1817 "diskGb": { |
| 1818 "description": "Disk size (GB) needed.", |
| 1819 "format": "double", |
| 1820 "type": "number" |
| 1821 }, |
| 1822 "memoryGb": { |
| 1823 "description": "Memory (GB) needed.", |
| 1824 "format": "double", |
| 1825 "type": "number" |
| 1826 }, |
| 1827 "cpu": { |
| 1828 "description": "Number of CPU cores needed.", |
| 1829 "format": "double", |
| 1830 "type": "number" |
| 1831 } |
| 1832 }, |
| 1833 "type": "object" |
| 1834 }, |
| 1835 "Service": { |
| 1836 "description": "A Service resource is a logical component of an appl
ication that can share state and communicate in a secure fashion with other serv
ices. For example, an application that handles customer requests might include s
eparate services to handle other tasks such as API requests from mobile devices
or backend data analysis. Each service has a collection of versions that define
a specific set of code used to implement the functionality of that service.", |
| 1837 "id": "Service", |
| 1838 "properties": { |
| 1839 "name": { |
| 1840 "description": "Full path to the Service resource in the API
. Example: apps/myapp/services/default.@OutputOnly", |
| 1841 "type": "string" |
| 1842 }, |
| 1843 "split": { |
| 1844 "$ref": "TrafficSplit", |
| 1845 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the service." |
| 1846 }, |
| 1847 "id": { |
| 1848 "description": "Relative name of the service within the appl
ication. Example: default.@OutputOnly", |
| 1849 "type": "string" |
| 1850 } |
| 1851 }, |
| 1852 "type": "object" |
| 1853 }, |
| 1854 "Volume": { |
| 1855 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", |
| 1856 "id": "Volume", |
| 1857 "properties": { |
| 1858 "sizeGb": { |
| 1859 "description": "Volume size in gigabytes.", |
| 1860 "format": "double", |
| 1861 "type": "number" |
| 1862 }, |
| 1863 "name": { |
| 1864 "description": "Unique name for the volume.", |
| 1865 "type": "string" |
| 1866 }, |
| 1867 "volumeType": { |
| 1868 "description": "Underlying volume type, e.g. 'tmpfs'.", |
| 1869 "type": "string" |
| 1870 } |
| 1871 }, |
| 1872 "type": "object" |
| 1873 }, |
| 1874 "ListOperationsResponse": { |
| 1875 "description": "The response message for Operations.ListOperations."
, |
| 1876 "id": "ListOperationsResponse", |
| 1877 "properties": { |
| 1878 "nextPageToken": { |
| 1879 "description": "The standard List next-page token.", |
| 1880 "type": "string" |
| 1881 }, |
| 1882 "operations": { |
| 1883 "description": "A list of operations that matches the specif
ied filter in the request.", |
| 1884 "items": { |
| 1885 "$ref": "Operation" |
| 1886 }, |
| 1887 "type": "array" |
| 1888 } |
| 1889 }, |
| 1890 "type": "object" |
| 1891 }, |
| 1892 "OperationMetadata": { |
| 1893 "description": "Metadata for the given google.longrunning.Operation.
", |
| 1894 "id": "OperationMetadata", |
| 1895 "properties": { |
| 1896 "operationType": { |
| 1897 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", |
| 1898 "type": "string" |
| 1899 }, |
| 1900 "insertTime": { |
| 1901 "description": "Timestamp that this operation was created.@O
utputOnly", |
| 1902 "format": "google-datetime", |
| 1903 "type": "string" |
| 1904 }, |
| 1905 "user": { |
| 1906 "description": "User who requested this operation.@OutputOnl
y", |
| 1907 "type": "string" |
| 1908 }, |
| 1909 "target": { |
| 1910 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", |
| 1911 "type": "string" |
| 1912 }, |
| 1913 "method": { |
| 1914 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", |
| 1915 "type": "string" |
| 1916 }, |
| 1917 "endTime": { |
| 1918 "description": "Timestamp that this operation completed.@Out
putOnly", |
| 1919 "format": "google-datetime", |
| 1920 "type": "string" |
| 1921 } |
| 1922 }, |
| 1923 "type": "object" |
| 1924 }, |
| 1925 "ListInstancesResponse": { |
| 1926 "description": "Response message for Instances.ListInstances.", |
| 1927 "id": "ListInstancesResponse", |
| 1928 "properties": { |
| 1929 "instances": { |
| 1930 "description": "The instances belonging to the requested ver
sion.", |
| 1931 "items": { |
| 1932 "$ref": "Instance" |
| 1933 }, |
| 1934 "type": "array" |
| 1935 }, |
| 1936 "nextPageToken": { |
| 1937 "description": "Continuation token for fetching the next pag
e of results.", |
| 1938 "type": "string" |
| 1939 } |
| 1940 }, |
| 1941 "type": "object" |
| 1942 }, |
| 1943 "OperationMetadataV1": { |
| 1944 "description": "Metadata for the given google.longrunning.Operation.
", |
| 1945 "id": "OperationMetadataV1", |
| 1946 "properties": { |
| 1947 "method": { |
| 1948 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", |
| 1949 "type": "string" |
| 1950 }, |
| 1951 "endTime": { |
| 1952 "description": "Time that this operation completed.@OutputOn
ly", |
| 1953 "format": "google-datetime", |
| 1954 "type": "string" |
| 1955 }, |
| 1956 "warning": { |
| 1957 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
| 1958 "items": { |
| 1959 "type": "string" |
| 1960 }, |
| 1961 "type": "array" |
| 1962 }, |
| 1963 "insertTime": { |
| 1964 "description": "Time that this operation was created.@Output
Only", |
| 1965 "format": "google-datetime", |
| 1966 "type": "string" |
| 1967 }, |
| 1968 "target": { |
| 1969 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
| 1970 "type": "string" |
| 1971 }, |
| 1972 "user": { |
| 1973 "description": "User who requested this operation.@OutputOnl
y", |
| 1974 "type": "string" |
| 1975 }, |
| 1976 "ephemeralMessage": { |
| 1977 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
| 1978 "type": "string" |
| 1979 } |
| 1980 }, |
| 1981 "type": "object" |
| 1982 }, |
| 1983 "ErrorHandler": { |
| 1984 "description": "Custom static error page to be served when an error
occurs.", |
| 1985 "id": "ErrorHandler", |
| 1986 "properties": { |
| 1987 "mimeType": { |
| 1988 "description": "MIME type of file. Defaults to text/html.", |
| 1989 "type": "string" |
| 1990 }, |
| 1991 "errorCode": { |
| 1992 "description": "Error condition this handler applies to.", |
| 1993 "enum": [ |
| 1994 "ERROR_CODE_UNSPECIFIED", |
| 1995 "ERROR_CODE_DEFAULT", |
| 1996 "ERROR_CODE_OVER_QUOTA", |
| 1997 "ERROR_CODE_DOS_API_DENIAL", |
| 1998 "ERROR_CODE_TIMEOUT" |
| 1999 ], |
| 2000 "enumDescriptions": [ |
| 2001 "Not specified. ERROR_CODE_DEFAULT is assumed.", |
| 2002 "All other error types.", |
| 2003 "Application has exceeded a resource quota.", |
| 2004 "Client blocked by the application's Denial of Service p
rotection configuration.", |
| 2005 "Deadline reached before the application responds." |
| 2006 ], |
| 2007 "type": "string" |
| 2008 }, |
| 2009 "staticFile": { |
| 2010 "description": "Static file content to be served for this er
ror.", |
| 2011 "type": "string" |
| 2012 } |
| 2013 }, |
| 2014 "type": "object" |
| 2015 }, |
| 2016 "OperationMetadataV1Alpha": { |
| 2017 "description": "Metadata for the given google.longrunning.Operation.
", |
| 2018 "id": "OperationMetadataV1Alpha", |
| 2019 "properties": { |
| 2020 "warning": { |
| 2021 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", |
2100 "items": { | 2022 "items": { |
2101 "type": "string" | 2023 "type": "string" |
2102 }, | 2024 }, |
2103 "type": "array" | 2025 "type": "array" |
2104 }, | 2026 }, |
2105 "insertTime": { | 2027 "insertTime": { |
2106 "description": "Time that this operation was created.@Output
Only", | 2028 "description": "Time that this operation was created.@Output
Only", |
2107 "format": "google-datetime", | 2029 "format": "google-datetime", |
2108 "type": "string" | 2030 "type": "string" |
2109 }, | 2031 }, |
2110 "user": { | 2032 "user": { |
2111 "description": "User who requested this operation.@OutputOnl
y", | 2033 "description": "User who requested this operation.@OutputOnl
y", |
2112 "type": "string" | 2034 "type": "string" |
2113 }, | 2035 }, |
2114 "target": { | 2036 "target": { |
2115 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | 2037 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", |
2116 "type": "string" | 2038 "type": "string" |
2117 }, | 2039 }, |
2118 "ephemeralMessage": { | 2040 "ephemeralMessage": { |
2119 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | 2041 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", |
2120 "type": "string" | 2042 "type": "string" |
2121 }, | 2043 }, |
2122 "method": { | 2044 "method": { |
2123 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly", | 2045 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", |
2124 "type": "string" | 2046 "type": "string" |
2125 }, | 2047 }, |
2126 "endTime": { | 2048 "endTime": { |
2127 "description": "Time that this operation completed.@OutputOn
ly", | 2049 "description": "Time that this operation completed.@OutputOn
ly", |
2128 "format": "google-datetime", | 2050 "format": "google-datetime", |
2129 "type": "string" | 2051 "type": "string" |
2130 } | 2052 } |
2131 }, | 2053 }, |
2132 "type": "object" | 2054 "type": "object" |
2133 }, | 2055 }, |
2134 "ListServicesResponse": { | 2056 "Network": { |
2135 "description": "Response message for Services.ListServices.", | 2057 "description": "Extra network settings. Only applicable for VM runti
mes.", |
2136 "id": "ListServicesResponse", | 2058 "id": "Network", |
| 2059 "properties": { |
| 2060 "subnetworkName": { |
| 2061 "description": "Google Cloud Platform sub-network where the
virtual machines are created. Specify the short name, not the resource path.If a
subnetwork name is specified, a network name will also be required unless it is
for the default network.\nIf the network the VM instance is being created in is
a Legacy network, then the IP address is allocated from the IPv4Range.\nIf the
network the VM instance is being created in is an auto Subnet Mode Network, then
only network name should be specified (not the subnetwork_name) and the IP addr
ess is created from the IPCidrRange of the subnetwork that exists in that zone f
or that network.\nIf the network the VM instance is being created in is a custom
Subnet Mode Network, then the subnetwork_name must be specified and the IP addr
ess is created from the IPCidrRange of the subnetwork.If specified, the subnetwo
rk must exist in the same region as the Flex app.", |
| 2062 "type": "string" |
| 2063 }, |
| 2064 "instanceTag": { |
| 2065 "description": "Tag to apply to the VM instance during creat
ion.", |
| 2066 "type": "string" |
| 2067 }, |
| 2068 "forwardedPorts": { |
| 2069 "description": "List of ports, or port pairs, to forward fro
m the virtual machine to the application container.", |
| 2070 "items": { |
| 2071 "type": "string" |
| 2072 }, |
| 2073 "type": "array" |
| 2074 }, |
| 2075 "name": { |
| 2076 "description": "Google Cloud Platform network where the virt
ual machines are created. Specify the short name, not the resource path.Defaults
to default.", |
| 2077 "type": "string" |
| 2078 } |
| 2079 }, |
| 2080 "type": "object" |
| 2081 }, |
| 2082 "Application": { |
| 2083 "description": "An Application resource contains the top-level confi
guration of an App Engine application.", |
| 2084 "id": "Application", |
| 2085 "properties": { |
| 2086 "dispatchRules": { |
| 2087 "description": "HTTP path dispatch rules for requests to the
application that do not explicitly target a service or version. Rules are order
-dependent.@OutputOnly", |
| 2088 "items": { |
| 2089 "$ref": "UrlDispatchRule" |
| 2090 }, |
| 2091 "type": "array" |
| 2092 }, |
| 2093 "defaultHostname": { |
| 2094 "description": "Hostname used to reach the application, as r
esolved by App Engine.@OutputOnly", |
| 2095 "type": "string" |
| 2096 }, |
| 2097 "name": { |
| 2098 "description": "Full path to the Application resource in the
API. Example: apps/myapp.@OutputOnly", |
| 2099 "type": "string" |
| 2100 }, |
| 2101 "authDomain": { |
| 2102 "description": "Google Apps authentication domain that contr
ols which users can access this application.Defaults to open access for any Goog
le Account.", |
| 2103 "type": "string" |
| 2104 }, |
| 2105 "iap": { |
| 2106 "$ref": "IdentityAwareProxy" |
| 2107 }, |
| 2108 "defaultCookieExpiration": { |
| 2109 "description": "Cookie expiration policy for this applicatio
n.", |
| 2110 "format": "google-duration", |
| 2111 "type": "string" |
| 2112 }, |
| 2113 "id": { |
| 2114 "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.", |
| 2115 "type": "string" |
| 2116 }, |
| 2117 "codeBucket": { |
| 2118 "description": "A Google Cloud Storage bucket that can be us
ed for storing files associated with this application. This bucket is associated
with the application and can be used by the gcloud deployment commands.@OutputO
nly", |
| 2119 "type": "string" |
| 2120 }, |
| 2121 "location": { |
| 2122 "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", |
| 2123 "type": "string" |
| 2124 }, |
| 2125 "defaultBucket": { |
| 2126 "description": "A Google Cloud Storage bucket that can be us
ed by the application to store content.@OutputOnly", |
| 2127 "type": "string" |
| 2128 } |
| 2129 }, |
| 2130 "type": "object" |
| 2131 }, |
| 2132 "UrlDispatchRule": { |
| 2133 "description": "Rules to match an HTTP request and dispatch that req
uest to a service.", |
| 2134 "id": "UrlDispatchRule", |
| 2135 "properties": { |
| 2136 "path": { |
| 2137 "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.", |
| 2138 "type": "string" |
| 2139 }, |
| 2140 "service": { |
| 2141 "description": "Resource id of a service in this application
that should serve the matched request. The service must already exist. Example:
default.", |
| 2142 "type": "string" |
| 2143 }, |
| 2144 "domain": { |
| 2145 "description": "Domain name to match against. The wildcard \
"*\" is supported if specified before a period: \"*.\".Defaults to matching all
domains: \"*\".", |
| 2146 "type": "string" |
| 2147 } |
| 2148 }, |
| 2149 "type": "object" |
| 2150 }, |
| 2151 "Instance": { |
| 2152 "description": "An Instance resource is the computing unit that App
Engine uses to automatically scale an application.", |
| 2153 "id": "Instance", |
| 2154 "properties": { |
| 2155 "requests": { |
| 2156 "description": "Number of requests since this instance was s
tarted.@OutputOnly", |
| 2157 "format": "int32", |
| 2158 "type": "integer" |
| 2159 }, |
| 2160 "appEngineRelease": { |
| 2161 "description": "App Engine release this instance is running
on.@OutputOnly", |
| 2162 "type": "string" |
| 2163 }, |
| 2164 "startTimestamp": { |
| 2165 "description": "Time that this instance was started.@OutputO
nly", |
| 2166 "format": "google-datetime", |
| 2167 "type": "string" |
| 2168 }, |
| 2169 "vmName": { |
| 2170 "description": "Name of the virtual machine where this insta
nce lives. Only applicable for instances in App Engine flexible environment.@Out
putOnly", |
| 2171 "type": "string" |
| 2172 }, |
| 2173 "vmId": { |
| 2174 "description": "Virtual machine ID of this instance. Only ap
plicable for instances in App Engine flexible environment.@OutputOnly", |
| 2175 "type": "string" |
| 2176 }, |
| 2177 "qps": { |
| 2178 "description": "Average queries per second (QPS) over the la
st minute.@OutputOnly", |
| 2179 "format": "float", |
| 2180 "type": "number" |
| 2181 }, |
| 2182 "name": { |
| 2183 "description": "Full path to the Instance resource in the AP
I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output
Only", |
| 2184 "type": "string" |
| 2185 }, |
| 2186 "vmZoneName": { |
| 2187 "description": "Zone where the virtual machine is located. O
nly applicable for instances in App Engine flexible environment.@OutputOnly", |
| 2188 "type": "string" |
| 2189 }, |
| 2190 "vmUnlocked": { |
| 2191 "description": "Whether this instance is in debug mode. Only
applicable for instances in App Engine flexible environment.@OutputOnly", |
| 2192 "type": "boolean" |
| 2193 }, |
| 2194 "averageLatency": { |
| 2195 "description": "Average latency (ms) over the last minute.@O
utputOnly", |
| 2196 "format": "int32", |
| 2197 "type": "integer" |
| 2198 }, |
| 2199 "vmIp": { |
| 2200 "description": "The IP address of this instance. Only applic
able for instances in App Engine flexible environment.@OutputOnly", |
| 2201 "type": "string" |
| 2202 }, |
| 2203 "memoryUsage": { |
| 2204 "description": "Total memory in use (bytes).@OutputOnly", |
| 2205 "format": "int64", |
| 2206 "type": "string" |
| 2207 }, |
| 2208 "id": { |
| 2209 "description": "Relative name of the instance within the ver
sion. Example: instance-1.@OutputOnly", |
| 2210 "type": "string" |
| 2211 }, |
| 2212 "availability": { |
| 2213 "description": "Availability of the instance.@OutputOnly", |
| 2214 "enum": [ |
| 2215 "UNSPECIFIED", |
| 2216 "RESIDENT", |
| 2217 "DYNAMIC" |
| 2218 ], |
| 2219 "enumDescriptions": [ |
| 2220 "", |
| 2221 "", |
| 2222 "" |
| 2223 ], |
| 2224 "type": "string" |
| 2225 }, |
| 2226 "vmStatus": { |
| 2227 "description": "Status of the virtual machine where this ins
tance lives. Only applicable for instances in App Engine flexible environment.@O
utputOnly", |
| 2228 "type": "string" |
| 2229 }, |
| 2230 "errors": { |
| 2231 "description": "Number of errors since this instance was sta
rted.@OutputOnly", |
| 2232 "format": "uint32", |
| 2233 "type": "integer" |
| 2234 } |
| 2235 }, |
| 2236 "type": "object" |
| 2237 }, |
| 2238 "ListVersionsResponse": { |
| 2239 "description": "Response message for Versions.ListVersions.", |
| 2240 "id": "ListVersionsResponse", |
2137 "properties": { | 2241 "properties": { |
2138 "nextPageToken": { | 2242 "nextPageToken": { |
2139 "description": "Continuation token for fetching the next pag
e of results.", | 2243 "description": "Continuation token for fetching the next pag
e of results.", |
2140 "type": "string" | 2244 "type": "string" |
2141 }, | 2245 }, |
2142 "services": { | 2246 "versions": { |
2143 "description": "The services belonging to the requested appl
ication.", | 2247 "description": "The versions belonging to the requested serv
ice.", |
2144 "items": { | 2248 "items": { |
2145 "$ref": "Service" | 2249 "$ref": "Version" |
2146 }, | 2250 }, |
2147 "type": "array" | 2251 "type": "array" |
2148 } | 2252 } |
2149 }, | 2253 }, |
2150 "type": "object" | 2254 "type": "object" |
2151 }, | 2255 }, |
2152 "Deployment": { | 2256 "ApiEndpointHandler": { |
2153 "description": "Code and application artifacts used to deploy a vers
ion to App Engine.", | 2257 "description": "Uses Google Cloud Endpoints to handle requests.", |
2154 "id": "Deployment", | 2258 "id": "ApiEndpointHandler", |
2155 "properties": { | 2259 "properties": { |
2156 "sourceReferences": { | 2260 "scriptPath": { |
2157 "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.", | 2261 "description": "Path to the script from the application root
directory.", |
2158 "items": { | 2262 "type": "string" |
2159 "$ref": "SourceReference" | 2263 } |
2160 }, | 2264 }, |
2161 "type": "array" | 2265 "type": "object" |
2162 }, | 2266 }, |
2163 "container": { | 2267 "AutomaticScaling": { |
2164 "$ref": "ContainerInfo", | 2268 "description": "Automatic scaling is based on request rate, response
latencies, and other application metrics.", |
2165 "description": "The Docker image for the container that runs
the version. Only applicable for instances running in the App Engine flexible e
nvironment." | 2269 "id": "AutomaticScaling", |
2166 }, | 2270 "properties": { |
2167 "files": { | 2271 "diskUtilization": { |
| 2272 "$ref": "DiskUtilization", |
| 2273 "description": "Target scaling by disk usage." |
| 2274 }, |
| 2275 "minPendingLatency": { |
| 2276 "description": "Minimum amount of time a request should wait
in the pending queue before starting a new instance to handle it.", |
| 2277 "format": "google-duration", |
| 2278 "type": "string" |
| 2279 }, |
| 2280 "maxIdleInstances": { |
| 2281 "description": "Maximum number of idle instances that should
be maintained for this version.", |
| 2282 "format": "int32", |
| 2283 "type": "integer" |
| 2284 }, |
| 2285 "requestUtilization": { |
| 2286 "$ref": "RequestUtilization", |
| 2287 "description": "Target scaling by request utilization." |
| 2288 }, |
| 2289 "minIdleInstances": { |
| 2290 "description": "Minimum number of idle instances that should
be maintained for this version. Only applicable for the default version of a mo
dule.", |
| 2291 "format": "int32", |
| 2292 "type": "integer" |
| 2293 }, |
| 2294 "maxTotalInstances": { |
| 2295 "description": "Maximum number of instances that should be s
tarted to handle requests.", |
| 2296 "format": "int32", |
| 2297 "type": "integer" |
| 2298 }, |
| 2299 "minTotalInstances": { |
| 2300 "description": "Minimum number of instances that should be m
aintained for this version.", |
| 2301 "format": "int32", |
| 2302 "type": "integer" |
| 2303 }, |
| 2304 "networkUtilization": { |
| 2305 "$ref": "NetworkUtilization", |
| 2306 "description": "Target scaling by network usage." |
| 2307 }, |
| 2308 "maxConcurrentRequests": { |
| 2309 "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.", |
| 2310 "format": "int32", |
| 2311 "type": "integer" |
| 2312 }, |
| 2313 "coolDownPeriod": { |
| 2314 "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.", |
| 2315 "format": "google-duration", |
| 2316 "type": "string" |
| 2317 }, |
| 2318 "maxPendingLatency": { |
| 2319 "description": "Maximum amount of time that a request should
wait in the pending queue before starting a new instance to handle it.", |
| 2320 "format": "google-duration", |
| 2321 "type": "string" |
| 2322 }, |
| 2323 "cpuUtilization": { |
| 2324 "$ref": "CpuUtilization", |
| 2325 "description": "Target scaling by CPU usage." |
| 2326 } |
| 2327 }, |
| 2328 "type": "object" |
| 2329 }, |
| 2330 "NetworkUtilization": { |
| 2331 "description": "Target scaling by network usage. Only applicable for
VM runtimes.", |
| 2332 "id": "NetworkUtilization", |
| 2333 "properties": { |
| 2334 "targetReceivedBytesPerSec": { |
| 2335 "description": "Target bytes received per second.", |
| 2336 "format": "int32", |
| 2337 "type": "integer" |
| 2338 }, |
| 2339 "targetSentPacketsPerSec": { |
| 2340 "description": "Target packets sent per second.", |
| 2341 "format": "int32", |
| 2342 "type": "integer" |
| 2343 }, |
| 2344 "targetReceivedPacketsPerSec": { |
| 2345 "description": "Target packets received per second.", |
| 2346 "format": "int32", |
| 2347 "type": "integer" |
| 2348 }, |
| 2349 "targetSentBytesPerSec": { |
| 2350 "description": "Target bytes sent per second.", |
| 2351 "format": "int32", |
| 2352 "type": "integer" |
| 2353 } |
| 2354 }, |
| 2355 "type": "object" |
| 2356 }, |
| 2357 "Location": { |
| 2358 "description": "A resource that represents Google Cloud Platform loc
ation.", |
| 2359 "id": "Location", |
| 2360 "properties": { |
| 2361 "name": { |
| 2362 "description": "Resource name for the location, which may va
ry between implementations. For example: \"projects/example-project/locations/us
-east1\"", |
| 2363 "type": "string" |
| 2364 }, |
| 2365 "locationId": { |
| 2366 "description": "The canonical id for this location. For exam
ple: \"us-east1\".", |
| 2367 "type": "string" |
| 2368 }, |
| 2369 "metadata": { |
2168 "additionalProperties": { | 2370 "additionalProperties": { |
2169 "$ref": "FileInfo" | 2371 "description": "Properties of the object. Contains field
@type with type URL.", |
2170 }, | 2372 "type": "any" |
2171 "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.", | 2373 }, |
| 2374 "description": "Service-specific metadata. For example the a
vailable capacity at the given location.", |
2172 "type": "object" | 2375 "type": "object" |
2173 } | 2376 }, |
2174 }, | 2377 "labels": { |
2175 "type": "object" | 2378 "additionalProperties": { |
2176 }, | |
2177 "Resources": { | |
2178 "description": "Machine resources for a version.", | |
2179 "id": "Resources", | |
2180 "properties": { | |
2181 "volumes": { | |
2182 "description": "Volumes mounted within the app container.", | |
2183 "items": { | |
2184 "$ref": "Volume" | |
2185 }, | |
2186 "type": "array" | |
2187 }, | |
2188 "diskGb": { | |
2189 "description": "Disk size (GB) needed.", | |
2190 "format": "double", | |
2191 "type": "number" | |
2192 }, | |
2193 "memoryGb": { | |
2194 "description": "Memory (GB) needed.", | |
2195 "format": "double", | |
2196 "type": "number" | |
2197 }, | |
2198 "cpu": { | |
2199 "description": "Number of CPU cores needed.", | |
2200 "format": "double", | |
2201 "type": "number" | |
2202 } | |
2203 }, | |
2204 "type": "object" | |
2205 }, | |
2206 "Service": { | |
2207 "description": "A Service resource is a logical component of an appl
ication that can share state and communicate in a secure fashion with other serv
ices. For example, an application that handles customer requests might include s
eparate services to handle other tasks such as API requests from mobile devices
or backend data analysis. Each service has a collection of versions that define
a specific set of code used to implement the functionality of that service.", | |
2208 "id": "Service", | |
2209 "properties": { | |
2210 "name": { | |
2211 "description": "Full path to the Service resource in the API
. Example: apps/myapp/services/default.@OutputOnly", | |
2212 "type": "string" | |
2213 }, | |
2214 "split": { | |
2215 "$ref": "TrafficSplit", | |
2216 "description": "Mapping that defines fractional HTTP traffic
diversion to different versions within the service." | |
2217 }, | |
2218 "id": { | |
2219 "description": "Relative name of the service within the appl
ication. Example: default.@OutputOnly", | |
2220 "type": "string" | |
2221 } | |
2222 }, | |
2223 "type": "object" | |
2224 }, | |
2225 "Volume": { | |
2226 "description": "Volumes mounted within the app container. Only appli
cable for VM runtimes.", | |
2227 "id": "Volume", | |
2228 "properties": { | |
2229 "volumeType": { | |
2230 "description": "Underlying volume type, e.g. 'tmpfs'.", | |
2231 "type": "string" | |
2232 }, | |
2233 "sizeGb": { | |
2234 "description": "Volume size in gigabytes.", | |
2235 "format": "double", | |
2236 "type": "number" | |
2237 }, | |
2238 "name": { | |
2239 "description": "Unique name for the volume.", | |
2240 "type": "string" | |
2241 } | |
2242 }, | |
2243 "type": "object" | |
2244 }, | |
2245 "ListOperationsResponse": { | |
2246 "description": "The response message for Operations.ListOperations."
, | |
2247 "id": "ListOperationsResponse", | |
2248 "properties": { | |
2249 "nextPageToken": { | |
2250 "description": "The standard List next-page token.", | |
2251 "type": "string" | |
2252 }, | |
2253 "operations": { | |
2254 "description": "A list of operations that matches the specif
ied filter in the request.", | |
2255 "items": { | |
2256 "$ref": "Operation" | |
2257 }, | |
2258 "type": "array" | |
2259 } | |
2260 }, | |
2261 "type": "object" | |
2262 }, | |
2263 "OperationMetadata": { | |
2264 "description": "Metadata for the given google.longrunning.Operation.
", | |
2265 "id": "OperationMetadata", | |
2266 "properties": { | |
2267 "insertTime": { | |
2268 "description": "Timestamp that this operation was created.@O
utputOnly", | |
2269 "format": "google-datetime", | |
2270 "type": "string" | |
2271 }, | |
2272 "user": { | |
2273 "description": "User who requested this operation.@OutputOnl
y", | |
2274 "type": "string" | |
2275 }, | |
2276 "target": { | |
2277 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/modules/default.@OutputOnly", | |
2278 "type": "string" | |
2279 }, | |
2280 "method": { | |
2281 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1beta4.Version.CreateVersion.@OutputOnly", | |
2282 "type": "string" | |
2283 }, | |
2284 "endTime": { | |
2285 "description": "Timestamp that this operation completed.@Out
putOnly", | |
2286 "format": "google-datetime", | |
2287 "type": "string" | |
2288 }, | |
2289 "operationType": { | |
2290 "description": "Type of this operation. Deprecated, use meth
od field instead. Example: \"create_version\".@OutputOnly", | |
2291 "type": "string" | |
2292 } | |
2293 }, | |
2294 "type": "object" | |
2295 }, | |
2296 "ListInstancesResponse": { | |
2297 "description": "Response message for Instances.ListInstances.", | |
2298 "id": "ListInstancesResponse", | |
2299 "properties": { | |
2300 "nextPageToken": { | |
2301 "description": "Continuation token for fetching the next pag
e of results.", | |
2302 "type": "string" | |
2303 }, | |
2304 "instances": { | |
2305 "description": "The instances belonging to the requested ver
sion.", | |
2306 "items": { | |
2307 "$ref": "Instance" | |
2308 }, | |
2309 "type": "array" | |
2310 } | |
2311 }, | |
2312 "type": "object" | |
2313 }, | |
2314 "OperationMetadataV1": { | |
2315 "description": "Metadata for the given google.longrunning.Operation.
", | |
2316 "id": "OperationMetadataV1", | |
2317 "properties": { | |
2318 "ephemeralMessage": { | |
2319 "description": "Ephemeral message that may change every time
the operation is polled. @OutputOnly", | |
2320 "type": "string" | |
2321 }, | |
2322 "method": { | |
2323 "description": "API method that initiated this operation. Ex
ample: google.appengine.v1.Versions.CreateVersion.@OutputOnly", | |
2324 "type": "string" | |
2325 }, | |
2326 "endTime": { | |
2327 "description": "Time that this operation completed.@OutputOn
ly", | |
2328 "format": "google-datetime", | |
2329 "type": "string" | |
2330 }, | |
2331 "warning": { | |
2332 "description": "Durable messages that persist on every opera
tion poll. @OutputOnly", | |
2333 "items": { | |
2334 "type": "string" | 2379 "type": "string" |
2335 }, | 2380 }, |
2336 "type": "array" | 2381 "description": "Cross-service attributes for the location. F
or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n", |
2337 }, | 2382 "type": "object" |
2338 "insertTime": { | 2383 } |
2339 "description": "Time that this operation was created.@Output
Only", | 2384 }, |
2340 "format": "google-datetime", | 2385 "type": "object" |
2341 "type": "string" | |
2342 }, | |
2343 "user": { | |
2344 "description": "User who requested this operation.@OutputOnl
y", | |
2345 "type": "string" | |
2346 }, | |
2347 "target": { | |
2348 "description": "Name of the resource that this operation is
acting on. Example: apps/myapp/services/default.@OutputOnly", | |
2349 "type": "string" | |
2350 } | |
2351 }, | |
2352 "type": "object" | |
2353 }, | |
2354 "ErrorHandler": { | |
2355 "description": "Custom static error page to be served when an error
occurs.", | |
2356 "id": "ErrorHandler", | |
2357 "properties": { | |
2358 "mimeType": { | |
2359 "description": "MIME type of file. Defaults to text/html.", | |
2360 "type": "string" | |
2361 }, | |
2362 "errorCode": { | |
2363 "description": "Error condition this handler applies to.", | |
2364 "enum": [ | |
2365 "ERROR_CODE_UNSPECIFIED", | |
2366 "ERROR_CODE_DEFAULT", | |
2367 "ERROR_CODE_OVER_QUOTA", | |
2368 "ERROR_CODE_DOS_API_DENIAL", | |
2369 "ERROR_CODE_TIMEOUT" | |
2370 ], | |
2371 "enumDescriptions": [ | |
2372 "Not specified. ERROR_CODE_DEFAULT is assumed.", | |
2373 "All other error types.", | |
2374 "Application has exceeded a resource quota.", | |
2375 "Client blocked by the application's Denial of Service p
rotection configuration.", | |
2376 "Deadline reached before the application responds." | |
2377 ], | |
2378 "type": "string" | |
2379 }, | |
2380 "staticFile": { | |
2381 "description": "Static file content to be served for this er
ror.", | |
2382 "type": "string" | |
2383 } | |
2384 }, | |
2385 "type": "object" | |
2386 } | 2386 } |
2387 }, | 2387 }, |
2388 "servicePath": "", | 2388 "servicePath": "", |
2389 "title": "Google App Engine Admin API", | 2389 "title": "Google App Engine Admin API", |
2390 "version": "v1beta5" | 2390 "version": "v1beta5" |
2391 } | 2391 } |
OLD | NEW |