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

Side by Side Diff: discovery/googleapis_beta/appengine__v1beta5.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/appengine.admin": { 5 "https://www.googleapis.com/auth/appengine.admin": {
6 "description": "View and manage your applications deployed o n Google App Engine" 6 "description": "View and manage your applications deployed o n Google App Engine"
7 }, 7 },
8 "https://www.googleapis.com/auth/cloud-platform.read-only": { 8 "https://www.googleapis.com/auth/cloud-platform.read-only": {
9 "description": "View your data across Google Cloud Platform services" 9 "description": "View your data across Google Cloud Platform services"
10 }, 10 },
(...skipping 12 matching lines...) Expand all
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 "uploadType": {
34 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
35 "location": "query",
36 "type": "string"
37 },
38 "fields": {
39 "description": "Selector specifying which fields to include in a par tial response.",
40 "location": "query",
41 "type": "string"
42 },
43 "$.xgafv": {
44 "description": "V1 error format.",
45 "enum": [
46 "1",
47 "2"
48 ],
49 "enumDescriptions": [
50 "v1 error format",
51 "v2 error format"
52 ],
53 "location": "query",
54 "type": "string"
55 },
56 "callback": {
57 "description": "JSONP",
58 "location": "query",
59 "type": "string"
60 },
61 "alt": { 33 "alt": {
62 "default": "json", 34 "default": "json",
63 "description": "Data format for response.", 35 "description": "Data format for response.",
64 "enum": [ 36 "enum": [
65 "json", 37 "json",
66 "media", 38 "media",
67 "proto" 39 "proto"
68 ], 40 ],
69 "enumDescriptions": [ 41 "enumDescriptions": [
70 "Responses with Content-Type of application/json", 42 "Responses with Content-Type of application/json",
(...skipping 17 matching lines...) Expand all
88 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.", 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.",
89 "location": "query", 61 "location": "query",
90 "type": "string" 62 "type": "string"
91 }, 63 },
92 "pp": { 64 "pp": {
93 "default": "true", 65 "default": "true",
94 "description": "Pretty-print response.", 66 "description": "Pretty-print response.",
95 "location": "query", 67 "location": "query",
96 "type": "boolean" 68 "type": "boolean"
97 }, 69 },
70 "oauth_token": {
71 "description": "OAuth 2.0 token for the current user.",
72 "location": "query",
73 "type": "string"
74 },
98 "bearer_token": { 75 "bearer_token": {
99 "description": "OAuth bearer token.", 76 "description": "OAuth bearer token.",
100 "location": "query", 77 "location": "query",
101 "type": "string" 78 "type": "string"
102 }, 79 },
103 "oauth_token": {
104 "description": "OAuth 2.0 token for the current user.",
105 "location": "query",
106 "type": "string"
107 },
108 "upload_protocol": { 80 "upload_protocol": {
109 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 81 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
110 "location": "query", 82 "location": "query",
111 "type": "string" 83 "type": "string"
112 }, 84 },
113 "prettyPrint": { 85 "prettyPrint": {
114 "default": "true", 86 "default": "true",
115 "description": "Returns response with indentations and line breaks." , 87 "description": "Returns response with indentations and line breaks." ,
116 "location": "query", 88 "location": "query",
117 "type": "boolean" 89 "type": "boolean"
90 },
91 "fields": {
92 "description": "Selector specifying which fields to include in a par tial response.",
93 "location": "query",
94 "type": "string"
95 },
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": {
107 "description": "V1 error format.",
108 "enum": [
109 "1",
110 "2"
111 ],
112 "enumDescriptions": [
113 "v1 error format",
114 "v2 error format"
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
193 }, 193 },
194 "response": { 194 "response": {
195 "$ref": "Operation" 195 "$ref": "Operation"
196 }, 196 },
197 "scopes": [ 197 "scopes": [
198 "https://www.googleapis.com/auth/cloud-platform" 198 "https://www.googleapis.com/auth/cloud-platform"
199 ] 199 ]
200 } 200 }
201 }, 201 },
202 "resources": { 202 "resources": {
203 "operations": {
204 "methods": {
205 "get": {
206 "description": "Gets the latest state of a long-runn ing operation. Clients can use this method to poll the operation result at inter vals as recommended by the API service.",
207 "httpMethod": "GET",
208 "id": "appengine.apps.operations.get",
209 "parameterOrder": [
210 "appsId",
211 "operationsId"
212 ],
213 "parameters": {
214 "appsId": {
215 "description": "Part of `name`. The name of the operation resource.",
216 "location": "path",
217 "required": true,
218 "type": "string"
219 },
220 "operationsId": {
221 "description": "Part of `name`. See document ation of `appsId`.",
222 "location": "path",
223 "required": true,
224 "type": "string"
225 }
226 },
227 "path": "v1beta5/apps/{appsId}/operations/{operation sId}",
228 "response": {
229 "$ref": "Operation"
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 operations that match the spec ified filter in the request. If the server doesn't support this method, it retur ns UNIMPLEMENTED.NOTE: the name binding allows API services to override the bind ing to use different resource name schemes, such as users/*/operations. To overr ide the binding, API services can add a binding such as \"/v1/{name=users/*}/ope rations\" to their service configuration. For backwards compatibility, the defau lt name includes the operations collection id, however overriding users must ens ure the name binding is the parent resource, without the operations collection i d.",
239 "httpMethod": "GET",
240 "id": "appengine.apps.operations.list",
241 "parameterOrder": [
242 "appsId"
243 ],
244 "parameters": {
245 "pageSize": {
246 "description": "The standard list page size. ",
247 "format": "int32",
248 "location": "query",
249 "type": "integer"
250 },
251 "filter": {
252 "description": "The standard list filter.",
253 "location": "query",
254 "type": "string"
255 },
256 "pageToken": {
257 "description": "The standard list page token .",
258 "location": "query",
259 "type": "string"
260 },
261 "appsId": {
262 "description": "Part of `name`. The name of the operation's parent resource.",
263 "location": "path",
264 "required": true,
265 "type": "string"
266 }
267 },
268 "path": "v1beta5/apps/{appsId}/operations",
269 "response": {
270 "$ref": "ListOperationsResponse"
271 },
272 "scopes": [
273 "https://www.googleapis.com/auth/appengine.admin ",
274 "https://www.googleapis.com/auth/cloud-platform" ,
275 "https://www.googleapis.com/auth/cloud-platform. read-only"
276 ]
277 }
278 }
279 },
280 "locations": {
281 "methods": {
282 "get": {
283 "description": "Get information about a location.",
284 "httpMethod": "GET",
285 "id": "appengine.apps.locations.get",
286 "parameterOrder": [
287 "appsId",
288 "locationsId"
289 ],
290 "parameters": {
291 "locationsId": {
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`. Resource nam e for the location.",
299 "location": "path",
300 "required": true,
301 "type": "string"
302 }
303 },
304 "path": "v1beta5/apps/{appsId}/locations/{locationsI d}",
305 "response": {
306 "$ref": "Location"
307 },
308 "scopes": [
309 "https://www.googleapis.com/auth/appengine.admin ",
310 "https://www.googleapis.com/auth/cloud-platform" ,
311 "https://www.googleapis.com/auth/cloud-platform. read-only"
312 ]
313 },
314 "list": {
315 "description": "Lists information about the supporte d locations for this service.",
316 "httpMethod": "GET",
317 "id": "appengine.apps.locations.list",
318 "parameterOrder": [
319 "appsId"
320 ],
321 "parameters": {
322 "filter": {
323 "description": "The standard list filter.",
324 "location": "query",
325 "type": "string"
326 },
327 "pageToken": {
328 "description": "The standard list page token .",
329 "location": "query",
330 "type": "string"
331 },
332 "appsId": {
333 "description": "Part of `name`. The resource that owns the locations collection, if applicable.",
334 "location": "path",
335 "required": true,
336 "type": "string"
337 },
338 "pageSize": {
339 "description": "The standard list page size. ",
340 "format": "int32",
341 "location": "query",
342 "type": "integer"
343 }
344 },
345 "path": "v1beta5/apps/{appsId}/locations",
346 "response": {
347 "$ref": "ListLocationsResponse"
348 },
349 "scopes": [
350 "https://www.googleapis.com/auth/appengine.admin ",
351 "https://www.googleapis.com/auth/cloud-platform" ,
352 "https://www.googleapis.com/auth/cloud-platform. read-only"
353 ]
354 }
355 }
356 },
357 "services": { 203 "services": {
358 "methods": { 204 "methods": {
359 "patch": { 205 "patch": {
360 "description": "Updates the configuration of the spe cified service.", 206 "description": "Updates the configuration of the spe cified service.",
361 "httpMethod": "PATCH", 207 "httpMethod": "PATCH",
362 "id": "appengine.apps.services.patch", 208 "id": "appengine.apps.services.patch",
363 "parameterOrder": [ 209 "parameterOrder": [
364 "appsId", 210 "appsId",
365 "servicesId" 211 "servicesId"
366 ], 212 ],
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 ] 247 ]
402 }, 248 },
403 "list": { 249 "list": {
404 "description": "Lists all the services in the applic ation.", 250 "description": "Lists all the services in the applic ation.",
405 "httpMethod": "GET", 251 "httpMethod": "GET",
406 "id": "appengine.apps.services.list", 252 "id": "appengine.apps.services.list",
407 "parameterOrder": [ 253 "parameterOrder": [
408 "appsId" 254 "appsId"
409 ], 255 ],
410 "parameters": { 256 "parameters": {
257 "pageSize": {
258 "description": "Maximum results to return pe r page.",
259 "format": "int32",
260 "location": "query",
261 "type": "integer"
262 },
411 "pageToken": { 263 "pageToken": {
412 "description": "Continuation token for fetch ing the next page of results.", 264 "description": "Continuation token for fetch ing the next page of results.",
413 "location": "query", 265 "location": "query",
414 "type": "string" 266 "type": "string"
415 }, 267 },
416 "appsId": { 268 "appsId": {
417 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp.", 269 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp.",
418 "location": "path", 270 "location": "path",
419 "required": true, 271 "required": true,
420 "type": "string" 272 "type": "string"
421 },
422 "pageSize": {
423 "description": "Maximum results to return pe r page.",
424 "format": "int32",
425 "location": "query",
426 "type": "integer"
427 } 273 }
428 }, 274 },
429 "path": "v1beta5/apps/{appsId}/services", 275 "path": "v1beta5/apps/{appsId}/services",
430 "response": { 276 "response": {
431 "$ref": "ListServicesResponse" 277 "$ref": "ListServicesResponse"
432 }, 278 },
433 "scopes": [ 279 "scopes": [
434 "https://www.googleapis.com/auth/appengine.admin ", 280 "https://www.googleapis.com/auth/appengine.admin ",
435 "https://www.googleapis.com/auth/cloud-platform" , 281 "https://www.googleapis.com/auth/cloud-platform" ,
436 "https://www.googleapis.com/auth/cloud-platform. read-only" 282 "https://www.googleapis.com/auth/cloud-platform. read-only"
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 "$ref": "Operation" 341 "$ref": "Operation"
496 }, 342 },
497 "scopes": [ 343 "scopes": [
498 "https://www.googleapis.com/auth/cloud-platform" 344 "https://www.googleapis.com/auth/cloud-platform"
499 ] 345 ]
500 } 346 }
501 }, 347 },
502 "resources": { 348 "resources": {
503 "versions": { 349 "versions": {
504 "methods": { 350 "methods": {
505 "patch": { 351 "delete": {
506 "description": "Updates the specified Versio n resource. You can specify the following fields depending on the App Engine env ironment and type of scaling that the version resource uses:\nserving_status (ht tps://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.serv ices.versions#Version.FIELDS.serving_status): For Version resources that use ba sic scaling, manual scaling, or run in the App Engine flexible environment.\nin stance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v 1beta5/apps.services.versions#Version.FIELDS.instance_class): For Version resou rces that run in the App Engine standard environment.\nautomatic_scaling.min_idl e_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1 beta5/apps.services.versions#Version.FIELDS.automatic_scaling): For Version res ources that use automatic scaling and run in the App Engine standard environmen t.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/doc s/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.automat ic_scaling): For Version resources that use automatic scaling and run in the Ap p Engine standard environment.", 352 "description": "Deletes an existing version. ",
507 "httpMethod": "PATCH", 353 "httpMethod": "DELETE",
508 "id": "appengine.apps.services.versions.patc h", 354 "id": "appengine.apps.services.versions.dele te",
509 "parameterOrder": [ 355 "parameterOrder": [
510 "appsId", 356 "appsId",
511 "servicesId", 357 "servicesId",
512 "versionsId" 358 "versionsId"
513 ], 359 ],
514 "parameters": { 360 "parameters": {
515 "mask": { 361 "servicesId": {
516 "description": "Standard field mask for the set of fields to be updated.", 362 "description": "Part of `name`. See documentation of `appsId`.",
517 "format": "google-fieldmask", 363 "location": "path",
518 "location": "query", 364 "required": true,
365 "type": "string"
366 },
367 "appsId": {
368 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
369 "location": "path",
370 "required": true,
519 "type": "string" 371 "type": "string"
520 }, 372 },
521 "versionsId": { 373 "versionsId": {
522 "description": "Part of `name`. See documentation of `appsId`.", 374 "description": "Part of `name`. See documentation of `appsId`.",
523 "location": "path", 375 "location": "path",
524 "required": true, 376 "required": true,
525 "type": "string" 377 "type": "string"
526 },
527 "servicesId": {
528 "description": "Part of `name`. See documentation of `appsId`.",
529 "location": "path",
530 "required": true,
531 "type": "string"
532 },
533 "appsId": {
534 "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.",
535 "location": "path",
536 "required": true,
537 "type": "string"
538 } 378 }
539 }, 379 },
540 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions/{versionsId}", 380 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions/{versionsId}",
541 "request": {
542 "$ref": "Version"
543 },
544 "response": { 381 "response": {
545 "$ref": "Operation" 382 "$ref": "Operation"
546 }, 383 },
547 "scopes": [ 384 "scopes": [
548 "https://www.googleapis.com/auth/cloud-p latform" 385 "https://www.googleapis.com/auth/cloud-p latform"
549 ] 386 ]
550 }, 387 },
551 "list": { 388 "patch": {
552 "description": "Lists the versions of a serv ice.", 389 "description": "Updates the specified Versio n resource. You can specify the following fields depending on the App Engine env ironment and type of scaling that the version resource uses:\nserving_status (ht tps://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.serv ices.versions#Version.FIELDS.serving_status): For Version resources that use ba sic scaling, manual scaling, or run in the App Engine flexible environment.\nin stance_class (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v 1beta5/apps.services.versions#Version.FIELDS.instance_class): For Version resou rces that run in the App Engine standard environment.\nautomatic_scaling.min_idl e_instances (https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1 beta5/apps.services.versions#Version.FIELDS.automatic_scaling): For Version res ources that use automatic scaling and run in the App Engine standard environmen t.\nautomatic_scaling.max_idle_instances (https://cloud.google.com/appengine/doc s/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.automat ic_scaling): For Version resources that use automatic scaling and run in the Ap p Engine standard environment.",
553 "httpMethod": "GET", 390 "httpMethod": "PATCH",
554 "id": "appengine.apps.services.versions.list ", 391 "id": "appengine.apps.services.versions.patc h",
555 "parameterOrder": [ 392 "parameterOrder": [
556 "appsId", 393 "appsId",
557 "servicesId" 394 "servicesId",
395 "versionsId"
558 ], 396 ],
559 "parameters": { 397 "parameters": {
560 "servicesId": { 398 "servicesId": {
561 "description": "Part of `name`. See documentation of `appsId`.", 399 "description": "Part of `name`. See documentation of `appsId`.",
562 "location": "path", 400 "location": "path",
563 "required": true, 401 "required": true,
564 "type": "string" 402 "type": "string"
565 }, 403 },
404 "appsId": {
405 "description": "Part of `name`. Name of the resource to update. Example: apps/myapp/services/default/versions/1.",
406 "location": "path",
407 "required": true,
408 "type": "string"
409 },
410 "mask": {
411 "description": "Standard field mask for the set of fields to be updated.",
412 "format": "google-fieldmask",
413 "location": "query",
414 "type": "string"
415 },
416 "versionsId": {
417 "description": "Part of `name`. See documentation of `appsId`.",
418 "location": "path",
419 "required": true,
420 "type": "string"
421 }
422 },
423 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions/{versionsId}",
424 "request": {
425 "$ref": "Version"
426 },
427 "response": {
428 "$ref": "Operation"
429 },
430 "scopes": [
431 "https://www.googleapis.com/auth/cloud-p latform"
432 ]
433 },
434 "list": {
435 "description": "Lists the versions of a serv ice.",
436 "httpMethod": "GET",
437 "id": "appengine.apps.services.versions.list ",
438 "parameterOrder": [
439 "appsId",
440 "servicesId"
441 ],
442 "parameters": {
566 "pageToken": { 443 "pageToken": {
567 "description": "Continuation token f or fetching the next page of results.", 444 "description": "Continuation token f or fetching the next page of results.",
568 "location": "query", 445 "location": "query",
569 "type": "string" 446 "type": "string"
570 }, 447 },
571 "appsId": { 448 "appsId": {
572 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.", 449 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default.",
573 "location": "path", 450 "location": "path",
574 "required": true, 451 "required": true,
575 "type": "string" 452 "type": "string"
576 }, 453 },
577 "pageSize": { 454 "pageSize": {
578 "description": "Maximum results to r eturn per page.", 455 "description": "Maximum results to r eturn per page.",
579 "format": "int32", 456 "format": "int32",
580 "location": "query", 457 "location": "query",
581 "type": "integer" 458 "type": "integer"
582 }, 459 },
583 "view": { 460 "view": {
584 "description": "Controls the set of fields returned in the List response.", 461 "description": "Controls the set of fields returned in the List response.",
585 "enum": [ 462 "enum": [
586 "BASIC", 463 "BASIC",
587 "FULL" 464 "FULL"
588 ], 465 ],
589 "location": "query", 466 "location": "query",
590 "type": "string" 467 "type": "string"
468 },
469 "servicesId": {
470 "description": "Part of `name`. See documentation of `appsId`.",
471 "location": "path",
472 "required": true,
473 "type": "string"
591 } 474 }
592 }, 475 },
593 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions", 476 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions",
594 "response": { 477 "response": {
595 "$ref": "ListVersionsResponse" 478 "$ref": "ListVersionsResponse"
596 }, 479 },
597 "scopes": [ 480 "scopes": [
598 "https://www.googleapis.com/auth/appengi ne.admin", 481 "https://www.googleapis.com/auth/appengi ne.admin",
599 "https://www.googleapis.com/auth/cloud-p latform", 482 "https://www.googleapis.com/auth/cloud-p latform",
600 "https://www.googleapis.com/auth/cloud-p latform.read-only" 483 "https://www.googleapis.com/auth/cloud-p latform.read-only"
601 ] 484 ]
602 }, 485 },
603 "get": { 486 "get": {
604 "description": "Gets the specified Version r esource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW p arameter to get the full resource.", 487 "description": "Gets the specified Version r esource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW p arameter to get the full resource.",
605 "httpMethod": "GET", 488 "httpMethod": "GET",
606 "id": "appengine.apps.services.versions.get" , 489 "id": "appengine.apps.services.versions.get" ,
607 "parameterOrder": [ 490 "parameterOrder": [
608 "appsId", 491 "appsId",
609 "servicesId", 492 "servicesId",
610 "versionsId" 493 "versionsId"
611 ], 494 ],
612 "parameters": { 495 "parameters": {
496 "appsId": {
497 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
498 "location": "path",
499 "required": true,
500 "type": "string"
501 },
613 "view": { 502 "view": {
614 "description": "Controls the set of fields returned in the Get response.", 503 "description": "Controls the set of fields returned in the Get response.",
615 "enum": [ 504 "enum": [
616 "BASIC", 505 "BASIC",
617 "FULL" 506 "FULL"
618 ], 507 ],
619 "location": "query", 508 "location": "query",
620 "type": "string" 509 "type": "string"
621 }, 510 },
622 "versionsId": { 511 "versionsId": {
623 "description": "Part of `name`. See documentation of `appsId`.", 512 "description": "Part of `name`. See documentation of `appsId`.",
624 "location": "path", 513 "location": "path",
625 "required": true, 514 "required": true,
626 "type": "string" 515 "type": "string"
627 }, 516 },
628 "servicesId": { 517 "servicesId": {
629 "description": "Part of `name`. See documentation of `appsId`.", 518 "description": "Part of `name`. See documentation of `appsId`.",
630 "location": "path", 519 "location": "path",
631 "required": true, 520 "required": true,
632 "type": "string" 521 "type": "string"
633 },
634 "appsId": {
635 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
636 "location": "path",
637 "required": true,
638 "type": "string"
639 } 522 }
640 }, 523 },
641 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions/{versionsId}", 524 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions/{versionsId}",
642 "response": { 525 "response": {
643 "$ref": "Version" 526 "$ref": "Version"
644 }, 527 },
645 "scopes": [ 528 "scopes": [
646 "https://www.googleapis.com/auth/appengi ne.admin", 529 "https://www.googleapis.com/auth/appengi ne.admin",
647 "https://www.googleapis.com/auth/cloud-p latform", 530 "https://www.googleapis.com/auth/cloud-p latform",
648 "https://www.googleapis.com/auth/cloud-p latform.read-only" 531 "https://www.googleapis.com/auth/cloud-p latform.read-only"
649 ] 532 ]
650 }, 533 },
651 "create": { 534 "create": {
652 "description": "Deploys new code and resourc e files to a new version.", 535 "description": "Deploys new code and resourc e files to a new version.",
653 "httpMethod": "POST", 536 "httpMethod": "POST",
654 "id": "appengine.apps.services.versions.crea te", 537 "id": "appengine.apps.services.versions.crea te",
655 "parameterOrder": [ 538 "parameterOrder": [
656 "appsId", 539 "appsId",
657 "servicesId" 540 "servicesId"
658 ], 541 ],
659 "parameters": { 542 "parameters": {
543 "servicesId": {
544 "description": "Part of `name`. See documentation of `appsId`.",
545 "location": "path",
546 "required": true,
547 "type": "string"
548 },
660 "appsId": { 549 "appsId": {
661 "description": "Part of `name`. Name of the resource to update. For example: \"apps/myapp/services/default\".", 550 "description": "Part of `name`. Name of the resource to update. For example: \"apps/myapp/services/default\".",
662 "location": "path", 551 "location": "path",
663 "required": true, 552 "required": true,
664 "type": "string" 553 "type": "string"
665 },
666 "servicesId": {
667 "description": "Part of `name`. See documentation of `appsId`.",
668 "location": "path",
669 "required": true,
670 "type": "string"
671 } 554 }
672 }, 555 },
673 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions", 556 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions",
674 "request": { 557 "request": {
675 "$ref": "Version" 558 "$ref": "Version"
676 }, 559 },
677 "response": { 560 "response": {
678 "$ref": "Operation" 561 "$ref": "Operation"
679 }, 562 },
680 "scopes": [ 563 "scopes": [
681 "https://www.googleapis.com/auth/cloud-p latform" 564 "https://www.googleapis.com/auth/cloud-p latform"
682 ] 565 ]
683 },
684 "delete": {
685 "description": "Deletes an existing version. ",
686 "httpMethod": "DELETE",
687 "id": "appengine.apps.services.versions.dele te",
688 "parameterOrder": [
689 "appsId",
690 "servicesId",
691 "versionsId"
692 ],
693 "parameters": {
694 "versionsId": {
695 "description": "Part of `name`. See documentation of `appsId`.",
696 "location": "path",
697 "required": true,
698 "type": "string"
699 },
700 "servicesId": {
701 "description": "Part of `name`. See documentation of `appsId`.",
702 "location": "path",
703 "required": true,
704 "type": "string"
705 },
706 "appsId": {
707 "description": "Part of `name`. Name of the resource requested. Example: apps/myapp/services/default/versions/v1.",
708 "location": "path",
709 "required": true,
710 "type": "string"
711 }
712 },
713 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions/{versionsId}",
714 "response": {
715 "$ref": "Operation"
716 },
717 "scopes": [
718 "https://www.googleapis.com/auth/cloud-p latform"
719 ]
720 } 566 }
721 }, 567 },
722 "resources": { 568 "resources": {
723 "instances": { 569 "instances": {
724 "methods": { 570 "methods": {
725 "delete": { 571 "delete": {
726 "description": "Stops a running inst ance.", 572 "description": "Stops a running inst ance.",
727 "httpMethod": "DELETE", 573 "httpMethod": "DELETE",
728 "id": "appengine.apps.services.versi ons.instances.delete", 574 "id": "appengine.apps.services.versi ons.instances.delete",
729 "parameterOrder": [ 575 "parameterOrder": [
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 "description": "Gets instance inform ation.", 666 "description": "Gets instance inform ation.",
821 "httpMethod": "GET", 667 "httpMethod": "GET",
822 "id": "appengine.apps.services.versi ons.instances.get", 668 "id": "appengine.apps.services.versi ons.instances.get",
823 "parameterOrder": [ 669 "parameterOrder": [
824 "appsId", 670 "appsId",
825 "servicesId", 671 "servicesId",
826 "versionsId", 672 "versionsId",
827 "instancesId" 673 "instancesId"
828 ], 674 ],
829 "parameters": { 675 "parameters": {
830 "servicesId": {
831 "description": "Part of `nam e`. See documentation of `appsId`.",
832 "location": "path",
833 "required": true,
834 "type": "string"
835 },
836 "instancesId": { 676 "instancesId": {
837 "description": "Part of `nam e`. See documentation of `appsId`.", 677 "description": "Part of `nam e`. See documentation of `appsId`.",
838 "location": "path", 678 "location": "path",
839 "required": true, 679 "required": true,
840 "type": "string" 680 "type": "string"
841 }, 681 },
842 "appsId": { 682 "appsId": {
843 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.", 683 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.",
844 "location": "path", 684 "location": "path",
845 "required": true, 685 "required": true,
846 "type": "string" 686 "type": "string"
847 }, 687 },
848 "versionsId": { 688 "versionsId": {
849 "description": "Part of `nam e`. See documentation of `appsId`.", 689 "description": "Part of `nam e`. See documentation of `appsId`.",
850 "location": "path", 690 "location": "path",
851 "required": true, 691 "required": true,
852 "type": "string" 692 "type": "string"
693 },
694 "servicesId": {
695 "description": "Part of `nam e`. See documentation of `appsId`.",
696 "location": "path",
697 "required": true,
698 "type": "string"
853 } 699 }
854 }, 700 },
855 "path": "v1beta5/apps/{appsId}/servi ces/{servicesId}/versions/{versionsId}/instances/{instancesId}", 701 "path": "v1beta5/apps/{appsId}/servi ces/{servicesId}/versions/{versionsId}/instances/{instancesId}",
856 "response": { 702 "response": {
857 "$ref": "Instance" 703 "$ref": "Instance"
858 }, 704 },
859 "scopes": [ 705 "scopes": [
860 "https://www.googleapis.com/auth /appengine.admin", 706 "https://www.googleapis.com/auth /appengine.admin",
861 "https://www.googleapis.com/auth /cloud-platform", 707 "https://www.googleapis.com/auth /cloud-platform",
862 "https://www.googleapis.com/auth /cloud-platform.read-only" 708 "https://www.googleapis.com/auth /cloud-platform.read-only"
863 ] 709 ]
864 }, 710 },
865 "debug": { 711 "debug": {
866 "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 .", 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 .",
867 "httpMethod": "POST", 713 "httpMethod": "POST",
868 "id": "appengine.apps.services.versi ons.instances.debug", 714 "id": "appengine.apps.services.versi ons.instances.debug",
869 "parameterOrder": [ 715 "parameterOrder": [
870 "appsId", 716 "appsId",
871 "servicesId", 717 "servicesId",
872 "versionsId", 718 "versionsId",
873 "instancesId" 719 "instancesId"
874 ], 720 ],
875 "parameters": { 721 "parameters": {
722 "servicesId": {
723 "description": "Part of `nam e`. See documentation of `appsId`.",
724 "location": "path",
725 "required": true,
726 "type": "string"
727 },
876 "instancesId": { 728 "instancesId": {
877 "description": "Part of `nam e`. See documentation of `appsId`.", 729 "description": "Part of `nam e`. See documentation of `appsId`.",
878 "location": "path", 730 "location": "path",
879 "required": true, 731 "required": true,
880 "type": "string" 732 "type": "string"
881 }, 733 },
882 "appsId": { 734 "appsId": {
883 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.", 735 "description": "Part of `nam e`. Name of the resource requested. Example: apps/myapp/services/default/version s/v1/instances/instance-1.",
884 "location": "path", 736 "location": "path",
885 "required": true, 737 "required": true,
886 "type": "string" 738 "type": "string"
887 }, 739 },
888 "versionsId": { 740 "versionsId": {
889 "description": "Part of `nam e`. See documentation of `appsId`.", 741 "description": "Part of `nam e`. See documentation of `appsId`.",
890 "location": "path", 742 "location": "path",
891 "required": true, 743 "required": true,
892 "type": "string"
893 },
894 "servicesId": {
895 "description": "Part of `nam e`. See documentation of `appsId`.",
896 "location": "path",
897 "required": true,
898 "type": "string" 744 "type": "string"
899 } 745 }
900 }, 746 },
901 "path": "v1beta5/apps/{appsId}/servi ces/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug", 747 "path": "v1beta5/apps/{appsId}/servi ces/{servicesId}/versions/{versionsId}/instances/{instancesId}:debug",
902 "request": { 748 "request": {
903 "$ref": "DebugInstanceRequest" 749 "$ref": "DebugInstanceRequest"
904 }, 750 },
905 "response": { 751 "response": {
906 "$ref": "Operation" 752 "$ref": "Operation"
907 }, 753 },
908 "scopes": [ 754 "scopes": [
909 "https://www.googleapis.com/auth /cloud-platform" 755 "https://www.googleapis.com/auth /cloud-platform"
910 ] 756 ]
911 } 757 }
912 } 758 }
913 } 759 }
914 } 760 }
915 } 761 }
916 } 762 }
763 },
764 "operations": {
765 "methods": {
766 "get": {
767 "description": "Gets the latest state of a long-runn ing operation. Clients can use this method to poll the operation result at inter vals as recommended by the API service.",
768 "httpMethod": "GET",
769 "id": "appengine.apps.operations.get",
770 "parameterOrder": [
771 "appsId",
772 "operationsId"
773 ],
774 "parameters": {
775 "appsId": {
776 "description": "Part of `name`. The name of the operation resource.",
777 "location": "path",
778 "required": true,
779 "type": "string"
780 },
781 "operationsId": {
782 "description": "Part of `name`. See document ation of `appsId`.",
783 "location": "path",
784 "required": true,
785 "type": "string"
786 }
787 },
788 "path": "v1beta5/apps/{appsId}/operations/{operation sId}",
789 "response": {
790 "$ref": "Operation"
791 },
792 "scopes": [
793 "https://www.googleapis.com/auth/appengine.admin ",
794 "https://www.googleapis.com/auth/cloud-platform" ,
795 "https://www.googleapis.com/auth/cloud-platform. read-only"
796 ]
797 },
798 "list": {
799 "description": "Lists operations that match the spec ified filter in the request. If the server doesn't support this method, it retur ns UNIMPLEMENTED.NOTE: the name binding allows API services to override the bind ing to use different resource name schemes, such as users/*/operations. To overr ide the binding, API services can add a binding such as \"/v1/{name=users/*}/ope rations\" to their service configuration. For backwards compatibility, the defau lt name includes the operations collection id, however overriding users must ens ure the name binding is the parent resource, without the operations collection i d.",
800 "httpMethod": "GET",
801 "id": "appengine.apps.operations.list",
802 "parameterOrder": [
803 "appsId"
804 ],
805 "parameters": {
806 "filter": {
807 "description": "The standard list filter.",
808 "location": "query",
809 "type": "string"
810 },
811 "pageToken": {
812 "description": "The standard list page token .",
813 "location": "query",
814 "type": "string"
815 },
816 "appsId": {
817 "description": "Part of `name`. The name of the operation's parent resource.",
818 "location": "path",
819 "required": true,
820 "type": "string"
821 },
822 "pageSize": {
823 "description": "The standard list page size. ",
824 "format": "int32",
825 "location": "query",
826 "type": "integer"
827 }
828 },
829 "path": "v1beta5/apps/{appsId}/operations",
830 "response": {
831 "$ref": "ListOperationsResponse"
832 },
833 "scopes": [
834 "https://www.googleapis.com/auth/appengine.admin ",
835 "https://www.googleapis.com/auth/cloud-platform" ,
836 "https://www.googleapis.com/auth/cloud-platform. read-only"
837 ]
838 }
839 }
840 },
841 "locations": {
842 "methods": {
843 "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": "20170626", 921 "revision": "20170721",
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 },
924 "HealthCheck": { 1295 "HealthCheck": {
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.", 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.",
926 "id": "HealthCheck", 1297 "id": "HealthCheck",
927 "properties": { 1298 "properties": {
1299 "disableHealthCheck": {
1300 "description": "Whether to explicitly disable health checks for this instance.",
1301 "type": "boolean"
1302 },
1303 "host": {
1304 "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"",
1305 "type": "string"
1306 },
1307 "healthyThreshold": {
1308 "description": "Number of consecutive successful health chec ks required before receiving traffic.",
1309 "format": "uint32",
1310 "type": "integer"
1311 },
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": {
1318 "description": "Interval between health checks.",
1319 "format": "google-duration",
1320 "type": "string"
1321 },
928 "timeout": { 1322 "timeout": {
929 "description": "Time before the health check is considered f ailed.", 1323 "description": "Time before the health check is considered f ailed.",
930 "format": "google-duration", 1324 "format": "google-duration",
931 "type": "string" 1325 "type": "string"
932 }, 1326 },
933 "unhealthyThreshold": { 1327 "unhealthyThreshold": {
934 "description": "Number of consecutive failed health checks r equired before removing traffic.", 1328 "description": "Number of consecutive failed health checks r equired before removing traffic.",
935 "format": "uint32", 1329 "format": "uint32",
936 "type": "integer" 1330 "type": "integer"
937 },
938 "disableHealthCheck": {
939 "description": "Whether to explicitly disable health checks for this instance.",
940 "type": "boolean"
941 },
942 "host": {
943 "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"",
944 "type": "string"
945 },
946 "healthyThreshold": {
947 "description": "Number of consecutive successful health chec ks required before receiving traffic.",
948 "format": "uint32",
949 "type": "integer"
950 },
951 "restartThreshold": {
952 "description": "Number of consecutive failed health checks r equired before an instance is restarted.",
953 "format": "uint32",
954 "type": "integer"
955 },
956 "checkInterval": {
957 "description": "Interval between health checks.",
958 "format": "google-duration",
959 "type": "string"
960 } 1331 }
961 }, 1332 },
962 "type": "object" 1333 "type": "object"
963 }, 1334 },
964 "SourceReference": { 1335 "SourceReference": {
965 "description": "Reference to a particular snapshot of the source tre e used to build and deploy the application.", 1336 "description": "Reference to a particular snapshot of the source tre e used to build and deploy the application.",
966 "id": "SourceReference", 1337 "id": "SourceReference",
967 "properties": { 1338 "properties": {
1339 "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\"",
1341 "type": "string"
1342 },
968 "repository": { 1343 "repository": {
969 "description": "URI string identifying the repository. Examp le: \"https://source.developers.google.com/p/app-123/r/default\"", 1344 "description": "URI string identifying the repository. Examp le: \"https://source.developers.google.com/p/app-123/r/default\"",
970 "type": "string" 1345 "type": "string"
971 },
972 "revisionId": {
973 "description": "The canonical, persistent identifier of the deployed revision. Aliases that include tags or branch names are not allowed. Ex ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"",
974 "type": "string"
975 } 1346 }
976 }, 1347 },
977 "type": "object" 1348 "type": "object"
978 }, 1349 },
979 "DebugInstanceRequest": { 1350 "DebugInstanceRequest": {
980 "description": "Request message for Instances.DebugInstance.", 1351 "description": "Request message for Instances.DebugInstance.",
981 "id": "DebugInstanceRequest", 1352 "id": "DebugInstanceRequest",
982 "properties": { 1353 "properties": {
983 "sshKey": { 1354 "sshKey": {
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).", 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).",
(...skipping 14 matching lines...) Expand all
999 "description": "Version of the library to select, or \"lates t\".", 1370 "description": "Version of the library to select, or \"lates t\".",
1000 "type": "string" 1371 "type": "string"
1001 } 1372 }
1002 }, 1373 },
1003 "type": "object" 1374 "type": "object"
1004 }, 1375 },
1005 "OperationMetadataV1Beta5": { 1376 "OperationMetadataV1Beta5": {
1006 "description": "Metadata for the given google.longrunning.Operation. ", 1377 "description": "Metadata for the given google.longrunning.Operation. ",
1007 "id": "OperationMetadataV1Beta5", 1378 "id": "OperationMetadataV1Beta5",
1008 "properties": { 1379 "properties": {
1009 "target": {
1010 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
1011 "type": "string"
1012 },
1013 "user": {
1014 "description": "User who requested this operation.@OutputOnl y",
1015 "type": "string"
1016 },
1017 "method": {
1018 "description": "API method name that initiated this operatio n. Example: google.appengine.v1beta5.Version.CreateVersion.@OutputOnly",
1019 "type": "string"
1020 },
1021 "insertTime": { 1380 "insertTime": {
1022 "description": "Timestamp that this operation was created.@O utputOnly", 1381 "description": "Timestamp that this operation was created.@O utputOnly",
1023 "format": "google-datetime", 1382 "format": "google-datetime",
1024 "type": "string" 1383 "type": "string"
1025 }, 1384 },
1026 "endTime": { 1385 "endTime": {
1027 "description": "Timestamp that this operation completed.@Out putOnly", 1386 "description": "Timestamp that this operation completed.@Out putOnly",
1028 "format": "google-datetime", 1387 "format": "google-datetime",
1029 "type": "string" 1388 "type": "string"
1389 },
1390 "target": {
1391 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
1392 "type": "string"
1393 },
1394 "user": {
1395 "description": "User who requested this operation.@OutputOnl y",
1396 "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"
1030 } 1401 }
1031 }, 1402 },
1032 "type": "object" 1403 "type": "object"
1033 }, 1404 },
1034 "ListLocationsResponse": { 1405 "ListLocationsResponse": {
1035 "description": "The response message for Locations.ListLocations.", 1406 "description": "The response message for Locations.ListLocations.",
1036 "id": "ListLocationsResponse", 1407 "id": "ListLocationsResponse",
1037 "properties": { 1408 "properties": {
1038 "nextPageToken": { 1409 "nextPageToken": {
1039 "description": "The standard List next-page token.", 1410 "description": "The standard List next-page token.",
1040 "type": "string" 1411 "type": "string"
1041 }, 1412 },
1042 "locations": { 1413 "locations": {
1043 "description": "A list of locations that matches the specifi ed filter in the request.", 1414 "description": "A list of locations that matches the specifi ed filter in the request.",
1044 "items": { 1415 "items": {
1045 "$ref": "Location" 1416 "$ref": "Location"
1046 }, 1417 },
1047 "type": "array" 1418 "type": "array"
1048 } 1419 }
1049 }, 1420 },
1050 "type": "object" 1421 "type": "object"
1051 }, 1422 },
1052 "Version": { 1423 "Version": {
1053 "description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.", 1424 "description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.",
1054 "id": "Version", 1425 "id": "Version",
1055 "properties": { 1426 "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 },
1056 "manualScaling": { 1455 "manualScaling": {
1057 "$ref": "ManualScaling", 1456 "$ref": "ManualScaling",
1058 "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." 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."
1059 }, 1458 },
1060 "name": { 1459 "name": {
1061 "description": "Full path to the Version resource in the API . Example: apps/myapp/services/default/versions/v1.@OutputOnly", 1460 "description": "Full path to the Version resource in the API . Example: apps/myapp/services/default/versions/v1.@OutputOnly",
1062 "type": "string" 1461 "type": "string"
1063 }, 1462 },
1064 "apiConfig": { 1463 "apiConfig": {
1065 "$ref": "ApiConfigHandler", 1464 "$ref": "ApiConfigHandler",
(...skipping 18 matching lines...) Expand all
1084 "SERVING", 1483 "SERVING",
1085 "STOPPED" 1484 "STOPPED"
1086 ], 1485 ],
1087 "enumDescriptions": [ 1486 "enumDescriptions": [
1088 "Not specified.", 1487 "Not specified.",
1089 "Currently serving. Instances are created according to t he scaling settings of the version.", 1488 "Currently serving. Instances are created according to t he scaling settings of the version.",
1090 "Disabled from serving. No instances will be created and the scaling settings are ignored until the state of the version changes to SERV ING." 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."
1091 ], 1490 ],
1092 "type": "string" 1491 "type": "string"
1093 }, 1492 },
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 },
1094 "deployment": { 1497 "deployment": {
1095 "$ref": "Deployment", 1498 "$ref": "Deployment",
1096 "description": "Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set." 1499 "description": "Code and application artifacts that make up this version.Only returned in GET requests if view=FULL is set."
1097 }, 1500 },
1098 "runtimeApiVersion": {
1099 "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",
1100 "type": "string"
1101 },
1102 "resources": {
1103 "$ref": "Resources",
1104 "description": "Machine resources for this version. Only app licable for VM runtimes."
1105 },
1106 "inboundServices": { 1501 "inboundServices": {
1107 "description": "Before an application can receive email or X MPP messages, the application must be configured to enable the service.", 1502 "description": "Before an application can receive email or X MPP messages, the application must be configured to enable the service.",
1108 "enumDescriptions": [ 1503 "enumDescriptions": [
1109 "Not specified.", 1504 "Not specified.",
1110 "Allows an application to receive mail.", 1505 "Allows an application to receive mail.",
1111 "Allows an application to receive email-bound notificati ons.", 1506 "Allows an application to receive email-bound notificati ons.",
1112 "Allows an application to receive error stanzas.", 1507 "Allows an application to receive error stanzas.",
1113 "Allows an application to receive instant messages.", 1508 "Allows an application to receive instant messages.",
1114 "Allows an application to receive user subscription POST s.", 1509 "Allows an application to receive user subscription POST s.",
1115 "Allows an application to receive a user's chat presence .", 1510 "Allows an application to receive a user's chat presence .",
1116 "Registers an application for notifications when a clien t connects or disconnects from a channel.", 1511 "Registers an application for notifications when a clien t connects or disconnects from a channel.",
1117 "Enables warmup requests." 1512 "Enables warmup requests."
1118 ], 1513 ],
1119 "items": { 1514 "items": {
1120 "enum": [ 1515 "enum": [
1121 "INBOUND_SERVICE_UNSPECIFIED", 1516 "INBOUND_SERVICE_UNSPECIFIED",
1122 "INBOUND_SERVICE_MAIL", 1517 "INBOUND_SERVICE_MAIL",
1123 "INBOUND_SERVICE_MAIL_BOUNCE", 1518 "INBOUND_SERVICE_MAIL_BOUNCE",
1124 "INBOUND_SERVICE_XMPP_ERROR", 1519 "INBOUND_SERVICE_XMPP_ERROR",
1125 "INBOUND_SERVICE_XMPP_MESSAGE", 1520 "INBOUND_SERVICE_XMPP_MESSAGE",
1126 "INBOUND_SERVICE_XMPP_SUBSCRIBE", 1521 "INBOUND_SERVICE_XMPP_SUBSCRIBE",
1127 "INBOUND_SERVICE_XMPP_PRESENCE", 1522 "INBOUND_SERVICE_XMPP_PRESENCE",
1128 "INBOUND_SERVICE_CHANNEL_PRESENCE", 1523 "INBOUND_SERVICE_CHANNEL_PRESENCE",
1129 "INBOUND_SERVICE_WARMUP" 1524 "INBOUND_SERVICE_WARMUP"
1130 ], 1525 ],
1131 "type": "string" 1526 "type": "string"
1132 }, 1527 },
1133 "type": "array" 1528 "type": "array"
1134 }, 1529 },
1530 "resources": {
1531 "$ref": "Resources",
1532 "description": "Machine resources for this version. Only app licable for VM runtimes."
1533 },
1135 "errorHandlers": { 1534 "errorHandlers": {
1136 "description": "Custom static error pages. Limited to 10KB p er page.Only returned in GET requests if view=FULL is set.", 1535 "description": "Custom static error pages. Limited to 10KB p er page.Only returned in GET requests if view=FULL is set.",
1137 "items": { 1536 "items": {
1138 "$ref": "ErrorHandler" 1537 "$ref": "ErrorHandler"
1139 }, 1538 },
1140 "type": "array" 1539 "type": "array"
1141 }, 1540 },
1142 "defaultExpiration": { 1541 "defaultExpiration": {
1143 "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.", 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.",
1144 "format": "google-duration", 1543 "format": "google-duration",
1145 "type": "string" 1544 "type": "string"
1146 }, 1545 },
1147 "libraries": { 1546 "libraries": {
1148 "description": "Configuration for third-party Python runtime libraries required by the application.Only returned in GET requests if view=FUL L is set.", 1547 "description": "Configuration for third-party Python runtime libraries required by the application.Only returned in GET requests if view=FUL L is set.",
1149 "items": { 1548 "items": {
1150 "$ref": "Library" 1549 "$ref": "Library"
1151 }, 1550 },
1152 "type": "array" 1551 "type": "array"
1153 }, 1552 },
1553 "nobuildFilesRegex": {
1554 "description": "Files that match this pattern will not be bu ilt into this version. Only applicable for Go runtimes.Only returned in GET requ ests if view=FULL is set.",
1555 "type": "string"
1556 },
1154 "creationTime": { 1557 "creationTime": {
1155 "description": "Time that this version was created.@OutputOn ly", 1558 "description": "Time that this version was created.@OutputOn ly",
1156 "format": "google-datetime", 1559 "format": "google-datetime",
1157 "type": "string" 1560 "type": "string"
1158 }, 1561 },
1159 "nobuildFilesRegex": {
1160 "description": "Files that match this pattern will not be bu ilt into this version. Only applicable for Go runtimes.Only returned in GET requ ests if view=FULL is set.",
1161 "type": "string"
1162 },
1163 "basicScaling": { 1562 "basicScaling": {
1164 "$ref": "BasicScaling", 1563 "$ref": "BasicScaling",
1165 "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned do wn when the app becomes idle. Basic scaling is ideal for work that is intermitte nt or driven by user activity." 1564 "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned do wn when the app becomes idle. Basic scaling is ideal for work that is intermitte nt or driven by user activity."
1166 }, 1565 },
1167 "runtime": { 1566 "runtime": {
1168 "description": "Desired runtime. Example: python27.", 1567 "description": "Desired runtime. Example: python27.",
1169 "type": "string" 1568 "type": "string"
1170 }, 1569 },
1171 "id": { 1570 "id": {
1172 "description": "Relative name of the version within the modu le. Example: v1. Version names can contain only lowercase letters, numbers, or h yphens. Reserved names: \"default\", \"latest\", and any name with the prefix \" ah-\".", 1571 "description": "Relative name of the version within the modu le. Example: v1. Version names can contain only lowercase letters, numbers, or h yphens. Reserved names: \"default\", \"latest\", and any name with the prefix \" ah-\".",
(...skipping 13 matching lines...) Expand all
1186 "betaSettings": { 1585 "betaSettings": {
1187 "additionalProperties": { 1586 "additionalProperties": {
1188 "type": "string" 1587 "type": "string"
1189 }, 1588 },
1190 "description": "Metadata settings that are supplied to this version to enable beta runtime features.", 1589 "description": "Metadata settings that are supplied to this version to enable beta runtime features.",
1191 "type": "object" 1590 "type": "object"
1192 }, 1591 },
1193 "env": { 1592 "env": {
1194 "description": "App Engine execution environment to use for this version.Defaults to 1.", 1593 "description": "App Engine execution environment to use for this version.Defaults to 1.",
1195 "type": "string" 1594 "type": "string"
1196 },
1197 "handlers": {
1198 "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.",
1199 "items": {
1200 "$ref": "UrlMap"
1201 },
1202 "type": "array"
1203 },
1204 "deployer": {
1205 "description": "Email address of the user who created this v ersion.@OutputOnly",
1206 "type": "string"
1207 },
1208 "automaticScaling": {
1209 "$ref": "AutomaticScaling",
1210 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics."
1211 },
1212 "diskUsageBytes": {
1213 "description": "Total size of version files hosted on App En gine disk in bytes.@OutputOnly",
1214 "format": "int64",
1215 "type": "string"
1216 },
1217 "healthCheck": {
1218 "$ref": "HealthCheck",
1219 "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."
1220 },
1221 "threadsafe": {
1222 "description": "Whether multiple requests can be dispatched to this version at once.",
1223 "type": "boolean"
1224 } 1595 }
1225 }, 1596 },
1226 "type": "object" 1597 "type": "object"
1227 }, 1598 },
1228 "ContainerInfo": { 1599 "ContainerInfo": {
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.", 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.",
1230 "id": "ContainerInfo", 1601 "id": "ContainerInfo",
1231 "properties": { 1602 "properties": {
1232 "image": { 1603 "image": {
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\" ", 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\" ",
(...skipping 12 matching lines...) Expand all
1246 "type": "integer" 1617 "type": "integer"
1247 }, 1618 },
1248 "targetRequestCountPerSec": { 1619 "targetRequestCountPerSec": {
1249 "description": "Target requests per second.", 1620 "description": "Target requests per second.",
1250 "format": "int32", 1621 "format": "int32",
1251 "type": "integer" 1622 "type": "integer"
1252 } 1623 }
1253 }, 1624 },
1254 "type": "object" 1625 "type": "object"
1255 }, 1626 },
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 },
1271 "UrlMap": { 1627 "UrlMap": {
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.", 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.",
1273 "id": "UrlMap", 1629 "id": "UrlMap",
1274 "properties": { 1630 "properties": {
1275 "securityLevel": { 1631 "securityLevel": {
1276 "description": "Security (HTTPS) enforcement for this URL.", 1632 "description": "Security (HTTPS) enforcement for this URL.",
1277 "enum": [ 1633 "enum": [
1278 "SECURE_UNSPECIFIED", 1634 "SECURE_UNSPECIFIED",
1279 "SECURE_DEFAULT", 1635 "SECURE_DEFAULT",
1280 "SECURE_NEVER", 1636 "SECURE_NEVER",
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 "301 Moved Permanently code.", 1706 "301 Moved Permanently code.",
1351 "302 Moved Temporarily code.", 1707 "302 Moved Temporarily code.",
1352 "303 See Other code.", 1708 "303 See Other code.",
1353 "307 Temporary Redirect code." 1709 "307 Temporary Redirect code."
1354 ], 1710 ],
1355 "type": "string" 1711 "type": "string"
1356 } 1712 }
1357 }, 1713 },
1358 "type": "object" 1714 "type": "object"
1359 }, 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 },
1360 "ApiConfigHandler": { 1731 "ApiConfigHandler": {
1361 "description": "Google Cloud Endpoints (https://cloud.google.com/app engine/docs/python/endpoints/) configuration for API handlers.", 1732 "description": "Google Cloud Endpoints (https://cloud.google.com/app engine/docs/python/endpoints/) configuration for API handlers.",
1362 "id": "ApiConfigHandler", 1733 "id": "ApiConfigHandler",
1363 "properties": { 1734 "properties": {
1364 "script": {
1365 "description": "Path to the script from the application root directory.",
1366 "type": "string"
1367 },
1368 "login": {
1369 "description": "Level of login required to access this resou rce. Defaults to optional.",
1370 "enum": [
1371 "LOGIN_UNSPECIFIED",
1372 "LOGIN_OPTIONAL",
1373 "LOGIN_ADMIN",
1374 "LOGIN_REQUIRED"
1375 ],
1376 "enumDescriptions": [
1377 "Not specified. LOGIN_OPTIONAL is assumed.",
1378 "Does not require that the user is signed in.",
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.",
1380 "If the user has signed in, the handler proceeds normall y. Otherwise, the action given in auth_fail_action is taken."
1381 ],
1382 "type": "string"
1383 },
1384 "url": {
1385 "description": "URL to serve the endpoint at.",
1386 "type": "string"
1387 },
1388 "securityLevel": { 1735 "securityLevel": {
1389 "description": "Security (HTTPS) enforcement for this URL.", 1736 "description": "Security (HTTPS) enforcement for this URL.",
1390 "enum": [ 1737 "enum": [
1391 "SECURE_UNSPECIFIED", 1738 "SECURE_UNSPECIFIED",
1392 "SECURE_DEFAULT", 1739 "SECURE_DEFAULT",
1393 "SECURE_NEVER", 1740 "SECURE_NEVER",
1394 "SECURE_OPTIONAL", 1741 "SECURE_OPTIONAL",
1395 "SECURE_ALWAYS" 1742 "SECURE_ALWAYS"
1396 ], 1743 ],
1397 "enumDescriptions": [ 1744 "enumDescriptions": [
(...skipping 11 matching lines...) Expand all
1409 "AUTH_FAIL_ACTION_UNSPECIFIED", 1756 "AUTH_FAIL_ACTION_UNSPECIFIED",
1410 "AUTH_FAIL_ACTION_REDIRECT", 1757 "AUTH_FAIL_ACTION_REDIRECT",
1411 "AUTH_FAIL_ACTION_UNAUTHORIZED" 1758 "AUTH_FAIL_ACTION_UNAUTHORIZED"
1412 ], 1759 ],
1413 "enumDescriptions": [ 1760 "enumDescriptions": [
1414 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.", 1761 "Not specified. AUTH_FAIL_ACTION_REDIRECT is assumed.",
1415 "Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account." , 1762 "Redirects user to \"accounts.google.com\". The user is redirected back to the application URL after signing in or creating an account." ,
1416 "Rejects request with an401 HTTP status code and an erro r message." 1763 "Rejects request with an401 HTTP status code and an erro r message."
1417 ], 1764 ],
1418 "type": "string" 1765 "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"
1419 } 1790 }
1420 }, 1791 },
1421 "type": "object" 1792 "type": "object"
1422 }, 1793 },
1423 "Operation": { 1794 "Operation": {
1424 "description": "This resource represents a long-running operation th at is the result of a network API call.", 1795 "description": "This resource represents a long-running operation th at is the result of a network API call.",
1425 "id": "Operation", 1796 "id": "Operation",
1426 "properties": { 1797 "properties": {
1798 "error": {
1799 "$ref": "Status",
1800 "description": "The error result of the operation in case of failure or cancellation."
1801 },
1802 "metadata": {
1803 "additionalProperties": {
1804 "description": "Properties of the object. Contains field @type with type URL.",
1805 "type": "any"
1806 },
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.",
1808 "type": "object"
1809 },
1427 "done": { 1810 "done": {
1428 "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.", 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.",
1429 "type": "boolean" 1812 "type": "boolean"
1430 }, 1813 },
1431 "response": { 1814 "response": {
1432 "additionalProperties": { 1815 "additionalProperties": {
1433 "description": "Properties of the object. Contains field @type with type URL.", 1816 "description": "Properties of the object. Contains field @type with type URL.",
1434 "type": "any" 1817 "type": "any"
1435 }, 1818 },
1436 "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.", 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.",
1437 "type": "object" 1820 "type": "object"
1438 }, 1821 },
1439 "name": { 1822 "name": {
1440 "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.", 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.",
1441 "type": "string" 1824 "type": "string"
1442 },
1443 "error": {
1444 "$ref": "Status",
1445 "description": "The error result of the operation in case of failure or cancellation."
1446 },
1447 "metadata": {
1448 "additionalProperties": {
1449 "description": "Properties of the object. Contains field @type with type URL.",
1450 "type": "any"
1451 },
1452 "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.",
1453 "type": "object"
1454 } 1825 }
1455 }, 1826 },
1456 "type": "object" 1827 "type": "object"
1457 }, 1828 },
1458 "FileInfo": { 1829 "FileInfo": {
1459 "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.", 1830 "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.",
1460 "id": "FileInfo", 1831 "id": "FileInfo",
1461 "properties": { 1832 "properties": {
1833 "sha1Sum": {
1834 "description": "The SHA1 hash of the file, in hex.",
1835 "type": "string"
1836 },
1837 "mimeType": {
1838 "description": "The MIME type of the file.Defaults to the va lue from Google Cloud Storage.",
1839 "type": "string"
1840 },
1462 "sourceUrl": { 1841 "sourceUrl": {
1463 "description": "URL source to use to fetch this file. Must b e a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.goo gleapis.com/<bucket>/<object>'.", 1842 "description": "URL source to use to fetch this file. Must b e a URL to a resource in Google Cloud Storage in the form 'http(s)://storage.goo gleapis.com/<bucket>/<object>'.",
1464 "type": "string" 1843 "type": "string"
1465 },
1466 "sha1Sum": {
1467 "description": "The SHA1 hash of the file, in hex.",
1468 "type": "string"
1469 },
1470 "mimeType": {
1471 "description": "The MIME type of the file.Defaults to the va lue from Google Cloud Storage.",
1472 "type": "string"
1473 } 1844 }
1474 }, 1845 },
1475 "type": "object" 1846 "type": "object"
1476 }, 1847 },
1477 "StaticFilesHandler": { 1848 "StaticFilesHandler": {
1478 "description": "Files served directly to the user for a given URL, s uch as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which U RLs serve them.", 1849 "description": "Files served directly to the user for a given URL, s uch as images, CSS stylesheets, or JavaScript source files. Static file handlers describe which files in the application directory are static files, and which U RLs serve them.",
1479 "id": "StaticFilesHandler", 1850 "id": "StaticFilesHandler",
1480 "properties": { 1851 "properties": {
1481 "expiration": { 1852 "expiration": {
1482 "description": "Time a static file served by this handler sh ould be cached.", 1853 "description": "Time a static file served by this handler sh ould be cached.",
1483 "format": "google-duration", 1854 "format": "google-duration",
1484 "type": "string" 1855 "type": "string"
1485 }, 1856 },
1857 "applicationReadable": {
1858 "description": "Whether files should also be uploaded as cod e data. By default, files declared in static file handlers are uploaded as stati c data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.",
1859 "type": "boolean"
1860 },
1486 "httpHeaders": { 1861 "httpHeaders": {
1487 "additionalProperties": { 1862 "additionalProperties": {
1488 "type": "string" 1863 "type": "string"
1489 }, 1864 },
1490 "description": "HTTP headers to use for all responses from t hese URLs.", 1865 "description": "HTTP headers to use for all responses from t hese URLs.",
1491 "type": "object" 1866 "type": "object"
1492 }, 1867 },
1493 "applicationReadable": {
1494 "description": "Whether files should also be uploaded as cod e data. By default, files declared in static file handlers are uploaded as stati c data and are only served to end users; they cannot be read by the application. If enabled, uploads are charged against both your code and static data storage resource quotas.",
1495 "type": "boolean"
1496 },
1497 "uploadPathRegex": { 1868 "uploadPathRegex": {
1498 "description": "Regular expression that matches the file pat hs for all files that should be referenced by this handler.", 1869 "description": "Regular expression that matches the file pat hs for all files that should be referenced by this handler.",
1499 "type": "string" 1870 "type": "string"
1500 }, 1871 },
1501 "path": { 1872 "path": {
1502 "description": "Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.", 1873 "description": "Path to the static files matched by the URL pattern, from the application root directory. The path can refer to text matched in groupings in the URL pattern.",
1503 "type": "string" 1874 "type": "string"
1504 }, 1875 },
1505 "mimeType": { 1876 "mimeType": {
1506 "description": "MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.", 1877 "description": "MIME type used to serve all files served by this handler. Defaults to file-specific MIME types, which are derived from each file's filename extension.",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
1565 "format": "google-duration", 1936 "format": "google-duration",
1566 "type": "string" 1937 "type": "string"
1567 } 1938 }
1568 }, 1939 },
1569 "type": "object" 1940 "type": "object"
1570 }, 1941 },
1571 "OperationMetadataExperimental": { 1942 "OperationMetadataExperimental": {
1572 "description": "Metadata for the given google.longrunning.Operation. ", 1943 "description": "Metadata for the given google.longrunning.Operation. ",
1573 "id": "OperationMetadataExperimental", 1944 "id": "OperationMetadataExperimental",
1574 "properties": { 1945 "properties": {
1575 "target": {
1576 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly",
1577 "type": "string"
1578 },
1579 "user": {
1580 "description": "User who requested this operation.@OutputOnl y",
1581 "type": "string"
1582 },
1583 "method": {
1584 "description": "API method that initiated this operation. Ex ample: google.appengine.experimental.CustomDomains.CreateCustomDomain.@OutputOnl y",
1585 "type": "string"
1586 },
1587 "insertTime": { 1946 "insertTime": {
1588 "description": "Time that this operation was created.@Output Only", 1947 "description": "Time that this operation was created.@Output Only",
1589 "format": "google-datetime", 1948 "format": "google-datetime",
1590 "type": "string" 1949 "type": "string"
1591 }, 1950 },
1592 "endTime": { 1951 "endTime": {
1593 "description": "Time that this operation completed.@OutputOn ly", 1952 "description": "Time that this operation completed.@OutputOn ly",
1594 "format": "google-datetime", 1953 "format": "google-datetime",
1595 "type": "string" 1954 "type": "string"
1955 },
1956 "target": {
1957 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/customDomains/example.com.@OutputOnly",
1958 "type": "string"
1959 },
1960 "user": {
1961 "description": "User who requested this operation.@OutputOnl y",
1962 "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"
1596 } 1967 }
1597 }, 1968 },
1598 "type": "object" 1969 "type": "object"
1599 }, 1970 },
1600 "CpuUtilization": { 1971 "CpuUtilization": {
1601 "description": "Target scaling by CPU usage.", 1972 "description": "Target scaling by CPU usage.",
1602 "id": "CpuUtilization", 1973 "id": "CpuUtilization",
1603 "properties": { 1974 "properties": {
1604 "aggregationWindowLength": { 1975 "aggregationWindowLength": {
1605 "description": "Period of time over which CPU utilization is calculated.", 1976 "description": "Period of time over which CPU utilization is calculated.",
1606 "format": "google-duration", 1977 "format": "google-duration",
1607 "type": "string" 1978 "type": "string"
1608 }, 1979 },
1609 "targetUtilization": { 1980 "targetUtilization": {
1610 "description": "Target CPU utilization ratio to maintain whe n scaling. Must be between 0 and 1.", 1981 "description": "Target CPU utilization ratio to maintain whe n scaling. Must be between 0 and 1.",
1611 "format": "double", 1982 "format": "double",
1612 "type": "number" 1983 "type": "number"
1613 } 1984 }
1614 }, 1985 },
1615 "type": "object" 1986 "type": "object"
1616 }, 1987 },
1617 "Status": { 1988 "Status": {
1618 "description": "The Status type defines a logical error model that i s suitable for different programming environments, including REST APIs and RPC A PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t o be:\nSimple to use and understand for most users\nFlexible enough to meet unex pected needsOverviewThe Status message contains three pieces of data: error code , error message, and error details. The error code should be an enum value of go ogle.rpc.Code, but it may accept additional error codes if needed. The error mes sage should be a developer-facing English message that helps developers understa nd and resolve the error. If a localized user-facing error message is needed, pu t the localized message in the error details or localize it in the client. The o ptional error details may contain arbitrary information about the error. There i s a predefined set of error detail types in the package google.rpc that can be u sed for common error conditions.Language mappingThe Status message is the logica l representation of the error model, but it is not necessarily the actual wire f ormat. When the Status message is exposed in different client libraries and diff erent wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model includ e:\nPartial errors. If a service needs to return partial errors to the client, i t may embed the Status in the normal response to indicate the partial errors.\nW orkflow errors. A typical workflow has multiple steps. Each step may have a Stat us message for error reporting.\nBatch operations. If a client uses batch reques t and batch response, the Status message should be used directly inside batch re sponse, one for each error sub-response.\nAsynchronous operations. If an API cal l embeds asynchronous operation results in its response, the status of those ope rations should be represented directly using the Status message.\nLogging. If so me API errors are stored in logs, the message Status could be used directly afte r any stripping needed for security/privacy reasons.", 1989 "description": "The Status type defines a logical error model that i s suitable for different programming environments, including REST APIs and RPC A PIs. It is used by gRPC (https://github.com/grpc). The error model is designed t o be:\nSimple to use and understand for most users\nFlexible enough to meet unex pected needsOverviewThe Status message contains three pieces of data: error code , error message, and error details. The error code should be an enum value of go ogle.rpc.Code, but it may accept additional error codes if needed. The error mes sage should be a developer-facing English message that helps developers understa nd and resolve the error. If a localized user-facing error message is needed, pu t the localized message in the error details or localize it in the client. The o ptional error details may contain arbitrary information about the error. There i s a predefined set of error detail types in the package google.rpc that can be u sed for common error conditions.Language mappingThe Status message is the logica l representation of the error model, but it is not necessarily the actual wire f ormat. When the Status message is exposed in different client libraries and diff erent wire protocols, it can be mapped differently. For example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C.Other usesThe error model and the Status message can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments.Example uses of this error model includ e:\nPartial errors. If a service needs to return partial errors to the client, i t may embed the Status in the normal response to indicate the partial errors.\nW orkflow errors. A typical workflow has multiple steps. Each step may have a Stat us message for error reporting.\nBatch operations. If a client uses batch reques t and batch response, the Status message should be used directly inside batch re sponse, one for each error sub-response.\nAsynchronous operations. If an API cal l embeds asynchronous operation results in its response, the status of those ope rations should be represented directly using the Status message.\nLogging. If so me API errors are stored in logs, the message Status could be used directly afte r any stripping needed for security/privacy reasons.",
1619 "id": "Status", 1990 "id": "Status",
1620 "properties": { 1991 "properties": {
1621 "details": { 1992 "details": {
1622 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.", 1993 "description": "A list of messages that carry the error deta ils. There is a common set of message types for APIs to use.",
1623 "items": { 1994 "items": {
1624 "additionalProperties": { 1995 "additionalProperties": {
1625 "description": "Properties of the object. Contains f ield @type with type URL.", 1996 "description": "Properties of the object. Contains f ield @type with type URL.",
1626 "type": "any" 1997 "type": "any"
1627 }, 1998 },
1628 "type": "object" 1999 "type": "object"
1629 }, 2000 },
1630 "type": "array" 2001 "type": "array"
1631 }, 2002 },
1632 "code": { 2003 "code": {
1633 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 2004 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1634 "format": "int32", 2005 "format": "int32",
1635 "type": "integer" 2006 "type": "integer"
1636 }, 2007 },
1637 "message": { 2008 "message": {
1638 "description": "A developer-facing error message, which shou ld be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.", 2009 "description": "A developer-facing error message, which shou ld be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.",
1639 "type": "string" 2010 "type": "string"
1640 } 2011 }
1641 }, 2012 },
1642 "type": "object" 2013 "type": "object"
1643 }, 2014 },
1644 "IdentityAwareProxy": { 2015 "IdentityAwareProxy": {
1645 "description": "Identity-Aware Proxy", 2016 "description": "Identity-Aware Proxy",
1646 "id": "IdentityAwareProxy", 2017 "id": "IdentityAwareProxy",
1647 "properties": { 2018 "properties": {
1648 "oauth2ClientSecret": {
1649 "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",
1650 "type": "string"
1651 },
1652 "oauth2ClientId": {
1653 "description": "OAuth2 client ID to use for the authenticati on flow.",
1654 "type": "string"
1655 },
1656 "oauth2ClientSecretSha256": { 2019 "oauth2ClientSecretSha256": {
1657 "description": "Hex-encoded SHA-256 hash of the client secre t.@OutputOnly", 2020 "description": "Hex-encoded SHA-256 hash of the client secre t.@OutputOnly",
1658 "type": "string" 2021 "type": "string"
1659 }, 2022 },
1660 "enabled": { 2023 "enabled": {
1661 "description": "Whether the serving infrastructure will auth enticate and authorize all incoming requests.If true, the oauth2_client_id and o auth2_client_secret fields must be non-empty.", 2024 "description": "Whether the serving infrastructure will auth enticate and authorize all incoming requests.If true, the oauth2_client_id and o auth2_client_secret fields must be non-empty.",
1662 "type": "boolean" 2025 "type": "boolean"
1663 } 2026 },
1664 }, 2027 "oauth2ClientSecret": {
1665 "type": "object" 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",
1666 }, 2029 "type": "string"
1667 "ManualScaling": { 2030 },
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.", 2031 "oauth2ClientId": {
1669 "id": "ManualScaling", 2032 "description": "OAuth2 client ID to use for the authenticati on flow.",
1670 "properties": { 2033 "type": "string"
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 } 2034 }
1676 }, 2035 },
1677 "type": "object" 2036 "type": "object"
1678 }, 2037 },
1679 "TrafficSplit": { 2038 "TrafficSplit": {
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.", 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.",
1681 "id": "TrafficSplit", 2040 "id": "TrafficSplit",
1682 "properties": { 2041 "properties": {
1683 "allocations": { 2042 "allocations": {
1684 "additionalProperties": { 2043 "additionalProperties": {
(...skipping 13 matching lines...) Expand all
1698 "enumDescriptions": [ 2057 "enumDescriptions": [
1699 "Diversion method unspecified.", 2058 "Diversion method unspecified.",
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.", 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.",
1701 "Diversion based on applying the modulus operation to a fingerprint of the IP address." 2060 "Diversion based on applying the modulus operation to a fingerprint of the IP address."
1702 ], 2061 ],
1703 "type": "string" 2062 "type": "string"
1704 } 2063 }
1705 }, 2064 },
1706 "type": "object" 2065 "type": "object"
1707 }, 2066 },
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 },
1708 "LocationMetadata": { 2079 "LocationMetadata": {
1709 "description": "Metadata for the given google.cloud.location.Locatio n.", 2080 "description": "Metadata for the given google.cloud.location.Locatio n.",
1710 "id": "LocationMetadata", 2081 "id": "LocationMetadata",
1711 "properties": { 2082 "properties": {
1712 "flexibleEnvironmentAvailable": { 2083 "flexibleEnvironmentAvailable": {
1713 "description": "App Engine Flexible Environment is available in the given location.@OutputOnly", 2084 "description": "App Engine Flexible Environment is available in the given location.@OutputOnly",
1714 "type": "boolean" 2085 "type": "boolean"
1715 }, 2086 },
1716 "standardEnvironmentAvailable": { 2087 "standardEnvironmentAvailable": {
1717 "description": "App Engine Standard Environment is available in the given location.@OutputOnly", 2088 "description": "App Engine Standard Environment is available in the given location.@OutputOnly",
1718 "type": "boolean" 2089 "type": "boolean"
1719 } 2090 }
1720 }, 2091 },
1721 "type": "object" 2092 "type": "object"
1722 }, 2093 },
1723 "OperationMetadataV1Beta": { 2094 "OperationMetadataV1Beta": {
1724 "description": "Metadata for the given google.longrunning.Operation. ", 2095 "description": "Metadata for the given google.longrunning.Operation. ",
1725 "id": "OperationMetadataV1Beta", 2096 "id": "OperationMetadataV1Beta",
1726 "properties": { 2097 "properties": {
1727 "ephemeralMessage": {
1728 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
1729 "type": "string"
1730 },
1731 "method": {
1732 "description": "API method that initiated this operation. Ex ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
1733 "type": "string"
1734 },
1735 "endTime": {
1736 "description": "Time that this operation completed.@OutputOn ly",
1737 "format": "google-datetime",
1738 "type": "string"
1739 },
1740 "warning": { 2098 "warning": {
1741 "description": "Durable messages that persist on every opera tion poll. @OutputOnly", 2099 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
1742 "items": {
1743 "type": "string"
1744 },
1745 "type": "array"
1746 },
1747 "insertTime": {
1748 "description": "Time that this operation was created.@Output Only",
1749 "format": "google-datetime",
1750 "type": "string"
1751 },
1752 "user": {
1753 "description": "User who requested this operation.@OutputOnl y",
1754 "type": "string"
1755 },
1756 "target": {
1757 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
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 "Resources": {
1782 "description": "Machine resources for a version.",
1783 "id": "Resources",
1784 "properties": {
1785 "volumes": {
1786 "description": "Volumes mounted within the app container.",
1787 "items": {
1788 "$ref": "Volume"
1789 },
1790 "type": "array"
1791 },
1792 "diskGb": {
1793 "description": "Disk size (GB) needed.",
1794 "format": "double",
1795 "type": "number"
1796 },
1797 "memoryGb": {
1798 "description": "Memory (GB) needed.",
1799 "format": "double",
1800 "type": "number"
1801 },
1802 "cpu": {
1803 "description": "Number of CPU cores needed.",
1804 "format": "double",
1805 "type": "number"
1806 }
1807 },
1808 "type": "object"
1809 },
1810 "Deployment": {
1811 "description": "Code and application artifacts used to deploy a vers ion to App Engine.",
1812 "id": "Deployment",
1813 "properties": {
1814 "files": {
1815 "additionalProperties": {
1816 "$ref": "FileInfo"
1817 },
1818 "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.",
1819 "type": "object"
1820 },
1821 "sourceReferences": {
1822 "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.",
1823 "items": {
1824 "$ref": "SourceReference"
1825 },
1826 "type": "array"
1827 },
1828 "container": {
1829 "$ref": "ContainerInfo",
1830 "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible e nvironment."
1831 }
1832 },
1833 "type": "object"
1834 },
1835 "Volume": {
1836 "description": "Volumes mounted within the app container. Only appli cable for VM runtimes.",
1837 "id": "Volume",
1838 "properties": {
1839 "volumeType": {
1840 "description": "Underlying volume type, e.g. 'tmpfs'.",
1841 "type": "string"
1842 },
1843 "sizeGb": {
1844 "description": "Volume size in gigabytes.",
1845 "format": "double",
1846 "type": "number"
1847 },
1848 "name": {
1849 "description": "Unique name for the volume.",
1850 "type": "string"
1851 }
1852 },
1853 "type": "object"
1854 },
1855 "Service": {
1856 "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.",
1857 "id": "Service",
1858 "properties": {
1859 "id": {
1860 "description": "Relative name of the service within the appl ication. Example: default.@OutputOnly",
1861 "type": "string"
1862 },
1863 "name": {
1864 "description": "Full path to the Service resource in the API . Example: apps/myapp/services/default.@OutputOnly",
1865 "type": "string"
1866 },
1867 "split": {
1868 "$ref": "TrafficSplit",
1869 "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service."
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 "endTime": {
1948 "description": "Time that this operation completed.@OutputOn ly",
1949 "format": "google-datetime",
1950 "type": "string"
1951 },
1952 "warning": {
1953 "description": "Durable messages that persist on every opera tion poll. @OutputOnly",
1954 "items": {
1955 "type": "string"
1956 },
1957 "type": "array"
1958 },
1959 "insertTime": {
1960 "description": "Time that this operation was created.@Output Only",
1961 "format": "google-datetime",
1962 "type": "string"
1963 },
1964 "target": {
1965 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
1966 "type": "string"
1967 },
1968 "user": {
1969 "description": "User who requested this operation.@OutputOnl y",
1970 "type": "string"
1971 },
1972 "ephemeralMessage": {
1973 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
1974 "type": "string"
1975 },
1976 "method": {
1977 "description": "API method that initiated this operation. Ex ample: google.appengine.v1.Versions.CreateVersion.@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",
2022 "items": { 2100 "items": {
2023 "type": "string" 2101 "type": "string"
2024 }, 2102 },
2025 "type": "array" 2103 "type": "array"
2026 }, 2104 },
2027 "insertTime": { 2105 "insertTime": {
2028 "description": "Time that this operation was created.@Output Only", 2106 "description": "Time that this operation was created.@Output Only",
2029 "format": "google-datetime", 2107 "format": "google-datetime",
2030 "type": "string" 2108 "type": "string"
2031 }, 2109 },
2032 "user": { 2110 "user": {
2033 "description": "User who requested this operation.@OutputOnl y", 2111 "description": "User who requested this operation.@OutputOnl y",
2034 "type": "string" 2112 "type": "string"
2035 }, 2113 },
2036 "target": { 2114 "target": {
2037 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly", 2115 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2038 "type": "string" 2116 "type": "string"
2039 }, 2117 },
2040 "ephemeralMessage": { 2118 "ephemeralMessage": {
2041 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly", 2119 "description": "Ephemeral message that may change every time the operation is polled. @OutputOnly",
2042 "type": "string" 2120 "type": "string"
2043 }, 2121 },
2044 "method": { 2122 "method": {
2045 "description": "API method that initiated this operation. Ex ample: google.appengine.v1alpha.Versions.CreateVersion.@OutputOnly", 2123 "description": "API method that initiated this operation. Ex ample: google.appengine.v1beta.Versions.CreateVersion.@OutputOnly",
2046 "type": "string" 2124 "type": "string"
2047 }, 2125 },
2048 "endTime": { 2126 "endTime": {
2049 "description": "Time that this operation completed.@OutputOn ly", 2127 "description": "Time that this operation completed.@OutputOn ly",
2050 "format": "google-datetime", 2128 "format": "google-datetime",
2051 "type": "string" 2129 "type": "string"
2052 } 2130 }
2053 }, 2131 },
2054 "type": "object" 2132 "type": "object"
2055 }, 2133 },
2056 "Network": { 2134 "ListServicesResponse": {
2057 "description": "Extra network settings. Only applicable for VM runti mes.", 2135 "description": "Response message for Services.ListServices.",
2058 "id": "Network", 2136 "id": "ListServicesResponse",
2059 "properties": { 2137 "properties": {
2060 "subnetworkName": { 2138 "nextPageToken": {
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.", 2139 "description": "Continuation token for fetching the next pag e of results.",
2062 "type": "string" 2140 "type": "string"
2063 }, 2141 },
2064 "instanceTag": { 2142 "services": {
2065 "description": "Tag to apply to the VM instance during creat ion.", 2143 "description": "The services belonging to the requested appl ication.",
2066 "type": "string" 2144 "items": {
2067 }, 2145 "$ref": "Service"
2068 "forwardedPorts": { 2146 },
2069 "description": "List of ports, or port pairs, to forward fro m the virtual machine to the application container.", 2147 "type": "array"
2148 }
2149 },
2150 "type": "object"
2151 },
2152 "Deployment": {
2153 "description": "Code and application artifacts used to deploy a vers ion to App Engine.",
2154 "id": "Deployment",
2155 "properties": {
2156 "sourceReferences": {
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.",
2158 "items": {
2159 "$ref": "SourceReference"
2160 },
2161 "type": "array"
2162 },
2163 "container": {
2164 "$ref": "ContainerInfo",
2165 "description": "The Docker image for the container that runs the version. Only applicable for instances running in the App Engine flexible e nvironment."
2166 },
2167 "files": {
2168 "additionalProperties": {
2169 "$ref": "FileInfo"
2170 },
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.",
2172 "type": "object"
2173 }
2174 },
2175 "type": "object"
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",
2070 "items": { 2333 "items": {
2071 "type": "string" 2334 "type": "string"
2072 }, 2335 },
2073 "type": "array" 2336 "type": "array"
2074 }, 2337 },
2075 "name": { 2338 "insertTime": {
2076 "description": "Google Cloud Platform network where the virt ual machines are created. Specify the short name, not the resource path.Defaults to default.", 2339 "description": "Time that this operation was created.@Output Only",
2077 "type": "string" 2340 "format": "google-datetime",
2078 } 2341 "type": "string"
2079 }, 2342 },
2080 "type": "object" 2343 "user": {
2081 }, 2344 "description": "User who requested this operation.@OutputOnl y",
2082 "Application": { 2345 "type": "string"
2083 "description": "An Application resource contains the top-level confi guration of an App Engine application.", 2346 },
2084 "id": "Application", 2347 "target": {
2085 "properties": { 2348 "description": "Name of the resource that this operation is acting on. Example: apps/myapp/services/default.@OutputOnly",
2086 "defaultBucket": { 2349 "type": "string"
2087 "description": "A Google Cloud Storage bucket that can be us ed by the application to store content.@OutputOnly", 2350 }
2088 "type": "string" 2351 },
2089 }, 2352 "type": "object"
2090 "dispatchRules": { 2353 },
2091 "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order -dependent.@OutputOnly", 2354 "ErrorHandler": {
2092 "items": { 2355 "description": "Custom static error page to be served when an error occurs.",
2093 "$ref": "UrlDispatchRule" 2356 "id": "ErrorHandler",
2094 }, 2357 "properties": {
2095 "type": "array" 2358 "mimeType": {
2096 }, 2359 "description": "MIME type of file. Defaults to text/html.",
2097 "defaultHostname": { 2360 "type": "string"
2098 "description": "Hostname used to reach the application, as r esolved by App Engine.@OutputOnly", 2361 },
2099 "type": "string" 2362 "errorCode": {
2100 }, 2363 "description": "Error condition this handler applies to.",
2101 "name": {
2102 "description": "Full path to the Application resource in the API. Example: apps/myapp.@OutputOnly",
2103 "type": "string"
2104 },
2105 "authDomain": {
2106 "description": "Google Apps authentication domain that contr ols which users can access this application.Defaults to open access for any Goog le Account.",
2107 "type": "string"
2108 },
2109 "iap": {
2110 "$ref": "IdentityAwareProxy"
2111 },
2112 "id": {
2113 "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.",
2114 "type": "string"
2115 },
2116 "defaultCookieExpiration": {
2117 "description": "Cookie expiration policy for this applicatio n.",
2118 "format": "google-duration",
2119 "type": "string"
2120 },
2121 "codeBucket": {
2122 "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",
2123 "type": "string"
2124 },
2125 "location": {
2126 "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",
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 "service": {
2137 "description": "Resource id of a service in this application that should serve the matched request. The service must already exist. Example: default.",
2138 "type": "string"
2139 },
2140 "domain": {
2141 "description": "Domain name to match against. The wildcard \ "*\" is supported if specified before a period: \"*.\".Defaults to matching all domains: \"*\".",
2142 "type": "string"
2143 },
2144 "path": {
2145 "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.",
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 "vmId": {
2156 "description": "Virtual machine ID of this instance. Only ap plicable for instances in App Engine flexible environment.@OutputOnly",
2157 "type": "string"
2158 },
2159 "qps": {
2160 "description": "Average queries per second (QPS) over the la st minute.@OutputOnly",
2161 "format": "float",
2162 "type": "number"
2163 },
2164 "vmUnlocked": {
2165 "description": "Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment.@OutputOnly",
2166 "type": "boolean"
2167 },
2168 "name": {
2169 "description": "Full path to the Instance resource in the AP I. Example: apps/myapp/services/default/versions/v1/instances/instance-1.@Output Only",
2170 "type": "string"
2171 },
2172 "vmZoneName": {
2173 "description": "Zone where the virtual machine is located. O nly applicable for instances in App Engine flexible environment.@OutputOnly",
2174 "type": "string"
2175 },
2176 "averageLatency": {
2177 "description": "Average latency (ms) over the last minute.@O utputOnly",
2178 "format": "int32",
2179 "type": "integer"
2180 },
2181 "vmIp": {
2182 "description": "The IP address of this instance. Only applic able for instances in App Engine flexible environment.@OutputOnly",
2183 "type": "string"
2184 },
2185 "memoryUsage": {
2186 "description": "Total memory in use (bytes).@OutputOnly",
2187 "format": "int64",
2188 "type": "string"
2189 },
2190 "id": {
2191 "description": "Relative name of the instance within the ver sion. Example: instance-1.@OutputOnly",
2192 "type": "string"
2193 },
2194 "vmStatus": {
2195 "description": "Status of the virtual machine where this ins tance lives. Only applicable for instances in App Engine flexible environment.@O utputOnly",
2196 "type": "string"
2197 },
2198 "availability": {
2199 "description": "Availability of the instance.@OutputOnly",
2200 "enum": [ 2364 "enum": [
2201 "UNSPECIFIED", 2365 "ERROR_CODE_UNSPECIFIED",
2202 "RESIDENT", 2366 "ERROR_CODE_DEFAULT",
2203 "DYNAMIC" 2367 "ERROR_CODE_OVER_QUOTA",
2368 "ERROR_CODE_DOS_API_DENIAL",
2369 "ERROR_CODE_TIMEOUT"
2204 ], 2370 ],
2205 "enumDescriptions": [ 2371 "enumDescriptions": [
2206 "", 2372 "Not specified. ERROR_CODE_DEFAULT is assumed.",
2207 "", 2373 "All other error types.",
2208 "" 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."
2209 ], 2377 ],
2210 "type": "string" 2378 "type": "string"
2211 }, 2379 },
2212 "errors": { 2380 "staticFile": {
2213 "description": "Number of errors since this instance was sta rted.@OutputOnly", 2381 "description": "Static file content to be served for this er ror.",
2214 "format": "uint32", 2382 "type": "string"
2215 "type": "integer" 2383 }
2216 }, 2384 },
2217 "requests": { 2385 "type": "object"
2218 "description": "Number of requests since this instance was s tarted.@OutputOnly",
2219 "format": "int32",
2220 "type": "integer"
2221 },
2222 "appEngineRelease": {
2223 "description": "App Engine release this instance is running on.@OutputOnly",
2224 "type": "string"
2225 },
2226 "startTimestamp": {
2227 "description": "Time that this instance was started.@OutputO nly",
2228 "format": "google-datetime",
2229 "type": "string"
2230 },
2231 "vmName": {
2232 "description": "Name of the virtual machine where this insta nce lives. Only applicable for instances in App Engine flexible environment.@Out putOnly",
2233 "type": "string"
2234 }
2235 },
2236 "type": "object"
2237 },
2238 "ListVersionsResponse": {
2239 "description": "Response message for Versions.ListVersions.",
2240 "id": "ListVersionsResponse",
2241 "properties": {
2242 "nextPageToken": {
2243 "description": "Continuation token for fetching the next pag e of results.",
2244 "type": "string"
2245 },
2246 "versions": {
2247 "description": "The versions belonging to the requested serv ice.",
2248 "items": {
2249 "$ref": "Version"
2250 },
2251 "type": "array"
2252 }
2253 },
2254 "type": "object"
2255 },
2256 "ApiEndpointHandler": {
2257 "description": "Uses Google Cloud Endpoints to handle requests.",
2258 "id": "ApiEndpointHandler",
2259 "properties": {
2260 "scriptPath": {
2261 "description": "Path to the script from the application root directory.",
2262 "type": "string"
2263 }
2264 },
2265 "type": "object"
2266 },
2267 "AutomaticScaling": {
2268 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.",
2269 "id": "AutomaticScaling",
2270 "properties": {
2271 "minTotalInstances": {
2272 "description": "Minimum number of instances that should be m aintained for this version.",
2273 "format": "int32",
2274 "type": "integer"
2275 },
2276 "networkUtilization": {
2277 "$ref": "NetworkUtilization",
2278 "description": "Target scaling by network usage."
2279 },
2280 "coolDownPeriod": {
2281 "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.",
2282 "format": "google-duration",
2283 "type": "string"
2284 },
2285 "maxConcurrentRequests": {
2286 "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.",
2287 "format": "int32",
2288 "type": "integer"
2289 },
2290 "maxPendingLatency": {
2291 "description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.",
2292 "format": "google-duration",
2293 "type": "string"
2294 },
2295 "cpuUtilization": {
2296 "$ref": "CpuUtilization",
2297 "description": "Target scaling by CPU usage."
2298 },
2299 "diskUtilization": {
2300 "$ref": "DiskUtilization",
2301 "description": "Target scaling by disk usage."
2302 },
2303 "minPendingLatency": {
2304 "description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.",
2305 "format": "google-duration",
2306 "type": "string"
2307 },
2308 "requestUtilization": {
2309 "$ref": "RequestUtilization",
2310 "description": "Target scaling by request utilization."
2311 },
2312 "maxIdleInstances": {
2313 "description": "Maximum number of idle instances that should be maintained for this version.",
2314 "format": "int32",
2315 "type": "integer"
2316 },
2317 "minIdleInstances": {
2318 "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a mo dule.",
2319 "format": "int32",
2320 "type": "integer"
2321 },
2322 "maxTotalInstances": {
2323 "description": "Maximum number of instances that should be s tarted to handle requests.",
2324 "format": "int32",
2325 "type": "integer"
2326 }
2327 },
2328 "type": "object"
2329 },
2330 "Location": {
2331 "description": "A resource that represents Google Cloud Platform loc ation.",
2332 "id": "Location",
2333 "properties": {
2334 "labels": {
2335 "additionalProperties": {
2336 "type": "string"
2337 },
2338 "description": "Cross-service attributes for the location. F or example\n{\"cloud.googleapis.com/region\": \"us-east1\"}\n",
2339 "type": "object"
2340 },
2341 "name": {
2342 "description": "Resource name for the location, which may va ry between implementations. For example: \"projects/example-project/locations/us -east1\"",
2343 "type": "string"
2344 },
2345 "locationId": {
2346 "description": "The canonical id for this location. For exam ple: \"us-east1\".",
2347 "type": "string"
2348 },
2349 "metadata": {
2350 "additionalProperties": {
2351 "description": "Properties of the object. Contains field @type with type URL.",
2352 "type": "any"
2353 },
2354 "description": "Service-specific metadata. For example the a vailable capacity at the given location.",
2355 "type": "object"
2356 }
2357 },
2358 "type": "object"
2359 },
2360 "NetworkUtilization": {
2361 "description": "Target scaling by network usage. Only applicable for VM runtimes.",
2362 "id": "NetworkUtilization",
2363 "properties": {
2364 "targetReceivedBytesPerSec": {
2365 "description": "Target bytes received per second.",
2366 "format": "int32",
2367 "type": "integer"
2368 },
2369 "targetSentPacketsPerSec": {
2370 "description": "Target packets sent per second.",
2371 "format": "int32",
2372 "type": "integer"
2373 },
2374 "targetReceivedPacketsPerSec": {
2375 "description": "Target packets received per second.",
2376 "format": "int32",
2377 "type": "integer"
2378 },
2379 "targetSentBytesPerSec": {
2380 "description": "Target bytes sent per second.",
2381 "format": "int32",
2382 "type": "integer"
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 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/appengine__v1beta4.json ('k') | discovery/googleapis_beta/clouderrorreporting__v1beta1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698