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

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

Issue 2226653002: Api-roll 40: 2016-08-08 (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Addressed review comments Created 4 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/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://appengine.googleapis.com/", 12 "baseUrl": "https://appengine.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "description": "Provisions and manages App Engine applications.", 14 "description": "Provisions and manages App Engine applications.",
15 "discoveryVersion": "v1", 15 "discoveryVersion": "v1",
16 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/", 16 "documentationLink": "https://cloud.google.com/appengine/docs/admin-api/",
17 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/PN4XIIKLvFT7FU0OtRuE3nmP_ao\"", 17 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/WgHFQRJNa9ABhjOi9ooEWesv8kc\"",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "appengine:v1beta5", 22 "id": "appengine:v1beta5",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "appengine", 24 "name": "appengine",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 }, 124 },
125 "get": { 125 "get": {
126 "description": "Gets information about an application.", 126 "description": "Gets information about an application.",
127 "httpMethod": "GET", 127 "httpMethod": "GET",
128 "id": "appengine.apps.get", 128 "id": "appengine.apps.get",
129 "parameterOrder": [ 129 "parameterOrder": [
130 "appsId" 130 "appsId"
131 ], 131 ],
132 "parameters": { 132 "parameters": {
133 "appsId": { 133 "appsId": {
134 "description": "Part of `name`. Name of the applicat ion to get. For example: \"apps/myapp\".", 134 "description": "Part of `name`. Name of the applicat ion to get. Example: `apps/myapp`.",
135 "location": "path", 135 "location": "path",
136 "required": true, 136 "required": true,
137 "type": "string" 137 "type": "string"
138 }, 138 },
139 "ensureResourcesExist": { 139 "ensureResourcesExist": {
140 "description": "Certain resources associated with an application are created on-demand. Controls whether these resources should be c reated when performing the `GET` operation. If specified and any resources could not be created, the request will fail with an error code. Additionally, this pa rameter can cause the request to take longer to complete. Note: This parameter w ill be deprecated in a future version of the API.", 140 "description": "Certain resources associated with an application are created on-demand. Controls whether these resources should be c reated when performing the `GET` operation. If specified and any resources could not be created, the request will fail with an error code. Additionally, this pa rameter can cause the request to take longer to complete. Note: This parameter w ill be deprecated in a future version of the API.",
141 "location": "query", 141 "location": "query",
142 "type": "boolean" 142 "type": "boolean"
143 } 143 }
144 }, 144 },
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 }, 221 },
222 "scopes": [ 222 "scopes": [
223 "https://www.googleapis.com/auth/cloud-platform" 223 "https://www.googleapis.com/auth/cloud-platform"
224 ] 224 ]
225 } 225 }
226 } 226 }
227 }, 227 },
228 "services": { 228 "services": {
229 "methods": { 229 "methods": {
230 "delete": { 230 "delete": {
231 "description": "Deletes a service and all enclosed v ersions.", 231 "description": "Deletes the specified service and al l enclosed versions.",
232 "httpMethod": "DELETE", 232 "httpMethod": "DELETE",
233 "id": "appengine.apps.services.delete", 233 "id": "appengine.apps.services.delete",
234 "parameterOrder": [ 234 "parameterOrder": [
235 "appsId", 235 "appsId",
236 "servicesId" 236 "servicesId"
237 ], 237 ],
238 "parameters": { 238 "parameters": {
239 "appsId": { 239 "appsId": {
240 "description": "Part of `name`. Name of the resource requested. For example: \"apps/myapp/services/default\".", 240 "description": "Part of `name`. Name of the resource requested. Example: `apps/myapp/services/default`.",
241 "location": "path", 241 "location": "path",
242 "required": true, 242 "required": true,
243 "type": "string" 243 "type": "string"
244 }, 244 },
245 "servicesId": { 245 "servicesId": {
246 "description": "Part of `name`. See document ation of `appsId`.", 246 "description": "Part of `name`. See document ation of `appsId`.",
247 "location": "path", 247 "location": "path",
248 "required": true, 248 "required": true,
249 "type": "string" 249 "type": "string"
250 } 250 }
251 }, 251 },
252 "path": "v1beta5/apps/{appsId}/services/{servicesId} ", 252 "path": "v1beta5/apps/{appsId}/services/{servicesId} ",
253 "response": { 253 "response": {
254 "$ref": "Operation" 254 "$ref": "Operation"
255 }, 255 },
256 "scopes": [ 256 "scopes": [
257 "https://www.googleapis.com/auth/cloud-platform" 257 "https://www.googleapis.com/auth/cloud-platform"
258 ] 258 ]
259 }, 259 },
260 "get": { 260 "get": {
261 "description": "Gets the current configuration of th e service.", 261 "description": "Gets the current configuration of th e specified service.",
262 "httpMethod": "GET", 262 "httpMethod": "GET",
263 "id": "appengine.apps.services.get", 263 "id": "appengine.apps.services.get",
264 "parameterOrder": [ 264 "parameterOrder": [
265 "appsId", 265 "appsId",
266 "servicesId" 266 "servicesId"
267 ], 267 ],
268 "parameters": { 268 "parameters": {
269 "appsId": { 269 "appsId": {
270 "description": "Part of `name`. Name of the resource requested. For example: \"apps/myapp/services/default\".", 270 "description": "Part of `name`. Name of the resource requested. Example: `apps/myapp/services/default`.",
271 "location": "path", 271 "location": "path",
272 "required": true, 272 "required": true,
273 "type": "string" 273 "type": "string"
274 }, 274 },
275 "servicesId": { 275 "servicesId": {
276 "description": "Part of `name`. See document ation of `appsId`.", 276 "description": "Part of `name`. See document ation of `appsId`.",
277 "location": "path", 277 "location": "path",
278 "required": true, 278 "required": true,
279 "type": "string" 279 "type": "string"
280 } 280 }
281 }, 281 },
282 "path": "v1beta5/apps/{appsId}/services/{servicesId} ", 282 "path": "v1beta5/apps/{appsId}/services/{servicesId} ",
283 "response": { 283 "response": {
284 "$ref": "Service" 284 "$ref": "Service"
285 }, 285 },
286 "scopes": [ 286 "scopes": [
287 "https://www.googleapis.com/auth/cloud-platform" 287 "https://www.googleapis.com/auth/cloud-platform"
288 ] 288 ]
289 }, 289 },
290 "list": { 290 "list": {
291 "description": "Lists all the services in the applic ation.", 291 "description": "Lists all the services in the applic ation.",
292 "httpMethod": "GET", 292 "httpMethod": "GET",
293 "id": "appengine.apps.services.list", 293 "id": "appengine.apps.services.list",
294 "parameterOrder": [ 294 "parameterOrder": [
295 "appsId" 295 "appsId"
296 ], 296 ],
297 "parameters": { 297 "parameters": {
298 "appsId": { 298 "appsId": {
299 "description": "Part of `name`. Name of the resource requested. For example: \"apps/myapp\".", 299 "description": "Part of `name`. Name of the resource requested. Example: `apps/myapp`.",
300 "location": "path", 300 "location": "path",
301 "required": true, 301 "required": true,
302 "type": "string" 302 "type": "string"
303 }, 303 },
304 "pageSize": { 304 "pageSize": {
305 "description": "Maximum results to return pe r page.", 305 "description": "Maximum results to return pe r page.",
306 "format": "int32", 306 "format": "int32",
307 "location": "query", 307 "location": "query",
308 "type": "integer" 308 "type": "integer"
309 }, 309 },
(...skipping 14 matching lines...) Expand all
324 "patch": { 324 "patch": {
325 "description": "Updates the configuration of the spe cified service.", 325 "description": "Updates the configuration of the spe cified service.",
326 "httpMethod": "PATCH", 326 "httpMethod": "PATCH",
327 "id": "appengine.apps.services.patch", 327 "id": "appengine.apps.services.patch",
328 "parameterOrder": [ 328 "parameterOrder": [
329 "appsId", 329 "appsId",
330 "servicesId" 330 "servicesId"
331 ], 331 ],
332 "parameters": { 332 "parameters": {
333 "appsId": { 333 "appsId": {
334 "description": "Part of `name`. Name of the resource to update. For example: \"apps/myapp/services/default\".", 334 "description": "Part of `name`. Name of the resource to update. Example: `apps/myapp/services/default`.",
335 "location": "path", 335 "location": "path",
336 "required": true, 336 "required": true,
337 "type": "string" 337 "type": "string"
338 }, 338 },
339 "servicesId": { 339 "servicesId": {
340 "description": "Part of `name`. See document ation of `appsId`.", 340 "description": "Part of `name`. See document ation of `appsId`.",
341 "location": "path", 341 "location": "path",
342 "required": true, 342 "required": true,
343 "type": "string" 343 "type": "string"
344 }, 344 },
345 "mask": { 345 "mask": {
346 "description": "Standard field mask for the set of fields to be updated.", 346 "description": "Standard field mask for the set of fields to be updated.",
347 "location": "query", 347 "location": "query",
348 "type": "string" 348 "type": "string"
349 }, 349 },
350 "migrateTraffic": { 350 "migrateTraffic": {
351 "description": "Whether to use Traffic Migra tion to shift traffic gradually. Traffic can only be migrated from a single vers ion to another single version.", 351 "description": "Set to `true` to gradually s hift traffic from one version to another single version. By default, traffic is shifted immediately. For gradual traffic migration, the target version must be l ocated within instances that are configured for both [warmup requests](https://c loud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.ve rsions#inboundservicetype) and [automatic scaling](https://cloud.google.com/appe ngine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#automaticscal ing). You must specify the [`shardBy`](https://cloud.google.com/appengine/docs/a dmin-api/reference/rest/v1beta5/apps.services#shardby) field in the Service reso urce. Gradual traffic migration is not supported in the App Engine flexible envi ronment. For examples, see [Migrating and Splitting Traffic](https://cloud.googl e.com/appengine/docs/admin-api/migrating-splitting-traffic).",
352 "location": "query", 352 "location": "query",
353 "type": "boolean" 353 "type": "boolean"
354 } 354 }
355 }, 355 },
356 "path": "v1beta5/apps/{appsId}/services/{servicesId} ", 356 "path": "v1beta5/apps/{appsId}/services/{servicesId} ",
357 "request": { 357 "request": {
358 "$ref": "Service" 358 "$ref": "Service"
359 }, 359 },
360 "response": { 360 "response": {
361 "$ref": "Operation" 361 "$ref": "Operation"
362 }, 362 },
363 "scopes": [ 363 "scopes": [
364 "https://www.googleapis.com/auth/cloud-platform" 364 "https://www.googleapis.com/auth/cloud-platform"
365 ] 365 ]
366 } 366 }
367 }, 367 },
368 "resources": { 368 "resources": {
369 "versions": { 369 "versions": {
370 "methods": { 370 "methods": {
371 "create": { 371 "create": {
372 "description": "Deploys new code and resourc e files to a version.", 372 "description": "Deploys new code and resourc e files to a new version.",
373 "httpMethod": "POST", 373 "httpMethod": "POST",
374 "id": "appengine.apps.services.versions.crea te", 374 "id": "appengine.apps.services.versions.crea te",
375 "parameterOrder": [ 375 "parameterOrder": [
376 "appsId", 376 "appsId",
377 "servicesId" 377 "servicesId"
378 ], 378 ],
379 "parameters": { 379 "parameters": {
380 "appsId": { 380 "appsId": {
381 "description": "Part of `name`. Name of the resource to update. For example: \"apps/myapp/services/default\".", 381 "description": "Part of `name`. Name of the resource to update. For example: \"apps/myapp/services/default\".",
382 "location": "path", 382 "location": "path",
(...skipping 22 matching lines...) Expand all
405 "description": "Deletes an existing version. ", 405 "description": "Deletes an existing version. ",
406 "httpMethod": "DELETE", 406 "httpMethod": "DELETE",
407 "id": "appengine.apps.services.versions.dele te", 407 "id": "appengine.apps.services.versions.dele te",
408 "parameterOrder": [ 408 "parameterOrder": [
409 "appsId", 409 "appsId",
410 "servicesId", 410 "servicesId",
411 "versionsId" 411 "versionsId"
412 ], 412 ],
413 "parameters": { 413 "parameters": {
414 "appsId": { 414 "appsId": {
415 "description": "Part of `name`. Name of the resource requested. For example: \"apps/myapp/services/default/versions/ v1\".", 415 "description": "Part of `name`. Name of the resource requested. Example: `apps/myapp/services/default/versions/v1`." ,
416 "location": "path", 416 "location": "path",
417 "required": true, 417 "required": true,
418 "type": "string" 418 "type": "string"
419 }, 419 },
420 "servicesId": { 420 "servicesId": {
421 "description": "Part of `name`. See documentation of `appsId`.", 421 "description": "Part of `name`. See documentation of `appsId`.",
422 "location": "path", 422 "location": "path",
423 "required": true, 423 "required": true,
424 "type": "string" 424 "type": "string"
425 }, 425 },
426 "versionsId": { 426 "versionsId": {
427 "description": "Part of `name`. See documentation of `appsId`.", 427 "description": "Part of `name`. See documentation of `appsId`.",
428 "location": "path", 428 "location": "path",
429 "required": true, 429 "required": true,
430 "type": "string" 430 "type": "string"
431 } 431 }
432 }, 432 },
433 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions/{versionsId}", 433 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions/{versionsId}",
434 "response": { 434 "response": {
435 "$ref": "Operation" 435 "$ref": "Operation"
436 }, 436 },
437 "scopes": [ 437 "scopes": [
438 "https://www.googleapis.com/auth/cloud-p latform" 438 "https://www.googleapis.com/auth/cloud-p latform"
439 ] 439 ]
440 }, 440 },
441 "get": { 441 "get": {
442 "description": "Gets application deployment information.", 442 "description": "Gets the specified Version r esource. By default, only a `BASIC_VIEW` will be returned. Specify the `FULL_VIE W` parameter to get the full resource.",
443 "httpMethod": "GET", 443 "httpMethod": "GET",
444 "id": "appengine.apps.services.versions.get" , 444 "id": "appengine.apps.services.versions.get" ,
445 "parameterOrder": [ 445 "parameterOrder": [
446 "appsId", 446 "appsId",
447 "servicesId", 447 "servicesId",
448 "versionsId" 448 "versionsId"
449 ], 449 ],
450 "parameters": { 450 "parameters": {
451 "appsId": { 451 "appsId": {
452 "description": "Part of `name`. Name of the resource requested. For example: \"apps/myapp/services/default/versions/ v1\".", 452 "description": "Part of `name`. Name of the resource requested. Example: `apps/myapp/services/default/versions/v1`." ,
453 "location": "path", 453 "location": "path",
454 "required": true, 454 "required": true,
455 "type": "string" 455 "type": "string"
456 }, 456 },
457 "servicesId": { 457 "servicesId": {
458 "description": "Part of `name`. See documentation of `appsId`.", 458 "description": "Part of `name`. See documentation of `appsId`.",
459 "location": "path", 459 "location": "path",
460 "required": true, 460 "required": true,
461 "type": "string" 461 "type": "string"
462 }, 462 },
(...skipping 24 matching lines...) Expand all
487 "list": { 487 "list": {
488 "description": "Lists the versions of a serv ice.", 488 "description": "Lists the versions of a serv ice.",
489 "httpMethod": "GET", 489 "httpMethod": "GET",
490 "id": "appengine.apps.services.versions.list ", 490 "id": "appengine.apps.services.versions.list ",
491 "parameterOrder": [ 491 "parameterOrder": [
492 "appsId", 492 "appsId",
493 "servicesId" 493 "servicesId"
494 ], 494 ],
495 "parameters": { 495 "parameters": {
496 "appsId": { 496 "appsId": {
497 "description": "Part of `name`. Name of the resource requested. For example: \"apps/myapp/services/default\".", 497 "description": "Part of `name`. Name of the resource requested. Example: `apps/myapp/services/default`.",
498 "location": "path", 498 "location": "path",
499 "required": true, 499 "required": true,
500 "type": "string" 500 "type": "string"
501 }, 501 },
502 "servicesId": { 502 "servicesId": {
503 "description": "Part of `name`. See documentation of `appsId`.", 503 "description": "Part of `name`. See documentation of `appsId`.",
504 "location": "path", 504 "location": "path",
505 "required": true, 505 "required": true,
506 "type": "string" 506 "type": "string"
507 }, 507 },
(...skipping 20 matching lines...) Expand all
528 }, 528 },
529 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions", 529 "path": "v1beta5/apps/{appsId}/services/{ser vicesId}/versions",
530 "response": { 530 "response": {
531 "$ref": "ListVersionsResponse" 531 "$ref": "ListVersionsResponse"
532 }, 532 },
533 "scopes": [ 533 "scopes": [
534 "https://www.googleapis.com/auth/cloud-p latform" 534 "https://www.googleapis.com/auth/cloud-p latform"
535 ] 535 ]
536 }, 536 },
537 "patch": { 537 "patch": {
538 "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: * [`serving_status` ](/appengine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#Versio n.FIELDS.serving_status): For Version resources that use basic scaling, manual s caling, or run in the App Engine flexible environment. * [`instance_class`](/app engine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIEL DS.instance_class): For Version resources that run in the App Engine standard en vironment. * [`automatic_scaling.min_idle_instances`](/appengine/docs/admin-api/ reference/rest/v1beta5/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine stan dard environment. * [`automatic_scaling.max_idle_instances`](/appengine/docs/adm in-api/reference/rest/v1beta5/apps.services.versions#Version.FIELDS.automatic_sc aling): For Version resources that use automatic scaling and run in the App Engi ne standard environment.", 538 "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: * [`serving_status` ](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1beta5/apps. services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/ rest/v1beta5/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment. * [`automatic_scaling .min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/referenc e/rest/v1beta5/apps.services.versions#Version.FIELDS.automatic_scaling): For Ver sion resources that use automatic scaling and run in the App Engine standard env ironment. * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/ap pengine/docs/admin-api/reference/rest/v1beta5/apps.services.versions#Version.FIE LDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.",
539 "httpMethod": "PATCH", 539 "httpMethod": "PATCH",
540 "id": "appengine.apps.services.versions.patc h", 540 "id": "appengine.apps.services.versions.patc h",
541 "parameterOrder": [ 541 "parameterOrder": [
542 "appsId", 542 "appsId",
543 "servicesId", 543 "servicesId",
544 "versionsId" 544 "versionsId"
545 ], 545 ],
546 "parameters": { 546 "parameters": {
547 "appsId": { 547 "appsId": {
548 "description": "Part of `name`. Name of the resource to update. For example: \"apps/myapp/services/default/versions/ 1\".", 548 "description": "Part of `name`. Name of the resource to update. Example: `apps/myapp/services/default/versions/1`.",
549 "location": "path", 549 "location": "path",
550 "required": true, 550 "required": true,
551 "type": "string" 551 "type": "string"
552 }, 552 },
553 "servicesId": { 553 "servicesId": {
554 "description": "Part of `name`. See documentation of `appsId`.", 554 "description": "Part of `name`. See documentation of `appsId`.",
555 "location": "path", 555 "location": "path",
556 "required": true, 556 "required": true,
557 "type": "string" 557 "type": "string"
558 }, 558 },
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 "httpMethod": "GET", 632 "httpMethod": "GET",
633 "id": "appengine.apps.services.versi ons.instances.get", 633 "id": "appengine.apps.services.versi ons.instances.get",
634 "parameterOrder": [ 634 "parameterOrder": [
635 "appsId", 635 "appsId",
636 "servicesId", 636 "servicesId",
637 "versionsId", 637 "versionsId",
638 "instancesId" 638 "instancesId"
639 ], 639 ],
640 "parameters": { 640 "parameters": {
641 "appsId": { 641 "appsId": {
642 "description": "Part of `nam e`. Name of the resource requested. For example: \"apps/myapp/services/default/v ersions/v1/instances/instance-1\".", 642 "description": "Part of `nam e`. Name of the resource requested. Example: `apps/myapp/services/default/versio ns/v1/instances/instance-1`.",
643 "location": "path", 643 "location": "path",
644 "required": true, 644 "required": true,
645 "type": "string" 645 "type": "string"
646 }, 646 },
647 "servicesId": { 647 "servicesId": {
648 "description": "Part of `nam e`. See documentation of `appsId`.", 648 "description": "Part of `nam e`. See documentation of `appsId`.",
649 "location": "path", 649 "location": "path",
650 "required": true, 650 "required": true,
651 "type": "string" 651 "type": "string"
652 }, 652 },
(...skipping 22 matching lines...) Expand all
675 "description": "Lists the instances of a version.", 675 "description": "Lists the instances of a version.",
676 "httpMethod": "GET", 676 "httpMethod": "GET",
677 "id": "appengine.apps.services.versi ons.instances.list", 677 "id": "appengine.apps.services.versi ons.instances.list",
678 "parameterOrder": [ 678 "parameterOrder": [
679 "appsId", 679 "appsId",
680 "servicesId", 680 "servicesId",
681 "versionsId" 681 "versionsId"
682 ], 682 ],
683 "parameters": { 683 "parameters": {
684 "appsId": { 684 "appsId": {
685 "description": "Part of `nam e`. Name of the resource requested. For example: \"apps/myapp/services/default/v ersions/v1\".", 685 "description": "Part of `nam e`. Name of the resource requested. Example: `apps/myapp/services/default/versio ns/v1`.",
686 "location": "path", 686 "location": "path",
687 "required": true, 687 "required": true,
688 "type": "string" 688 "type": "string"
689 }, 689 },
690 "servicesId": { 690 "servicesId": {
691 "description": "Part of `nam e`. See documentation of `appsId`.", 691 "description": "Part of `nam e`. See documentation of `appsId`.",
692 "location": "path", 692 "location": "path",
693 "required": true, 693 "required": true,
694 "type": "string" 694 "type": "string"
695 }, 695 },
(...skipping 17 matching lines...) Expand all
713 }, 713 },
714 "path": "v1beta5/apps/{appsId}/servi ces/{servicesId}/versions/{versionsId}/instances", 714 "path": "v1beta5/apps/{appsId}/servi ces/{servicesId}/versions/{versionsId}/instances",
715 "response": { 715 "response": {
716 "$ref": "ListInstancesResponse" 716 "$ref": "ListInstancesResponse"
717 }, 717 },
718 "scopes": [ 718 "scopes": [
719 "https://www.googleapis.com/auth /cloud-platform" 719 "https://www.googleapis.com/auth /cloud-platform"
720 ] 720 ]
721 }, 721 },
722 "debug": { 722 "debug": {
723 "description": "Enable debugging of this VM instance. This call allows you to SSH to the VM. While the VM is in debu g mode, it continues to serve live traffic. After you're done debugging an insta nce, delete the instance; the system creates a new instance when needed. You can 't debug a non-VM instance.", 723 "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 environmen t.",
724 "httpMethod": "POST", 724 "httpMethod": "POST",
725 "id": "appengine.apps.services.versi ons.instances.debug", 725 "id": "appengine.apps.services.versi ons.instances.debug",
726 "parameterOrder": [ 726 "parameterOrder": [
727 "appsId", 727 "appsId",
728 "servicesId", 728 "servicesId",
729 "versionsId", 729 "versionsId",
730 "instancesId" 730 "instancesId"
731 ], 731 ],
732 "parameters": { 732 "parameters": {
733 "appsId": { 733 "appsId": {
734 "description": "Part of `nam e`. Name of the resource requested. For example: \"apps/myapp/services/default/v ersions/v1/instances/instance-1\".", 734 "description": "Part of `nam e`. Name of the resource requested. Example: `apps/myapp/services/default/versio ns/v1/instances/instance-1`.",
735 "location": "path", 735 "location": "path",
736 "required": true, 736 "required": true,
737 "type": "string" 737 "type": "string"
738 }, 738 },
739 "servicesId": { 739 "servicesId": {
740 "description": "Part of `nam e`. See documentation of `appsId`.", 740 "description": "Part of `nam e`. See documentation of `appsId`.",
741 "location": "path", 741 "location": "path",
742 "required": true, 742 "required": true,
743 "type": "string" 743 "type": "string"
744 }, 744 },
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 }, 841 },
842 "scopes": [ 842 "scopes": [
843 "https://www.googleapis.com/auth/cloud-platform" 843 "https://www.googleapis.com/auth/cloud-platform"
844 ] 844 ]
845 } 845 }
846 } 846 }
847 } 847 }
848 } 848 }
849 } 849 }
850 }, 850 },
851 "revision": "20160711", 851 "revision": "20160802",
852 "rootUrl": "https://appengine.googleapis.com/", 852 "rootUrl": "https://appengine.googleapis.com/",
853 "schemas": { 853 "schemas": {
854 "Operation": { 854 "Operation": {
855 "description": "This resource represents a long-running operation th at is the result of a network API call.", 855 "description": "This resource represents a long-running operation th at is the result of a network API call.",
856 "id": "Operation", 856 "id": "Operation",
857 "properties": { 857 "properties": {
858 "name": { 858 "name": {
859 "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`." , 859 "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`." ,
860 "type": "string" 860 "type": "string"
861 }, 861 },
862 "metadata": { 862 "metadata": {
863 "additionalProperties": { 863 "additionalProperties": {
864 "description": "Properties of the object. Contains field @ype with type URL.", 864 "description": "Properties of the object. Contains field @type with type URL.",
865 "type": "any" 865 "type": "any"
866 }, 866 },
867 "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.", 867 "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.",
868 "type": "object" 868 "type": "object"
869 }, 869 },
870 "done": { 870 "done": {
871 "description": "If the value is `false`, it means the operat ion is still in progress. If true, the operation is completed, and either `error ` or `response` is available.", 871 "description": "If the value is `false`, it means the operat ion is still in progress. If true, the operation is completed, and either `error ` or `response` is available.",
872 "type": "boolean" 872 "type": "boolean"
873 }, 873 },
874 "error": { 874 "error": {
875 "$ref": "Status", 875 "$ref": "Status",
876 "description": "The error result of the operation in case of failure." 876 "description": "The error result of the operation in case of failure."
877 }, 877 },
878 "response": { 878 "response": {
879 "additionalProperties": { 879 "additionalProperties": {
880 "description": "Properties of the object. Contains field @ype with type URL.", 880 "description": "Properties of the object. Contains field @type with type URL.",
881 "type": "any" 881 "type": "any"
882 }, 882 },
883 "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 `G et`/`Create`/`Update`, the response should be the resource. For other methods, t he response should have the type `XxxResponse`, where `Xxx` is the original meth od name. For example, if the original method name is `TakeSnapshot()`, the infer red response type is `TakeSnapshotResponse`.", 883 "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 `G et`/`Create`/`Update`, the response should be the resource. For other methods, t he response should have the type `XxxResponse`, where `Xxx` is the original meth od name. For example, if the original method name is `TakeSnapshot()`, the infer red response type is `TakeSnapshotResponse`.",
884 "type": "object" 884 "type": "object"
885 } 885 }
886 }, 886 },
887 "type": "object" 887 "type": "object"
888 }, 888 },
889 "Status": { 889 "Status": {
890 "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designe d to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. Th e error message should be a developer-facing English message that helps develope rs *understand* and *resolve* the error. If a localized user-facing error messag e is needed, put the localized message in the error details or localize it in th e client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.r pc` which can be used for common error conditions. # Language mapping The `Statu s` message is the logical representation of the error model, but it is not neces sarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. Fo r example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` m essage can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Exampl e uses of this error model include: - Partial errors. If a service needs to retu rn partial errors to the client, it may embed the `Status` in the normal respons e to indicate the partial errors. - Workflow errors. A typical workflow has mult iple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Statu s` message should be used directly inside batch response, one for each error sub -response. - Asynchronous operations. If an API call embeds asynchronous operati on results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored i n logs, the message `Status` could be used directly after any stripping needed f or security/privacy reasons.", 890 "description": "The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). The error model is designe d to be: - Simple to use and understand for most users - Flexible enough to meet unexpected needs # Overview The `Status` message contains three pieces of data: error code, error message, and error details. The error code should be an enum value of google.rpc.Code, but it may accept additional error codes if needed. Th e error message should be a developer-facing English message that helps develope rs *understand* and *resolve* the error. If a localized user-facing error messag e is needed, put the localized message in the error details or localize it in th e client. The optional error details may contain arbitrary information about the error. There is a predefined set of error detail types in the package `google.r pc` which can be used for common error conditions. # Language mapping The `Statu s` message is the logical representation of the error model, but it is not neces sarily the actual wire format. When the `Status` message is exposed in different client libraries and different wire protocols, it can be mapped differently. Fo r example, it will likely be mapped to some exceptions in Java, but more likely mapped to some error codes in C. # Other uses The error model and the `Status` m essage can be used in a variety of environments, either with or without APIs, to provide a consistent developer experience across different environments. Exampl e uses of this error model include: - Partial errors. If a service needs to retu rn partial errors to the client, it may embed the `Status` in the normal respons e to indicate the partial errors. - Workflow errors. A typical workflow has mult iple steps. Each step may have a `Status` message for error reporting purpose. - Batch operations. If a client uses batch request and batch response, the `Statu s` message should be used directly inside batch response, one for each error sub -response. - Asynchronous operations. If an API call embeds asynchronous operati on results in its response, the status of those operations should be represented directly using the `Status` message. - Logging. If some API errors are stored i n logs, the message `Status` could be used directly after any stripping needed f or security/privacy reasons.",
891 "id": "Status", 891 "id": "Status",
892 "properties": { 892 "properties": {
893 "code": { 893 "code": {
894 "description": "The status code, which should be an enum val ue of google.rpc.Code.", 894 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
895 "format": "int32", 895 "format": "int32",
896 "type": "integer" 896 "type": "integer"
897 }, 897 },
898 "message": { 898 "message": {
899 "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.", 899 "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.",
900 "type": "string" 900 "type": "string"
901 }, 901 },
902 "details": { 902 "details": {
903 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.", 903 "description": "A list of messages that carry the error deta ils. There will be a common set of message types for APIs to use.",
904 "items": { 904 "items": {
905 "additionalProperties": { 905 "additionalProperties": {
906 "description": "Properties of the object. Contains f ield @ype with type URL.", 906 "description": "Properties of the object. Contains f ield @type with type URL.",
907 "type": "any" 907 "type": "any"
908 }, 908 },
909 "type": "object" 909 "type": "object"
910 }, 910 },
911 "type": "array" 911 "type": "array"
912 } 912 }
913 }, 913 },
914 "type": "object" 914 "type": "object"
915 }, 915 },
916 "ListOperationsResponse": { 916 "ListOperationsResponse": {
917 "description": "The response message for Operations.ListOperations." , 917 "description": "The response message for Operations.ListOperations." ,
918 "id": "ListOperationsResponse", 918 "id": "ListOperationsResponse",
919 "properties": { 919 "properties": {
920 "operations": { 920 "operations": {
921 "description": "A list of operations that matches the specif ied filter in the request.", 921 "description": "A list of operations that matches the specif ied filter in the request.",
922 "items": { 922 "items": {
923 "$ref": "Operation" 923 "$ref": "Operation"
924 }, 924 },
925 "type": "array" 925 "type": "array"
926 }, 926 },
927 "nextPageToken": { 927 "nextPageToken": {
928 "description": "The standard List next-page token.", 928 "description": "The standard List next-page token.",
929 "type": "string" 929 "type": "string"
930 } 930 }
931 }, 931 },
932 "type": "object" 932 "type": "object"
933 }, 933 },
934 "Application": { 934 "Application": {
935 "description": "An Application contains the top-level configuration of an App Engine application.", 935 "description": "An Application resource contains the top-level confi guration of an App Engine application.",
936 "id": "Application", 936 "id": "Application",
937 "properties": { 937 "properties": {
938 "name": { 938 "name": {
939 "description": "The full path to the Application resource in the API. Example: \"apps/myapp\". @OutputOnly", 939 "description": "Full path to the Application resource in the API. Example: `apps/myapp`. @OutputOnly",
940 "type": "string" 940 "type": "string"
941 }, 941 },
942 "id": { 942 "id": {
943 "description": "The identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform pro ject where you want to deploy your application. Example: \"myapp\".", 943 "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`.",
944 "type": "string" 944 "type": "string"
945 }, 945 },
946 "dispatchRules": { 946 "dispatchRules": {
947 "description": "HTTP path dispatch rules for requests to the app that do not explicitly target a service or version. The rules are order-dep endent. @OutputOnly", 947 "description": "HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order -dependent. @OutputOnly",
948 "items": { 948 "items": {
949 "$ref": "UrlDispatchRule" 949 "$ref": "UrlDispatchRule"
950 }, 950 },
951 "type": "array" 951 "type": "array"
952 }, 952 },
953 "authDomain": { 953 "authDomain": {
954 "description": "If set, only users from the specified Google Apps authentication domain may access the application. If not set, any Google A ccount may access the application.", 954 "description": "Google Apps authentication domain that contr ols which users can access this application. Defaults to open access for any Goo gle Account.",
955 "type": "string" 955 "type": "string"
956 }, 956 },
957 "location": { 957 "location": {
958 "description": "The location from which the application will be run. Application instances will run out of data centers in the chosen locati on and all of the application's End User Content will be stored at rest. The def ault is \"us-central\". Choices are: \"us-central\" - Central US \"europe-west\" - Western Europe \"us-east1\" - Eastern US", 958 "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. Defaul ts to `us-central`. Options are: `us-central` - Central US `europe-west` - Weste rn Europe `us-east1` - Eastern US",
959 "type": "string" 959 "type": "string"
960 }, 960 },
961 "codeBucket": { 961 "codeBucket": {
962 "description": "A Google Cloud Storage bucket which can be u sed for storing files associated with an application. This bucket is associated with the application and can be used by the gcloud deployment commands. @OutputO nly", 962 "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. @Output Only",
963 "type": "string" 963 "type": "string"
964 }, 964 },
965 "defaultCookieExpiration": { 965 "defaultCookieExpiration": {
966 "description": "Determines the cookie expiration policy for the application. @OutputOnly", 966 "description": "Cookie expiration policy for this applicatio n. @OutputOnly",
967 "type": "string" 967 "type": "string"
968 }, 968 },
969 "defaultHostname": { 969 "defaultHostname": {
970 "description": "The hostname used to reach the application, as resolved by App Engine. @OutputOnly", 970 "description": "Hostname used to reach the application, as r esolved by App Engine. @OutputOnly",
971 "type": "string" 971 "type": "string"
972 }, 972 },
973 "defaultBucket": { 973 "defaultBucket": {
974 "description": "A Google Cloud Storage bucket which can be u sed by the application to store content. @OutputOnly", 974 "description": "A Google Cloud Storage bucket that can be us ed by the application to store content. @OutputOnly",
975 "type": "string" 975 "type": "string"
976 } 976 }
977 }, 977 },
978 "type": "object" 978 "type": "object"
979 }, 979 },
980 "UrlDispatchRule": { 980 "UrlDispatchRule": {
981 "description": "Rules to match an HTTP request and dispatch that req uest to a service.", 981 "description": "Rules to match an HTTP request and dispatch that req uest to a service.",
982 "id": "UrlDispatchRule", 982 "id": "UrlDispatchRule",
983 "properties": { 983 "properties": {
984 "domain": { 984 "domain": {
985 "description": "The domain name to match on. Supports '*' (g lob) wildcarding on the left-hand side of a '.'. If empty, all domains will be m atched (the same as '*').", 985 "description": "Domain name to match against. The wildcard \ "`*`\" is supported if specified before a period: \"`*.`\". Defaults to matching all domains: \"`*`\".",
986 "type": "string" 986 "type": "string"
987 }, 987 },
988 "path": { 988 "path": {
989 "description": "The pathname within the host. This must star t with a '/'. A single '*' (glob) can be included at the end of the path. The su m of the lengths of the domain and path may not exceed 100 characters.", 989 "description": "Pathname within the host. Must start with a \"`/`\". A single \"`*`\" can be included at the end of the path. The sum of the lengths of the domain and path may not exceed 100 characters.",
990 "type": "string" 990 "type": "string"
991 }, 991 },
992 "service": { 992 "service": {
993 "description": "The resource id of a Service in this applica tion that should service the matched request. The Service must already exist. Ex ample: \"default\".", 993 "description": "Resource id of a service in this application that should serve the matched request. The service must already exist. Example: `default`.",
994 "type": "string" 994 "type": "string"
995 } 995 }
996 }, 996 },
997 "type": "object" 997 "type": "object"
998 }, 998 },
999 "Version": { 999 "Version": {
1000 "description": "A Version is a specific set of source code and confi guration files deployed to a service.", 1000 "description": "A Version resource is a specific set of source code and configuration files that are deployed into a service.",
1001 "id": "Version", 1001 "id": "Version",
1002 "properties": { 1002 "properties": {
1003 "name": { 1003 "name": {
1004 "description": "The full path to the Version resource in the API. Example: \"apps/myapp/services/default/versions/v1\". @OutputOnly", 1004 "description": "Full path to the Version resource in the API . Example: `apps/myapp/services/default/versions/v1`. @OutputOnly",
1005 "type": "string" 1005 "type": "string"
1006 }, 1006 },
1007 "id": { 1007 "id": {
1008 "description": "The relative name/path of the Version within the service. Example: \"v1\". Version specifiers can contain lowercase letters, digits, and hyphens. It cannot begin with the prefix `ah-` and the names `defau lt` and `latest` are reserved and cannot be used.", 1008 "description": "Relative name of the version within the modu le. Example: `v1`. Version names can contain only lowercase letters, numbers, or hyphens. Reserved names: \"default\", \"latest\", and any name with the prefix \"ah-\".",
1009 "type": "string" 1009 "type": "string"
1010 }, 1010 },
1011 "automaticScaling": { 1011 "automaticScaling": {
1012 "$ref": "AutomaticScaling", 1012 "$ref": "AutomaticScaling",
1013 "description": "Automatic scaling is the scaling policy that App Engine has used since its inception. It is based on request rate, response latencies, and other application metrics." 1013 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics."
1014 }, 1014 },
1015 "basicScaling": { 1015 "basicScaling": {
1016 "$ref": "BasicScaling", 1016 "$ref": "BasicScaling",
1017 "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." 1017 "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."
1018 }, 1018 },
1019 "manualScaling": { 1019 "manualScaling": {
1020 "$ref": "ManualScaling", 1020 "$ref": "ManualScaling",
1021 "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." 1021 "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."
1022 }, 1022 },
1023 "inboundServices": { 1023 "inboundServices": {
1024 "description": "Before an application can receive email or X MPP messages, the application must be configured to enable the service.", 1024 "description": "Before an application can receive email or X MPP messages, the application must be configured to enable the service.",
1025 "enumDescriptions": [ 1025 "enumDescriptions": [
1026 "Not specified.", 1026 "Not specified.",
1027 "Allows an application to receive mail.", 1027 "Allows an application to receive mail.",
1028 "Allows an application receive email bound notifications .", 1028 "Allows an application to receive email-bound notificati ons.",
1029 "Allows an application to receive error stanzas.", 1029 "Allows an application to receive error stanzas.",
1030 "Allows an application to receive instant messages.", 1030 "Allows an application to receive instant messages.",
1031 "Allows an application to receive user subscription POST s.", 1031 "Allows an application to receive user subscription POST s.",
1032 "Allows an application to receive a user's chat presence .", 1032 "Allows an application to receive a user's chat presence .",
1033 "Registers an application for notifications when a clien t connects or disconnects from a channel.", 1033 "Registers an application for notifications when a clien t connects or disconnects from a channel.",
1034 "Enables warmup requests." 1034 "Enables warmup requests."
1035 ], 1035 ],
1036 "items": { 1036 "items": {
1037 "enum": [ 1037 "enum": [
1038 "INBOUND_SERVICE_UNSPECIFIED", 1038 "INBOUND_SERVICE_UNSPECIFIED",
1039 "INBOUND_SERVICE_MAIL", 1039 "INBOUND_SERVICE_MAIL",
1040 "INBOUND_SERVICE_MAIL_BOUNCE", 1040 "INBOUND_SERVICE_MAIL_BOUNCE",
1041 "INBOUND_SERVICE_XMPP_ERROR", 1041 "INBOUND_SERVICE_XMPP_ERROR",
1042 "INBOUND_SERVICE_XMPP_MESSAGE", 1042 "INBOUND_SERVICE_XMPP_MESSAGE",
1043 "INBOUND_SERVICE_XMPP_SUBSCRIBE", 1043 "INBOUND_SERVICE_XMPP_SUBSCRIBE",
1044 "INBOUND_SERVICE_XMPP_PRESENCE", 1044 "INBOUND_SERVICE_XMPP_PRESENCE",
1045 "INBOUND_SERVICE_CHANNEL_PRESENCE", 1045 "INBOUND_SERVICE_CHANNEL_PRESENCE",
1046 "INBOUND_SERVICE_WARMUP" 1046 "INBOUND_SERVICE_WARMUP"
1047 ], 1047 ],
1048 "type": "string" 1048 "type": "string"
1049 }, 1049 },
1050 "type": "array" 1050 "type": "array"
1051 }, 1051 },
1052 "instanceClass": { 1052 "instanceClass": {
1053 "description": "The instance class to use to run this app. V alid values for AutomaticScaling are `[F1, F2, F4, F4_1G]`. Valid values for Man ualScaling and BasicScaling are `[B1, B2, B4, B8, B4_1G]`. Default: \"F1\" for A utomaticScaling, \"B1\" for ManualScaling and BasicScaling", 1053 "description": "Instance class that is used to run this vers ion. Valid values are: * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` * ManualSca ling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` Defaults to `F1` for Autom aticScaling and `B1` for ManualScaling or BasicScaling.",
1054 "type": "string" 1054 "type": "string"
1055 }, 1055 },
1056 "network": { 1056 "network": {
1057 "$ref": "Network", 1057 "$ref": "Network",
1058 "description": "Used to specify extra network settings (for VM runtimes only)." 1058 "description": "Extra network settings. Only applicable for VM runtimes."
1059 }, 1059 },
1060 "resources": { 1060 "resources": {
1061 "$ref": "Resources", 1061 "$ref": "Resources",
1062 "description": "Used to specify how many machine resources a n app version needs (for VM runtimes only)." 1062 "description": "Machine resources for this version. Only app licable for VM runtimes."
1063 }, 1063 },
1064 "runtime": { 1064 "runtime": {
1065 "description": "The desired runtime. Values can include pyth on27, java7, go, etc.", 1065 "description": "Desired runtime. Example: `python27`.",
1066 "type": "string" 1066 "type": "string"
1067 }, 1067 },
1068 "threadsafe": { 1068 "threadsafe": {
1069 "description": "If true, multiple requests can be dispatched to the app at once.", 1069 "description": "Whether multiple requests can be dispatched to this version at once.",
1070 "type": "boolean" 1070 "type": "boolean"
1071 }, 1071 },
1072 "vm": { 1072 "vm": {
1073 "description": "Whether to deploy this app in a VM container .", 1073 "description": "Whether to deploy this version in a containe r on a virtual machine.",
1074 "type": "boolean" 1074 "type": "boolean"
1075 }, 1075 },
1076 "betaSettings": { 1076 "betaSettings": {
1077 "additionalProperties": { 1077 "additionalProperties": {
1078 "type": "string" 1078 "type": "string"
1079 }, 1079 },
1080 "description": "Beta settings supplied to the application vi a metadata.", 1080 "description": "Metadata settings that are supplied to this version to enable beta runtime features.",
1081 "type": "object" 1081 "type": "object"
1082 }, 1082 },
1083 "env": { 1083 "env": {
1084 "description": "The App Engine execution environment to use for this version. Default: \"1\"", 1084 "description": "App Engine execution environment to use for this version. Defaults to `1`.",
1085 "type": "string" 1085 "type": "string"
1086 }, 1086 },
1087 "servingStatus": { 1087 "servingStatus": {
1088 "description": "The current serving status of this version. Only `SERVING` versions will have instances created or billed for. If this field is unset when a version is created, `SERVING` status will be assumed. It is an error to explicitly set this field to `SERVING_STATUS_UNSPECIFIED`.", 1088 "description": "Current serving status of this version. Only the versions with a `SERVING` status create instances and can be billed. `SERVI NG_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`.",
1089 "enum": [ 1089 "enum": [
1090 "SERVING_STATUS_UNSPECIFIED", 1090 "SERVING_STATUS_UNSPECIFIED",
1091 "SERVING", 1091 "SERVING",
1092 "STOPPED" 1092 "STOPPED"
1093 ], 1093 ],
1094 "type": "string" 1094 "type": "string"
1095 }, 1095 },
1096 "deployer": { 1096 "deployer": {
1097 "description": "The email address of the user who created th is version. @OutputOnly", 1097 "description": "Email address of the user who created this v ersion. @OutputOnly",
1098 "type": "string" 1098 "type": "string"
1099 }, 1099 },
1100 "creationTime": { 1100 "creationTime": {
1101 "description": "Creation time of this version. This will be between the start and end times of the operation that creates this version. @Out putOnly", 1101 "description": "Time that this version was created. @OutputO nly",
1102 "type": "string" 1102 "type": "string"
1103 }, 1103 },
1104 "diskUsageBytes": { 1104 "diskUsageBytes": {
1105 "description": "Total size of version files hosted on App En gine disk in bytes. @OutputOnly", 1105 "description": "Total size of version files hosted on App En gine disk in bytes. @OutputOnly",
1106 "format": "int64", 1106 "format": "int64",
1107 "type": "string" 1107 "type": "string"
1108 }, 1108 },
1109 "handlers": { 1109 "handlers": {
1110 "description": "An ordered list of URL Matching patterns tha t should be applied to incoming requests. The first matching URL consumes the re quest, and subsequent handlers are not attempted. Only returned in `GET` request s if `view=FULL` is set. May only be set on create requests; once created, is im mutable.", 1110 "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` reques ts if `view=FULL` is set.",
1111 "items": { 1111 "items": {
1112 "$ref": "UrlMap" 1112 "$ref": "UrlMap"
1113 }, 1113 },
1114 "type": "array" 1114 "type": "array"
1115 }, 1115 },
1116 "errorHandlers": { 1116 "errorHandlers": {
1117 "description": "Custom static error pages instead of these g eneric error pages, (limit 10 KB/page) Only returned in `GET` requests if `view= FULL` is set. May only be set on create requests; once created, is immutable.", 1117 "description": "Custom static error pages. Limited to 10KB p er page. Only returned in `GET` requests if `view=FULL` is set.",
1118 "items": { 1118 "items": {
1119 "$ref": "ErrorHandler" 1119 "$ref": "ErrorHandler"
1120 }, 1120 },
1121 "type": "array" 1121 "type": "array"
1122 }, 1122 },
1123 "libraries": { 1123 "libraries": {
1124 "description": "Configuration for Python runtime third-party libraries required by the application. Only returned in `GET` requests if `view =FULL` is set. May only be set on create requests; once created, is immutable.", 1124 "description": "Configuration for third-party Python runtime libraries required by the application. Only returned in `GET` requests if `view =FULL` is set.",
1125 "items": { 1125 "items": {
1126 "$ref": "Library" 1126 "$ref": "Library"
1127 }, 1127 },
1128 "type": "array" 1128 "type": "array"
1129 }, 1129 },
1130 "apiConfig": { 1130 "apiConfig": {
1131 "$ref": "ApiConfigHandler", 1131 "$ref": "ApiConfigHandler",
1132 "description": "Serving configuration for Google Cloud Endpo ints. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable." 1132 "description": "Serving configuration for [Google Cloud Endp oints](https://cloud.google.com/appengine/docs/python/endpoints/). Only returned in `GET` requests if `view=FULL` is set."
1133 }, 1133 },
1134 "envVariables": { 1134 "envVariables": {
1135 "additionalProperties": { 1135 "additionalProperties": {
1136 "type": "string" 1136 "type": "string"
1137 }, 1137 },
1138 "description": "Environment variables made available to the application. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable.", 1138 "description": "Environment variables made available to the application. Only returned in `GET` requests if `view=FULL` is set.",
1139 "type": "object" 1139 "type": "object"
1140 }, 1140 },
1141 "defaultExpiration": { 1141 "defaultExpiration": {
1142 "description": "The length of time a static file served by a static file handler ought to be cached by web proxies and browsers, if the hand ler does not specify its own expiration. Only returned in `GET` requests if `vie w=FULL` is set. May only be set on create requests; once created, is immutable." , 1142 "description": "Duration that static files should be cached by web proxies and browsers. Only applicable if the corresponding [StaticFilesHa ndler](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps. services.versions#staticfileshandler) does not specify its own expiration time. Only returned in `GET` requests if `view=FULL` is set.",
1143 "type": "string" 1143 "type": "string"
1144 }, 1144 },
1145 "healthCheck": { 1145 "healthCheck": {
1146 "$ref": "HealthCheck", 1146 "$ref": "HealthCheck",
1147 "description": "Configure health checking for the VM instanc es. Unhealthy VM instances will be stopped and replaced with new instances. Only returned in `GET` requests if `view=FULL` is set. May only be set on create req uests; once created, is immutable." 1147 "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."
1148 }, 1148 },
1149 "nobuildFilesRegex": { 1149 "nobuildFilesRegex": {
1150 "description": "Go only. Files that match this pattern will not be built into the app. May only be set on create requests.", 1150 "description": "Files that match this pattern will not be bu ilt into this version. Only applicable for Go runtimes. Only returned in `GET` r equests if `view=FULL` is set.",
1151 "type": "string" 1151 "type": "string"
1152 }, 1152 },
1153 "deployment": { 1153 "deployment": {
1154 "$ref": "Deployment", 1154 "$ref": "Deployment",
1155 "description": "Code and application artifacts that make up this version. Only returned in `GET` requests if `view=FULL` is set. May only be set on create requests; once created, is immutable." 1155 "description": "Code and application artifacts that make up this version. Only returned in `GET` requests if `view=FULL` is set."
1156 } 1156 }
1157 }, 1157 },
1158 "type": "object" 1158 "type": "object"
1159 }, 1159 },
1160 "AutomaticScaling": { 1160 "AutomaticScaling": {
1161 "description": "Automatic scaling is the scaling policy that App Eng ine has used since its inception. It is based on request rate, response latencie s, and other application metrics.", 1161 "description": "Automatic scaling is based on request rate, response latencies, and other application metrics.",
1162 "id": "AutomaticScaling", 1162 "id": "AutomaticScaling",
1163 "properties": { 1163 "properties": {
1164 "coolDownPeriod": { 1164 "coolDownPeriod": {
1165 "description": "The amount of time that the [Autoscaler](htt ps://cloud.google.com/compute/docs/autoscaler/) should wait between changes to t he number of virtual machines. Applies only to the VM runtime.", 1165 "description": "Amount of time that the [Autoscaler](https:/ /cloud.google.com/compute/docs/autoscaler/) should wait between changes to the n umber of virtual machines. Only applicable for VM runtimes.",
1166 "type": "string" 1166 "type": "string"
1167 }, 1167 },
1168 "cpuUtilization": { 1168 "cpuUtilization": {
1169 "$ref": "CpuUtilization", 1169 "$ref": "CpuUtilization",
1170 "description": "Target scaling by CPU usage." 1170 "description": "Target scaling by CPU usage."
1171 }, 1171 },
1172 "maxConcurrentRequests": { 1172 "maxConcurrentRequests": {
1173 "description": "The number of concurrent requests an automat ic scaling instance can accept before the scheduler spawns a new instance. Defau lt value is chosen based on the runtime.", 1173 "description": "Number of concurrent requests an automatic s caling instance can accept before the scheduler spawns a new instance. Defaults to a runtime-specific value.",
1174 "format": "int32", 1174 "format": "int32",
1175 "type": "integer" 1175 "type": "integer"
1176 }, 1176 },
1177 "maxIdleInstances": { 1177 "maxIdleInstances": {
1178 "description": "The maximum number of idle instances that Ap p Engine should maintain for this version.", 1178 "description": "Maximum number of idle instances that should be maintained for this version.",
1179 "format": "int32", 1179 "format": "int32",
1180 "type": "integer" 1180 "type": "integer"
1181 }, 1181 },
1182 "maxTotalInstances": { 1182 "maxTotalInstances": {
1183 "description": "Max number of instances that App Engine shou ld start to handle requests.", 1183 "description": "Maximum number of instances that should be s tarted to handle requests.",
1184 "format": "int32", 1184 "format": "int32",
1185 "type": "integer" 1185 "type": "integer"
1186 }, 1186 },
1187 "maxPendingLatency": { 1187 "maxPendingLatency": {
1188 "description": "The maximum amount of time that App Engine s hould allow a request to wait in the pending queue before starting a new instanc e to handle it.", 1188 "description": "Maximum amount of time that a request should wait in the pending queue before starting a new instance to handle it.",
1189 "type": "string" 1189 "type": "string"
1190 }, 1190 },
1191 "minIdleInstances": { 1191 "minIdleInstances": {
1192 "description": "The minimum number of idle instances that Ap p Engine should maintain for this version. Only applies to the default version o f a service, since other versions are not expected to receive significant traffi c.", 1192 "description": "Minimum number of idle instances that should be maintained for this version. Only applicable for the default version of a mo dule.",
1193 "format": "int32", 1193 "format": "int32",
1194 "type": "integer" 1194 "type": "integer"
1195 }, 1195 },
1196 "minTotalInstances": { 1196 "minTotalInstances": {
1197 "description": "Minimum number of instances that App Engine should maintain.", 1197 "description": "Minimum number of instances that should be m aintained for this version.",
1198 "format": "int32", 1198 "format": "int32",
1199 "type": "integer" 1199 "type": "integer"
1200 }, 1200 },
1201 "minPendingLatency": { 1201 "minPendingLatency": {
1202 "description": "The minimum amount of time that App Engine s hould allow a request to wait in the pending queue before starting a new instanc e to handle it.", 1202 "description": "Minimum amount of time a request should wait in the pending queue before starting a new instance to handle it.",
1203 "type": "string" 1203 "type": "string"
1204 }, 1204 },
1205 "requestUtilization": { 1205 "requestUtilization": {
1206 "$ref": "RequestUtilization", 1206 "$ref": "RequestUtilization",
1207 "description": "Target scaling by request utilization." 1207 "description": "Target scaling by request utilization."
1208 }, 1208 },
1209 "diskUtilization": { 1209 "diskUtilization": {
1210 "$ref": "DiskUtilization", 1210 "$ref": "DiskUtilization",
1211 "description": "Target scaling by disk usage." 1211 "description": "Target scaling by disk usage."
1212 }, 1212 },
1213 "networkUtilization": { 1213 "networkUtilization": {
1214 "$ref": "NetworkUtilization", 1214 "$ref": "NetworkUtilization",
1215 "description": "Target scaling by network usage." 1215 "description": "Target scaling by network usage."
1216 } 1216 }
1217 }, 1217 },
1218 "type": "object" 1218 "type": "object"
1219 }, 1219 },
1220 "CpuUtilization": { 1220 "CpuUtilization": {
1221 "description": "Target scaling by CPU usage.", 1221 "description": "Target scaling by CPU usage.",
1222 "id": "CpuUtilization", 1222 "id": "CpuUtilization",
1223 "properties": { 1223 "properties": {
1224 "aggregationWindowLength": { 1224 "aggregationWindowLength": {
1225 "description": "The period of time over which CPU utilizatio n is calculated.", 1225 "description": "Period of time over which CPU utilization is calculated.",
1226 "type": "string" 1226 "type": "string"
1227 }, 1227 },
1228 "targetUtilization": { 1228 "targetUtilization": {
1229 "description": "Target (0-1) CPU utilization ratio to mainta in when scaling.", 1229 "description": "Target CPU utilization ratio to maintain whe n scaling. Must be between 0 and 1.",
1230 "format": "double", 1230 "format": "double",
1231 "type": "number" 1231 "type": "number"
1232 } 1232 }
1233 }, 1233 },
1234 "type": "object" 1234 "type": "object"
1235 }, 1235 },
1236 "RequestUtilization": { 1236 "RequestUtilization": {
1237 "description": "Target scaling by request utilization (for VM runtim es only).", 1237 "description": "Target scaling by request utilization. Only applicab le for VM runtimes.",
1238 "id": "RequestUtilization", 1238 "id": "RequestUtilization",
1239 "properties": { 1239 "properties": {
1240 "targetRequestCountPerSec": { 1240 "targetRequestCountPerSec": {
1241 "description": "Target requests per second.", 1241 "description": "Target requests per second.",
1242 "format": "int32", 1242 "format": "int32",
1243 "type": "integer" 1243 "type": "integer"
1244 }, 1244 },
1245 "targetConcurrentRequests": { 1245 "targetConcurrentRequests": {
1246 "description": "Target number of concurrent requests.", 1246 "description": "Target number of concurrent requests.",
1247 "format": "int32", 1247 "format": "int32",
1248 "type": "integer" 1248 "type": "integer"
1249 } 1249 }
1250 }, 1250 },
1251 "type": "object" 1251 "type": "object"
1252 }, 1252 },
1253 "DiskUtilization": { 1253 "DiskUtilization": {
1254 "description": "Target scaling by disk usage (for VM runtimes only). ", 1254 "description": "Target scaling by disk usage. Only applicable for VM runtimes.",
1255 "id": "DiskUtilization", 1255 "id": "DiskUtilization",
1256 "properties": { 1256 "properties": {
1257 "targetWriteBytesPerSec": { 1257 "targetWriteBytesPerSec": {
1258 "description": "Target bytes per second written.", 1258 "description": "Target bytes written per second.",
1259 "format": "int32", 1259 "format": "int32",
1260 "type": "integer" 1260 "type": "integer"
1261 }, 1261 },
1262 "targetWriteOpsPerSec": { 1262 "targetWriteOpsPerSec": {
1263 "description": "Target ops per second written.", 1263 "description": "Target ops written per second.",
1264 "format": "int32", 1264 "format": "int32",
1265 "type": "integer" 1265 "type": "integer"
1266 }, 1266 },
1267 "targetReadBytesPerSec": { 1267 "targetReadBytesPerSec": {
1268 "description": "Target bytes per second read.", 1268 "description": "Target bytes read per second.",
1269 "format": "int32", 1269 "format": "int32",
1270 "type": "integer" 1270 "type": "integer"
1271 }, 1271 },
1272 "targetReadOpsPerSec": { 1272 "targetReadOpsPerSec": {
1273 "description": "Target ops per second read.", 1273 "description": "Target ops read per second.",
1274 "format": "int32", 1274 "format": "int32",
1275 "type": "integer" 1275 "type": "integer"
1276 } 1276 }
1277 }, 1277 },
1278 "type": "object" 1278 "type": "object"
1279 }, 1279 },
1280 "NetworkUtilization": { 1280 "NetworkUtilization": {
1281 "description": "Target scaling by network usage (for VM runtimes onl y).", 1281 "description": "Target scaling by network usage. Only applicable for VM runtimes.",
1282 "id": "NetworkUtilization", 1282 "id": "NetworkUtilization",
1283 "properties": { 1283 "properties": {
1284 "targetSentBytesPerSec": { 1284 "targetSentBytesPerSec": {
1285 "description": "Target bytes per second sent.", 1285 "description": "Target bytes sent per second.",
1286 "format": "int32", 1286 "format": "int32",
1287 "type": "integer" 1287 "type": "integer"
1288 }, 1288 },
1289 "targetSentPacketsPerSec": { 1289 "targetSentPacketsPerSec": {
1290 "description": "Target packets per second sent.", 1290 "description": "Target packets sent per second.",
1291 "format": "int32", 1291 "format": "int32",
1292 "type": "integer" 1292 "type": "integer"
1293 }, 1293 },
1294 "targetReceivedBytesPerSec": { 1294 "targetReceivedBytesPerSec": {
1295 "description": "Target bytes per second received.", 1295 "description": "Target bytes received per second.",
1296 "format": "int32", 1296 "format": "int32",
1297 "type": "integer" 1297 "type": "integer"
1298 }, 1298 },
1299 "targetReceivedPacketsPerSec": { 1299 "targetReceivedPacketsPerSec": {
1300 "description": "Target packets per second received.", 1300 "description": "Target packets received per second.",
1301 "format": "int32", 1301 "format": "int32",
1302 "type": "integer" 1302 "type": "integer"
1303 } 1303 }
1304 }, 1304 },
1305 "type": "object" 1305 "type": "object"
1306 }, 1306 },
1307 "BasicScaling": { 1307 "BasicScaling": {
1308 "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or dr iven by user activity.", 1308 "description": "A service with basic scaling will create an instance when the application receives a request. The instance will be turned down when the app becomes idle. Basic scaling is ideal for work that is intermittent or dr iven by user activity.",
1309 "id": "BasicScaling", 1309 "id": "BasicScaling",
1310 "properties": { 1310 "properties": {
1311 "idleTimeout": { 1311 "idleTimeout": {
1312 "description": "The instance will be shut down this amount o f time after receiving its last request.", 1312 "description": "Duration of time after the last request that an instance must wait before the instance is shut down.",
1313 "type": "string" 1313 "type": "string"
1314 }, 1314 },
1315 "maxInstances": { 1315 "maxInstances": {
1316 "description": "The maximum number of instances for App Engi ne to create for this version.", 1316 "description": "Maximum number of instances to create for th is version.",
1317 "format": "int32", 1317 "format": "int32",
1318 "type": "integer" 1318 "type": "integer"
1319 } 1319 }
1320 }, 1320 },
1321 "type": "object" 1321 "type": "object"
1322 }, 1322 },
1323 "ManualScaling": { 1323 "ManualScaling": {
1324 "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.", 1324 "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.",
1325 "id": "ManualScaling", 1325 "id": "ManualScaling",
1326 "properties": { 1326 "properties": {
1327 "instances": { 1327 "instances": {
1328 "description": "The number of instances to assign to the ser vice at the start. This number can later be altered by using the [Modules API](h ttps://cloud.google.com/appengine/docs/python/modules/functions) `set_num_instan ces()` function.", 1328 "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.",
1329 "format": "int32", 1329 "format": "int32",
1330 "type": "integer" 1330 "type": "integer"
1331 } 1331 }
1332 }, 1332 },
1333 "type": "object" 1333 "type": "object"
1334 }, 1334 },
1335 "Network": { 1335 "Network": {
1336 "description": "Used to specify extra network settings (for VM runti mes only).", 1336 "description": "Extra network settings. Only applicable for VM runti mes.",
1337 "id": "Network", 1337 "id": "Network",
1338 "properties": { 1338 "properties": {
1339 "forwardedPorts": { 1339 "forwardedPorts": {
1340 "description": "A list of ports (or port pairs) to forward f rom the VM into the app container.", 1340 "description": "List of ports, or port pairs, to forward fro m the virtual machine to the application container.",
1341 "items": { 1341 "items": {
1342 "type": "string" 1342 "type": "string"
1343 }, 1343 },
1344 "type": "array" 1344 "type": "array"
1345 }, 1345 },
1346 "instanceTag": { 1346 "instanceTag": {
1347 "description": "A tag to apply to the VM instance during cre ation.", 1347 "description": "Tag to apply to the VM instance during creat ion.",
1348 "type": "string" 1348 "type": "string"
1349 }, 1349 },
1350 "name": { 1350 "name": {
1351 "description": "The Google Compute Engine network where the VMs will be created. If not specified, or empty, the network named \"default\" w ill be used. (The short name should be specified, not the resource path.)", 1351 "description": "Google Cloud Platform network where the virt ual machines are created. Specify the short name, not the resource path. Default s to `default`.",
1352 "type": "string" 1352 "type": "string"
1353 } 1353 }
1354 }, 1354 },
1355 "type": "object" 1355 "type": "object"
1356 }, 1356 },
1357 "Resources": { 1357 "Resources": {
1358 "description": "Used to specify how many machine resources an app ve rsion needs.", 1358 "description": "Machine resources for a version.",
1359 "id": "Resources", 1359 "id": "Resources",
1360 "properties": { 1360 "properties": {
1361 "cpu": { 1361 "cpu": {
1362 "description": "How many CPU cores an app version needs.", 1362 "description": "Number of CPU cores needed.",
1363 "format": "double", 1363 "format": "double",
1364 "type": "number" 1364 "type": "number"
1365 }, 1365 },
1366 "diskGb": { 1366 "diskGb": {
1367 "description": "How much disk size, in GB, an app version ne eds.", 1367 "description": "Disk size (GB) needed.",
1368 "format": "double", 1368 "format": "double",
1369 "type": "number" 1369 "type": "number"
1370 }, 1370 },
1371 "memoryGb": { 1371 "memoryGb": {
1372 "description": "How much memory, in GB, an app version needs .", 1372 "description": "Memory (GB) needed.",
1373 "format": "double", 1373 "format": "double",
1374 "type": "number" 1374 "type": "number"
1375 } 1375 }
1376 }, 1376 },
1377 "type": "object" 1377 "type": "object"
1378 }, 1378 },
1379 "UrlMap": { 1379 "UrlMap": {
1380 "description": "A URL pattern and description of how it should be ha ndled. App Engine can handle URLs by executing application code, or by serving s tatic files uploaded with the code, such as images, CSS or JavaScript.", 1380 "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.",
1381 "id": "UrlMap", 1381 "id": "UrlMap",
1382 "properties": { 1382 "properties": {
1383 "urlRegex": { 1383 "urlRegex": {
1384 "description": "A URL prefix. This value uses regular expres sion syntax (and so regexp special characters must be escaped), but it should no t contain groupings. All URLs that begin with this prefix are handled by this ha ndler, using the portion of the URL after the prefix as part of the file path. T his is always required.", 1384 "description": "A URL prefix. Uses regular expression syntax , which means regexp special characters must be escaped, but should not contain groupings. All URLs that begin with this prefix are handled by this handler, usi ng the portion of the URL after the prefix as part of the file path.",
1385 "type": "string" 1385 "type": "string"
1386 }, 1386 },
1387 "staticFiles": { 1387 "staticFiles": {
1388 "$ref": "StaticFilesHandler", 1388 "$ref": "StaticFilesHandler",
1389 "description": "Returns the contents of a file, such as an i mage, as the response." 1389 "description": "Returns the contents of a file, such as an i mage, as the response."
1390 }, 1390 },
1391 "script": { 1391 "script": {
1392 "$ref": "ScriptHandler", 1392 "$ref": "ScriptHandler",
1393 "description": "Executes a script to handle the request that matches the URL pattern." 1393 "description": "Executes a script to handle the request that matches this URL pattern."
1394 }, 1394 },
1395 "apiEndpoint": { 1395 "apiEndpoint": {
1396 "$ref": "ApiEndpointHandler", 1396 "$ref": "ApiEndpointHandler",
1397 "description": "Use API Endpoints to handle requests." 1397 "description": "Uses API Endpoints to handle requests."
1398 }, 1398 },
1399 "securityLevel": { 1399 "securityLevel": {
1400 "description": "Configures whether security (HTTPS) should b e enforced for this URL.", 1400 "description": "Security (HTTPS) enforcement for this URL.",
1401 "enum": [ 1401 "enum": [
1402 "SECURE_UNSPECIFIED", 1402 "SECURE_UNSPECIFIED",
1403 "SECURE_DEFAULT", 1403 "SECURE_DEFAULT",
1404 "SECURE_NEVER", 1404 "SECURE_NEVER",
1405 "SECURE_OPTIONAL", 1405 "SECURE_OPTIONAL",
1406 "SECURE_ALWAYS" 1406 "SECURE_ALWAYS"
1407 ], 1407 ],
1408 "type": "string" 1408 "type": "string"
1409 }, 1409 },
1410 "login": { 1410 "login": {
1411 "description": "What level of login is required to access th is resource.", 1411 "description": "Level of login required to access this resou rce.",
1412 "enum": [ 1412 "enum": [
1413 "LOGIN_UNSPECIFIED", 1413 "LOGIN_UNSPECIFIED",
1414 "LOGIN_OPTIONAL", 1414 "LOGIN_OPTIONAL",
1415 "LOGIN_ADMIN", 1415 "LOGIN_ADMIN",
1416 "LOGIN_REQUIRED" 1416 "LOGIN_REQUIRED"
1417 ], 1417 ],
1418 "type": "string" 1418 "type": "string"
1419 }, 1419 },
1420 "authFailAction": { 1420 "authFailAction": {
1421 "description": "For users not logged in, how to handle acces s to resources with required login. Defaults to \"redirect\".", 1421 "description": "Action to take when users access resources t hat require authentication. Defaults to `redirect`.",
1422 "enum": [ 1422 "enum": [
1423 "AUTH_FAIL_ACTION_UNSPECIFIED", 1423 "AUTH_FAIL_ACTION_UNSPECIFIED",
1424 "AUTH_FAIL_ACTION_REDIRECT", 1424 "AUTH_FAIL_ACTION_REDIRECT",
1425 "AUTH_FAIL_ACTION_UNAUTHORIZED" 1425 "AUTH_FAIL_ACTION_UNAUTHORIZED"
1426 ], 1426 ],
1427 "type": "string" 1427 "type": "string"
1428 }, 1428 },
1429 "redirectHttpResponseCode": { 1429 "redirectHttpResponseCode": {
1430 "description": "`30x` code to use when performing redirects for the `secure` field. A `302` is used by default.", 1430 "description": "`30x` code to use when performing redirects for the `secure` field. Defaults to `302`.",
1431 "enum": [ 1431 "enum": [
1432 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED", 1432 "REDIRECT_HTTP_RESPONSE_CODE_UNSPECIFIED",
1433 "REDIRECT_HTTP_RESPONSE_CODE_301", 1433 "REDIRECT_HTTP_RESPONSE_CODE_301",
1434 "REDIRECT_HTTP_RESPONSE_CODE_302", 1434 "REDIRECT_HTTP_RESPONSE_CODE_302",
1435 "REDIRECT_HTTP_RESPONSE_CODE_303", 1435 "REDIRECT_HTTP_RESPONSE_CODE_303",
1436 "REDIRECT_HTTP_RESPONSE_CODE_307" 1436 "REDIRECT_HTTP_RESPONSE_CODE_307"
1437 ], 1437 ],
1438 "type": "string" 1438 "type": "string"
1439 } 1439 }
1440 }, 1440 },
1441 "type": "object" 1441 "type": "object"
1442 }, 1442 },
1443 "StaticFilesHandler": { 1443 "StaticFilesHandler": {
1444 "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.", 1444 "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.",
1445 "id": "StaticFilesHandler", 1445 "id": "StaticFilesHandler",
1446 "properties": { 1446 "properties": {
1447 "path": { 1447 "path": {
1448 "description": "The path to the static files matched by the URL pattern, from the application root directory. The path can refer to text mat ched in groupings in the URL pattern.", 1448 "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.",
1449 "type": "string" 1449 "type": "string"
1450 }, 1450 },
1451 "uploadPathRegex": { 1451 "uploadPathRegex": {
1452 "description": "A regular expression that matches the file p aths for all files that will be referenced by this handler.", 1452 "description": "Regular expression that matches the file pat hs for all files that should be referenced by this handler.",
1453 "type": "string" 1453 "type": "string"
1454 }, 1454 },
1455 "httpHeaders": { 1455 "httpHeaders": {
1456 "additionalProperties": { 1456 "additionalProperties": {
1457 "type": "string" 1457 "type": "string"
1458 }, 1458 },
1459 "description": "HTTP headers to use for all responses from t hese URLs.", 1459 "description": "HTTP headers to use for all responses from t hese URLs.",
1460 "type": "object" 1460 "type": "object"
1461 }, 1461 },
1462 "mimeType": { 1462 "mimeType": {
1463 "description": "If specified, all files served by this handl er will be served using the specified MIME type. If not specified, the MIME type for a file will be derived from the file's filename extension.", 1463 "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.",
1464 "type": "string" 1464 "type": "string"
1465 }, 1465 },
1466 "expiration": { 1466 "expiration": {
1467 "description": "The length of time a static file served by t his handler ought to be cached by web proxies and browsers.", 1467 "description": "Time a static file served by this handler sh ould be cached.",
1468 "type": "string" 1468 "type": "string"
1469 }, 1469 },
1470 "requireMatchingFile": { 1470 "requireMatchingFile": {
1471 "description": "If true, this UrlMap entry does not match th e request unless the file referenced by the handler also exists. If no such file exists, processing will continue with the next UrlMap that matches the requeste d URL.", 1471 "description": "Whether this handler should match the reques t if the file referenced by the handler does not exist.",
1472 "type": "boolean" 1472 "type": "boolean"
1473 }, 1473 },
1474 "applicationReadable": { 1474 "applicationReadable": {
1475 "description": "By default, files declared in static file ha ndlers are uploaded as static data and are only served to end users, they cannot be read by an application. If this field is set to true, the files are also upl oaded as code data so your application can read them. Both uploads are charged a gainst your code and static data storage resource quotas.", 1475 "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.",
1476 "type": "boolean" 1476 "type": "boolean"
1477 } 1477 }
1478 }, 1478 },
1479 "type": "object" 1479 "type": "object"
1480 }, 1480 },
1481 "ScriptHandler": { 1481 "ScriptHandler": {
1482 "description": "Executes a script to handle the request that matches the URL pattern.", 1482 "description": "Executes a script to handle the request that matches the URL pattern.",
1483 "id": "ScriptHandler", 1483 "id": "ScriptHandler",
1484 "properties": { 1484 "properties": {
1485 "scriptPath": { 1485 "scriptPath": {
1486 "description": "Specifies the path to the script from the ap plication root directory.", 1486 "description": "Path to the script from the application root directory.",
1487 "type": "string" 1487 "type": "string"
1488 } 1488 }
1489 }, 1489 },
1490 "type": "object" 1490 "type": "object"
1491 }, 1491 },
1492 "ApiEndpointHandler": { 1492 "ApiEndpointHandler": {
1493 "description": "Use Google Cloud Endpoints to handle requests.", 1493 "description": "Uses Google Cloud Endpoints to handle requests.",
1494 "id": "ApiEndpointHandler", 1494 "id": "ApiEndpointHandler",
1495 "properties": { 1495 "properties": {
1496 "scriptPath": { 1496 "scriptPath": {
1497 "description": "Specifies the path to the script from the ap plication root directory.", 1497 "description": "Path to the script from the application root directory.",
1498 "type": "string" 1498 "type": "string"
1499 } 1499 }
1500 }, 1500 },
1501 "type": "object" 1501 "type": "object"
1502 }, 1502 },
1503 "ErrorHandler": { 1503 "ErrorHandler": {
1504 "description": "A custom static error page to be served when an erro r occurs.", 1504 "description": "Custom static error page to be served when an error occurs.",
1505 "id": "ErrorHandler", 1505 "id": "ErrorHandler",
1506 "properties": { 1506 "properties": {
1507 "errorCode": { 1507 "errorCode": {
1508 "description": "The error condition this handler applies to. ", 1508 "description": "Error condition this handler applies to.",
1509 "enum": [ 1509 "enum": [
1510 "ERROR_CODE_UNSPECIFIED", 1510 "ERROR_CODE_UNSPECIFIED",
1511 "ERROR_CODE_DEFAULT", 1511 "ERROR_CODE_DEFAULT",
1512 "ERROR_CODE_OVER_QUOTA", 1512 "ERROR_CODE_OVER_QUOTA",
1513 "ERROR_CODE_DOS_API_DENIAL", 1513 "ERROR_CODE_DOS_API_DENIAL",
1514 "ERROR_CODE_TIMEOUT" 1514 "ERROR_CODE_TIMEOUT"
1515 ], 1515 ],
1516 "type": "string" 1516 "type": "string"
1517 }, 1517 },
1518 "staticFile": { 1518 "staticFile": {
1519 "description": "Static file content to be served for this er ror.", 1519 "description": "Static file content to be served for this er ror.",
1520 "type": "string" 1520 "type": "string"
1521 }, 1521 },
1522 "mimeType": { 1522 "mimeType": {
1523 "description": "MIME type of file. If unspecified, \"text/ht ml\" is assumed.", 1523 "description": "MIME type of file. Defaults to `text/html`." ,
1524 "type": "string" 1524 "type": "string"
1525 } 1525 }
1526 }, 1526 },
1527 "type": "object" 1527 "type": "object"
1528 }, 1528 },
1529 "Library": { 1529 "Library": {
1530 "description": "A Python runtime third-party library required by the application.", 1530 "description": "Third-party Python runtime library that is required by the application.",
1531 "id": "Library", 1531 "id": "Library",
1532 "properties": { 1532 "properties": {
1533 "name": { 1533 "name": {
1534 "description": "The name of the library, e.g. \"PIL\" or \"d jango\".", 1534 "description": "Name of the library. Example: \"django\".",
1535 "type": "string" 1535 "type": "string"
1536 }, 1536 },
1537 "version": { 1537 "version": {
1538 "description": "The version of the library to select, or \"l atest\".", 1538 "description": "Version of the library to select, or \"lates t\".",
1539 "type": "string" 1539 "type": "string"
1540 } 1540 }
1541 }, 1541 },
1542 "type": "object" 1542 "type": "object"
1543 }, 1543 },
1544 "ApiConfigHandler": { 1544 "ApiConfigHandler": {
1545 "description": "API Serving configuration for Cloud Endpoints.", 1545 "description": "[Google Cloud Endpoints](https://cloud.google.com/ap pengine/docs/python/endpoints/) configuration for API handlers.",
1546 "id": "ApiConfigHandler", 1546 "id": "ApiConfigHandler",
1547 "properties": { 1547 "properties": {
1548 "authFailAction": { 1548 "authFailAction": {
1549 "description": "For users not logged in, how to handle acces s to resources with required login. Defaults to \"redirect\".", 1549 "description": "Action to take when users access resources t hat require authentication. Defaults to `redirect`.",
1550 "enum": [ 1550 "enum": [
1551 "AUTH_FAIL_ACTION_UNSPECIFIED", 1551 "AUTH_FAIL_ACTION_UNSPECIFIED",
1552 "AUTH_FAIL_ACTION_REDIRECT", 1552 "AUTH_FAIL_ACTION_REDIRECT",
1553 "AUTH_FAIL_ACTION_UNAUTHORIZED" 1553 "AUTH_FAIL_ACTION_UNAUTHORIZED"
1554 ], 1554 ],
1555 "type": "string" 1555 "type": "string"
1556 }, 1556 },
1557 "login": { 1557 "login": {
1558 "description": "What level of login is required to access th is resource. Default is \"optional\".", 1558 "description": "Level of login required to access this resou rce. Defaults to `optional`.",
1559 "enum": [ 1559 "enum": [
1560 "LOGIN_UNSPECIFIED", 1560 "LOGIN_UNSPECIFIED",
1561 "LOGIN_OPTIONAL", 1561 "LOGIN_OPTIONAL",
1562 "LOGIN_ADMIN", 1562 "LOGIN_ADMIN",
1563 "LOGIN_REQUIRED" 1563 "LOGIN_REQUIRED"
1564 ], 1564 ],
1565 "type": "string" 1565 "type": "string"
1566 }, 1566 },
1567 "script": { 1567 "script": {
1568 "description": "Specifies the path to the script from the ap plication root directory.", 1568 "description": "Path to the script from the application root directory.",
1569 "type": "string" 1569 "type": "string"
1570 }, 1570 },
1571 "securityLevel": { 1571 "securityLevel": {
1572 "description": "Configures whether security (HTTPS) should b e enforced for this URL.", 1572 "description": "Security (HTTPS) enforcement for this URL.",
1573 "enum": [ 1573 "enum": [
1574 "SECURE_UNSPECIFIED", 1574 "SECURE_UNSPECIFIED",
1575 "SECURE_DEFAULT", 1575 "SECURE_DEFAULT",
1576 "SECURE_NEVER", 1576 "SECURE_NEVER",
1577 "SECURE_OPTIONAL", 1577 "SECURE_OPTIONAL",
1578 "SECURE_ALWAYS" 1578 "SECURE_ALWAYS"
1579 ], 1579 ],
1580 "type": "string" 1580 "type": "string"
1581 }, 1581 },
1582 "url": { 1582 "url": {
1583 "description": "URL to serve the endpoint at.", 1583 "description": "URL to serve the endpoint at.",
1584 "type": "string" 1584 "type": "string"
1585 } 1585 }
1586 }, 1586 },
1587 "type": "object" 1587 "type": "object"
1588 }, 1588 },
1589 "HealthCheck": { 1589 "HealthCheck": {
1590 "description": "Configure health checking for the VM instances. Unhe althy VM instances will be killed and replaced with new instances.", 1590 "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.",
1591 "id": "HealthCheck", 1591 "id": "HealthCheck",
1592 "properties": { 1592 "properties": {
1593 "disableHealthCheck": { 1593 "disableHealthCheck": {
1594 "description": "Whether to explicitly disable health checks for this instance.", 1594 "description": "Whether to explicitly disable health checks for this instance.",
1595 "type": "boolean" 1595 "type": "boolean"
1596 }, 1596 },
1597 "host": { 1597 "host": {
1598 "description": "The host header to send when performing an H TTP health check (e.g. myapp.appspot.com)", 1598 "description": "Host header to send when performing an HTTP health check. Example: \"myapp.appspot.com\"",
1599 "type": "string" 1599 "type": "string"
1600 }, 1600 },
1601 "healthyThreshold": { 1601 "healthyThreshold": {
1602 "description": "The number of consecutive successful health checks before receiving traffic.", 1602 "description": "Number of consecutive successful health chec ks required before receiving traffic.",
1603 "format": "uint32", 1603 "format": "uint32",
1604 "type": "integer" 1604 "type": "integer"
1605 }, 1605 },
1606 "unhealthyThreshold": { 1606 "unhealthyThreshold": {
1607 "description": "The number of consecutive failed health chec ks before removing traffic.", 1607 "description": "Number of consecutive failed health checks r equired before removing traffic.",
1608 "format": "uint32", 1608 "format": "uint32",
1609 "type": "integer" 1609 "type": "integer"
1610 }, 1610 },
1611 "restartThreshold": { 1611 "restartThreshold": {
1612 "description": "The number of consecutive failed health chec ks before an instance is restarted.", 1612 "description": "Number of consecutive failed health checks r equired before an instance is restarted.",
1613 "format": "uint32", 1613 "format": "uint32",
1614 "type": "integer" 1614 "type": "integer"
1615 }, 1615 },
1616 "checkInterval": { 1616 "checkInterval": {
1617 "description": "The interval between health checks.", 1617 "description": "Interval between health checks.",
1618 "type": "string" 1618 "type": "string"
1619 }, 1619 },
1620 "timeout": { 1620 "timeout": {
1621 "description": "The amount of time before the health check i s considered failed.", 1621 "description": "Time before the health check is considered f ailed.",
1622 "type": "string" 1622 "type": "string"
1623 } 1623 }
1624 }, 1624 },
1625 "type": "object" 1625 "type": "object"
1626 }, 1626 },
1627 "Deployment": { 1627 "Deployment": {
1628 "description": "Code and application artifacts used to deploy a vers ion to App Engine.", 1628 "description": "Code and application artifacts used to deploy a vers ion to App Engine.",
1629 "id": "Deployment", 1629 "id": "Deployment",
1630 "properties": { 1630 "properties": {
1631 "files": { 1631 "files": {
1632 "additionalProperties": { 1632 "additionalProperties": {
1633 "$ref": "FileInfo" 1633 "$ref": "FileInfo"
1634 }, 1634 },
1635 "description": "A manifest of files stored in Google Cloud S torage which should be included as part of this application. All files must be r eadable using the credentials supplied with this call.", 1635 "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.",
1636 "type": "object" 1636 "type": "object"
1637 }, 1637 },
1638 "container": { 1638 "container": {
1639 "$ref": "ContainerInfo", 1639 "$ref": "ContainerInfo",
1640 "description": "If supplied, a docker (container) image whic h should be used to start the application. Only applicable to the 'vm' runtime." 1640 "description": "A Docker image that App Engine uses the run the version. Only applicable for instances in App Engine flexible environment."
1641 }, 1641 },
1642 "sourceReferences": { 1642 "sourceReferences": {
1643 "description": "The origin of the source code for this deplo yment. There can be more than one source reference per Version if source code is distributed among multiple repositories.", 1643 "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.",
1644 "items": { 1644 "items": {
1645 "$ref": "SourceReference" 1645 "$ref": "SourceReference"
1646 }, 1646 },
1647 "type": "array" 1647 "type": "array"
1648 } 1648 }
1649 }, 1649 },
1650 "type": "object" 1650 "type": "object"
1651 }, 1651 },
1652 "FileInfo": { 1652 "FileInfo": {
1653 "description": "A single source file which is part of the applicatio n to be deployed.", 1653 "description": "Single source file that is part of the version to be deployed. Each source file that is deployed must be specified separately.",
1654 "id": "FileInfo", 1654 "id": "FileInfo",
1655 "properties": { 1655 "properties": {
1656 "sourceUrl": { 1656 "sourceUrl": {
1657 "description": "The URL source to use to fetch this file. Mu st be a URL to a resource in Google Cloud Storage in the form 'http(s)://storage .googleapis.com/\\/\\'.", 1657 "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/\\/\\'.",
1658 "type": "string" 1658 "type": "string"
1659 }, 1659 },
1660 "sha1Sum": { 1660 "sha1Sum": {
1661 "description": "The SHA1 (160 bits) hash of the file in hex. ", 1661 "description": "The SHA1 hash of the file, in hex.",
1662 "type": "string" 1662 "type": "string"
1663 }, 1663 },
1664 "mimeType": { 1664 "mimeType": {
1665 "description": "The MIME type of the file; if unspecified, t he value from Google Cloud Storage will be used.", 1665 "description": "The MIME type of the file. Defaults to the v alue from Google Cloud Storage.",
1666 "type": "string" 1666 "type": "string"
1667 } 1667 }
1668 }, 1668 },
1669 "type": "object" 1669 "type": "object"
1670 }, 1670 },
1671 "ContainerInfo": { 1671 "ContainerInfo": {
1672 "description": "A Docker (container) image which should be used to s tart the application.", 1672 "description": "Docker image that is used to start a VM container fo r the version you deploy.",
1673 "id": "ContainerInfo", 1673 "id": "ContainerInfo",
1674 "properties": { 1674 "properties": {
1675 "image": { 1675 "image": {
1676 "description": "Reference to a hosted container image. Must be a URI to a resource in a Docker repository. Must be fully qualified, includin g tag or digest. e.g. gcr.io/my-project/image:tag or gcr.io/my-project/image@dig est", 1676 "description": "URI to the hosted container image in a Docke r repository. The URI must be fully qualified and include a tag or digest. Examp les: \"gcr.io/my-project/image:tag\" or \"gcr.io/my-project/image@digest\"",
1677 "type": "string" 1677 "type": "string"
1678 } 1678 }
1679 }, 1679 },
1680 "type": "object" 1680 "type": "object"
1681 }, 1681 },
1682 "SourceReference": { 1682 "SourceReference": {
1683 "description": "A reference to a particular snapshot of the source t ree used to build and deploy the application.", 1683 "description": "Reference to a particular snapshot of the source tre e used to build and deploy the application.",
1684 "id": "SourceReference", 1684 "id": "SourceReference",
1685 "properties": { 1685 "properties": {
1686 "repository": { 1686 "repository": {
1687 "description": "Optional. A URI string identifying the repos itory. Example: \"https://source.developers.google.com/p/app-123/r/default\"", 1687 "description": "URI string identifying the repository. Examp le: \"https://source.developers.google.com/p/app-123/r/default\"",
1688 "type": "string" 1688 "type": "string"
1689 }, 1689 },
1690 "revisionId": { 1690 "revisionId": {
1691 "description": "The canonical (and persistent) identifier of the deployed revision, i.e. any kind of aliases including tags or branch names are not allowed. Example (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"", 1691 "description": "The canonical, persistent identifier of the deployed revision. Aliases that include tags or branch names are not allowed. Ex ample (git): \"2198322f89e0bb2e25021667c2ed489d1fd34e6b\"",
1692 "type": "string" 1692 "type": "string"
1693 } 1693 }
1694 }, 1694 },
1695 "type": "object" 1695 "type": "object"
1696 }, 1696 },
1697 "ListVersionsResponse": { 1697 "ListVersionsResponse": {
1698 "description": "Response message for `Versions.ListVersions`.", 1698 "description": "Response message for `Versions.ListVersions`.",
1699 "id": "ListVersionsResponse", 1699 "id": "ListVersionsResponse",
1700 "properties": { 1700 "properties": {
1701 "versions": { 1701 "versions": {
1702 "description": "The versions belonging to the requested appl ication service.", 1702 "description": "The versions belonging to the requested serv ice.",
1703 "items": { 1703 "items": {
1704 "$ref": "Version" 1704 "$ref": "Version"
1705 }, 1705 },
1706 "type": "array" 1706 "type": "array"
1707 }, 1707 },
1708 "nextPageToken": { 1708 "nextPageToken": {
1709 "description": "Continuation token for fetching the next pag e of results.", 1709 "description": "Continuation token for fetching the next pag e of results.",
1710 "type": "string" 1710 "type": "string"
1711 } 1711 }
1712 }, 1712 },
1713 "type": "object" 1713 "type": "object"
1714 }, 1714 },
1715 "Service": { 1715 "Service": {
1716 "description": "A service is a logical component of an application t hat can share state and communicate in a secure fashion with other services. For example, an application that handles customer requests might include separate s ervices to handle other tasks such as API requests from mobile devices or backen d data analysis. Each service has a collection of versions that define a specifi c set of code used to implement the functionality of that service.", 1716 "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.",
1717 "id": "Service", 1717 "id": "Service",
1718 "properties": { 1718 "properties": {
1719 "name": { 1719 "name": {
1720 "description": "The full path to the Service resource in the API. Example: \"apps/myapp/services/default\" @OutputOnly", 1720 "description": "Full path to the Service resource in the API . Example: `apps/myapp/services/default`. @OutputOnly",
1721 "type": "string" 1721 "type": "string"
1722 }, 1722 },
1723 "id": { 1723 "id": {
1724 "description": "The relative name/path of the service within the application. Example: \"default\" @OutputOnly", 1724 "description": "Relative name of the service within the appl ication. Example: `default`. @OutputOnly",
1725 "type": "string" 1725 "type": "string"
1726 }, 1726 },
1727 "split": { 1727 "split": {
1728 "$ref": "TrafficSplit", 1728 "$ref": "TrafficSplit",
1729 "description": "A mapping that defines fractional HTTP traff ic diversion to different versions within the service." 1729 "description": "Mapping that defines fractional HTTP traffic diversion to different versions within the service."
1730 } 1730 }
1731 }, 1731 },
1732 "type": "object" 1732 "type": "object"
1733 }, 1733 },
1734 "TrafficSplit": { 1734 "TrafficSplit": {
1735 "description": "Configuration for traffic splitting for versions wit hin a single service. Traffic splitting allows traffic directed to the service t o be assigned to one of several versions in a fractional way, enabling experimen ts and canarying new builds, for example.", 1735 "description": "Traffic routing configuration for versions within a single service. Traffic splits define how traffic directed to the service is ass igned to versions.",
1736 "id": "TrafficSplit", 1736 "id": "TrafficSplit",
1737 "properties": { 1737 "properties": {
1738 "shardBy": { 1738 "shardBy": {
1739 "description": "Which mechanism should be used as a selector when choosing a version to send a request to. The traffic selection algorithm w ill be stable for either type until allocations are changed.", 1739 "description": "Mechanism used to determine which version a request is sent to. The traffic selection algorithm will be stable for either ty pe until allocations are changed.",
1740 "enum": [ 1740 "enum": [
1741 "UNSPECIFIED", 1741 "UNSPECIFIED",
1742 "COOKIE", 1742 "COOKIE",
1743 "IP" 1743 "IP"
1744 ], 1744 ],
1745 "type": "string" 1745 "type": "string"
1746 }, 1746 },
1747 "allocations": { 1747 "allocations": {
1748 "additionalProperties": { 1748 "additionalProperties": {
1749 "format": "double", 1749 "format": "double",
1750 "type": "number" 1750 "type": "number"
1751 }, 1751 },
1752 "description": "Mapping from service version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each v ersion may only be specified once, but some versions in the service may not have any traffic allocation. Services that have traffic allocated in this field may not be deleted until the service is deleted, or their traffic allocation is remo ved. Allocations must sum to 1. Supports precision up to two decimal places for IP-based splits and up to three decimal places for cookie-based splits.", 1752 "description": "Mapping from version IDs within the service to fractional (0.000, 1] allocations of traffic for that version. Each version c an be specified only once, but some versions in the service may not have any tra ffic allocation. Services that have traffic allocated cannot be deleted until ei ther the service is deleted or their traffic allocation is removed. Allocations must sum to 1. Up to two decimal place precision is supported for IP-based split s and up to three decimal places is supported for cookie-based splits.",
1753 "type": "object" 1753 "type": "object"
1754 } 1754 }
1755 }, 1755 },
1756 "type": "object" 1756 "type": "object"
1757 }, 1757 },
1758 "ListServicesResponse": { 1758 "ListServicesResponse": {
1759 "description": "Response message for `Services.ListServices`.", 1759 "description": "Response message for `Services.ListServices`.",
1760 "id": "ListServicesResponse", 1760 "id": "ListServicesResponse",
1761 "properties": { 1761 "properties": {
1762 "services": { 1762 "services": {
1763 "description": "The services belonging to the requested appl ication.", 1763 "description": "The services belonging to the requested appl ication.",
1764 "items": { 1764 "items": {
1765 "$ref": "Service" 1765 "$ref": "Service"
1766 }, 1766 },
1767 "type": "array" 1767 "type": "array"
1768 }, 1768 },
1769 "nextPageToken": { 1769 "nextPageToken": {
1770 "description": "Continuation token for fetching the next pag e of results.", 1770 "description": "Continuation token for fetching the next pag e of results.",
1771 "type": "string" 1771 "type": "string"
1772 } 1772 }
1773 }, 1773 },
1774 "type": "object" 1774 "type": "object"
1775 }, 1775 },
1776 "Instance": { 1776 "Instance": {
1777 "description": "Instances are the computing units that App Engine us es to automatically scale an application.", 1777 "description": "An Instance resource is the computing unit that App Engine uses to automatically scale an application.",
1778 "id": "Instance", 1778 "id": "Instance",
1779 "properties": { 1779 "properties": {
1780 "name": { 1780 "name": {
1781 "description": "The full path to the Instance resource in th e API. Example: \"apps/myapp/services/default/versions/v1/instances/instance-1\" @OutputOnly", 1781 "description": "Full path to the Instance resource in the AP I. Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. @Out putOnly",
1782 "type": "string" 1782 "type": "string"
1783 }, 1783 },
1784 "id": { 1784 "id": {
1785 "description": "The relative name/path of the instance withi n the version. Example: \"instance-1\" @OutputOnly", 1785 "description": "Relative name of the instance within the ver sion. Example: `instance-1`. @OutputOnly",
1786 "type": "string" 1786 "type": "string"
1787 }, 1787 },
1788 "appEngineRelease": { 1788 "appEngineRelease": {
1789 "description": "The App Engine release the instance is runni ng on. @OutputOnly", 1789 "description": "App Engine release this instance is running on. @OutputOnly",
1790 "type": "string" 1790 "type": "string"
1791 }, 1791 },
1792 "availability": { 1792 "availability": {
1793 "description": "Availability of instance. @OutputOnly", 1793 "description": "Availability of the instance. @OutputOnly",
1794 "enum": [ 1794 "enum": [
1795 "UNSPECIFIED", 1795 "UNSPECIFIED",
1796 "RESIDENT", 1796 "RESIDENT",
1797 "DYNAMIC" 1797 "DYNAMIC"
1798 ], 1798 ],
1799 "type": "string" 1799 "type": "string"
1800 }, 1800 },
1801 "vmName": { 1801 "vmName": {
1802 "description": "For VMEngines instances, the name of the Com pute Engine VM where the instance lives. @OutputOnly", 1802 "description": "Name of the virtual machine where this insta nce lives. Only applicable for instances in App Engine flexible environment. @Ou tputOnly",
1803 "type": "string" 1803 "type": "string"
1804 }, 1804 },
1805 "vmZoneName": { 1805 "vmZoneName": {
1806 "description": "For VMEngines instances, the zone where the Compute Engine VM is located. @OutputOnly", 1806 "description": "Zone where the virtual machine is located. O nly applicable for instances in App Engine flexible environment. @OutputOnly",
1807 "type": "string" 1807 "type": "string"
1808 }, 1808 },
1809 "vmId": { 1809 "vmId": {
1810 "description": "For VMEngines instances, the Compute Engine VM ID of the instance. @OutputOnly", 1810 "description": "Virtual machine ID of this instance. Only ap plicable for instances in App Engine flexible environment. @OutputOnly",
1811 "type": "string" 1811 "type": "string"
1812 }, 1812 },
1813 "startTimestamp": { 1813 "startTimestamp": {
1814 "description": "Time when instance was started. @OutputOnly" , 1814 "description": "Time that this instance was started. @Output Only",
1815 "type": "string" 1815 "type": "string"
1816 }, 1816 },
1817 "requests": { 1817 "requests": {
1818 "description": "Number of requests (since the clone was star ted). @OutputOnly", 1818 "description": "Number of requests since this instance was s tarted. @OutputOnly",
1819 "format": "int32", 1819 "format": "int32",
1820 "type": "integer" 1820 "type": "integer"
1821 }, 1821 },
1822 "errors": { 1822 "errors": {
1823 "description": "Number of errors since the instance was star ted. @OutputOnly", 1823 "description": "Number of errors since this instance was sta rted. @OutputOnly",
1824 "format": "uint32", 1824 "format": "uint32",
1825 "type": "integer" 1825 "type": "integer"
1826 }, 1826 },
1827 "qps": { 1827 "qps": {
1828 "description": "QPS for this instance (averaged over the las t minute). @OutputOnly", 1828 "description": "Average queries per second (QPS) over the la st minute. @OutputOnly",
1829 "format": "float", 1829 "format": "float",
1830 "type": "number" 1830 "type": "number"
1831 }, 1831 },
1832 "averageLatency": { 1832 "averageLatency": {
1833 "description": "Latency in milliseconds (averaged over the l ast minute). @OutputOnly", 1833 "description": "Average latency (ms) over the last minute. @ OutputOnly",
1834 "format": "int32", 1834 "format": "int32",
1835 "type": "integer" 1835 "type": "integer"
1836 }, 1836 },
1837 "memoryUsage": { 1837 "memoryUsage": {
1838 "description": "Memory usage (in bytes). @OutputOnly", 1838 "description": "Total memory in use (bytes). @OutputOnly",
1839 "format": "int64", 1839 "format": "int64",
1840 "type": "string" 1840 "type": "string"
1841 }, 1841 },
1842 "vmStatus": { 1842 "vmStatus": {
1843 "description": "For VMEngines instances, the status of the C ompute Engine VM where the instance lives. @OutputOnly", 1843 "description": "Status of the virtual machine where this ins tance lives. Only applicable for instances in App Engine flexible environment. @ OutputOnly",
1844 "type": "string" 1844 "type": "string"
1845 }, 1845 },
1846 "vmUnlocked": { 1846 "vmUnlocked": {
1847 "description": "For VMEngines instances, whether the instanc e has been unlocked. @OutputOnly", 1847 "description": "Whether this instance is in debug mode. Only applicable for instances in App Engine flexible environment. @OutputOnly",
1848 "type": "boolean" 1848 "type": "boolean"
1849 } 1849 }
1850 }, 1850 },
1851 "type": "object" 1851 "type": "object"
1852 }, 1852 },
1853 "ListInstancesResponse": { 1853 "ListInstancesResponse": {
1854 "description": "Response message for `Instances.ListInstances`.", 1854 "description": "Response message for `Instances.ListInstances`.",
1855 "id": "ListInstancesResponse", 1855 "id": "ListInstancesResponse",
1856 "properties": { 1856 "properties": {
1857 "instances": { 1857 "instances": {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1889 "type": "string" 1889 "type": "string"
1890 } 1890 }
1891 }, 1891 },
1892 "type": "object" 1892 "type": "object"
1893 }, 1893 },
1894 "Location": { 1894 "Location": {
1895 "description": "A resource that represents Google Cloud Platform loc ation.", 1895 "description": "A resource that represents Google Cloud Platform loc ation.",
1896 "id": "Location", 1896 "id": "Location",
1897 "properties": { 1897 "properties": {
1898 "name": { 1898 "name": {
1899 "description": "Resource name for the location, which may va ry between implementations. Example: `\"projects/example-project/locations/us-ea st1\"`", 1899 "description": "Resource name for the location, which may va ry between implementations. For example: `\"projects/example-project/locations/u s-east1\"`",
1900 "type": "string"
1901 },
1902 "locationId": {
1903 "description": "The cononical id for this location. For exam ple: `\"us-east1\"`.",
1900 "type": "string" 1904 "type": "string"
1901 }, 1905 },
1902 "labels": { 1906 "labels": {
1903 "additionalProperties": { 1907 "additionalProperties": {
1904 "type": "string" 1908 "type": "string"
1905 }, 1909 },
1906 "description": "Cross-service attributes for the location. F or example {\"cloud.googleapis.com/region\": \"us-east1\"}", 1910 "description": "Cross-service attributes for the location. F or example {\"cloud.googleapis.com/region\": \"us-east1\"}",
1907 "type": "object" 1911 "type": "object"
1908 }, 1912 },
1909 "metadata": { 1913 "metadata": {
1910 "additionalProperties": { 1914 "additionalProperties": {
1911 "description": "Properties of the object. Contains field @ype with type URL.", 1915 "description": "Properties of the object. Contains field @type with type URL.",
1912 "type": "any" 1916 "type": "any"
1913 }, 1917 },
1914 "description": "Service-specific metadata. For example the a vailable capacity at the given location.", 1918 "description": "Service-specific metadata. For example the a vailable capacity at the given location.",
1915 "type": "object" 1919 "type": "object"
1916 } 1920 }
1917 }, 1921 },
1918 "type": "object" 1922 "type": "object"
1919 }, 1923 },
1920 "OperationMetadata": { 1924 "OperationMetadata": {
1921 "description": "Metadata for the given google.longrunning.Operation. ", 1925 "description": "Metadata for the given google.longrunning.Operation. ",
1922 "id": "OperationMetadata", 1926 "id": "OperationMetadata",
1923 "properties": { 1927 "properties": {
1924 "operationType": { 1928 "operationType": {
1925 "description": "The type of the operation (deprecated, use m ethod field instead). Example: \"create_version\". @OutputOnly", 1929 "description": "Type of this operation. Deprecated, use meth od field instead. Example: \"create_version\". @OutputOnly",
1926 "type": "string" 1930 "type": "string"
1927 }, 1931 },
1928 "insertTime": { 1932 "insertTime": {
1929 "description": "Timestamp that this operation was received. @OutputOnly", 1933 "description": "Timestamp that this operation was created. @ OutputOnly",
1930 "type": "string" 1934 "type": "string"
1931 }, 1935 },
1932 "endTime": { 1936 "endTime": {
1933 "description": "Timestamp that this operation was completed. (Not present if the operation is still in progress.) @OutputOnly", 1937 "description": "Timestamp that this operation completed. @Ou tputOnly",
1934 "type": "string" 1938 "type": "string"
1935 }, 1939 },
1936 "user": { 1940 "user": {
1937 "description": "The user who requested this operation. @Outp utOnly", 1941 "description": "User who requested this operation. @OutputOn ly",
1938 "type": "string" 1942 "type": "string"
1939 }, 1943 },
1940 "target": { 1944 "target": {
1941 "description": "Resource that this operation is acting on. E xample: \"apps/myapp/modules/default\". @OutputOnly", 1945 "description": "Name of the resource that this operation is acting on. Example: `apps/myapp/modules/default`. @OutputOnly",
1942 "type": "string" 1946 "type": "string"
1943 }, 1947 },
1944 "method": { 1948 "method": {
1945 "description": "API method name that initiated the operation . Example: \"google.appengine.v1beta4.Version.CreateVersion\". @OutputOnly", 1949 "description": "API method that initiated this operation. Ex ample: `google.appengine.v1beta4.Version.CreateVersion`. @OutputOnly",
1946 "type": "string" 1950 "type": "string"
1947 } 1951 }
1948 }, 1952 },
1949 "type": "object" 1953 "type": "object"
1950 }, 1954 },
1951 "OperationMetadataV1Beta5": { 1955 "OperationMetadataV1Beta5": {
1952 "description": "Metadata for the given google.longrunning.Operation. ", 1956 "description": "Metadata for the given google.longrunning.Operation. ",
1953 "id": "OperationMetadataV1Beta5", 1957 "id": "OperationMetadataV1Beta5",
1954 "properties": { 1958 "properties": {
1955 "method": { 1959 "method": {
1956 "description": "API method name that initiated the operation . Example: \"google.appengine.v1beta5.Version.CreateVersion\". @OutputOnly", 1960 "description": "API method name that initiated this operatio n. Example: `google.appengine.v1beta5.Version.CreateVersion`. @OutputOnly",
1957 "type": "string" 1961 "type": "string"
1958 }, 1962 },
1959 "insertTime": { 1963 "insertTime": {
1960 "description": "Timestamp that this operation was received. @OutputOnly", 1964 "description": "Timestamp that this operation was created. @ OutputOnly",
1961 "type": "string" 1965 "type": "string"
1962 }, 1966 },
1963 "endTime": { 1967 "endTime": {
1964 "description": "Timestamp that this operation was completed. (Not present if the operation is still in progress.) @OutputOnly", 1968 "description": "Timestamp that this operation completed. @Ou tputOnly",
1965 "type": "string" 1969 "type": "string"
1966 }, 1970 },
1967 "user": { 1971 "user": {
1968 "description": "The user who requested this operation. @Outp utOnly", 1972 "description": "User who requested this operation. @OutputOn ly",
1969 "type": "string" 1973 "type": "string"
1970 }, 1974 },
1971 "target": { 1975 "target": {
1972 "description": "Resource that this operation is acting on. E xample: \"apps/myapp/services/default\". @OutputOnly", 1976 "description": "Name of the resource that this operation is acting on. Example: `apps/myapp/services/default`. @OutputOnly",
1973 "type": "string" 1977 "type": "string"
1974 } 1978 }
1975 }, 1979 },
1976 "type": "object" 1980 "type": "object"
1977 }, 1981 },
1978 "OperationMetadataV1": { 1982 "OperationMetadataV1": {
1979 "description": "Metadata for the given google.longrunning.Operation. ", 1983 "description": "Metadata for the given google.longrunning.Operation. ",
1980 "id": "OperationMetadataV1", 1984 "id": "OperationMetadataV1",
1981 "properties": { 1985 "properties": {
1982 "method": { 1986 "method": {
1983 "description": "API method name that initiated the operation . Example: \"google.appengine.v1.Version.CreateVersion\". @OutputOnly", 1987 "description": "API method that initiated this operation. Ex ample: `google.appengine.v1.Versions.CreateVersion`. @OutputOnly",
1984 "type": "string" 1988 "type": "string"
1985 }, 1989 },
1986 "insertTime": { 1990 "insertTime": {
1987 "description": "Timestamp that this operation was received. @OutputOnly", 1991 "description": "Time that this operation was created. @Outpu tOnly",
1988 "type": "string" 1992 "type": "string"
1989 }, 1993 },
1990 "endTime": { 1994 "endTime": {
1991 "description": "Timestamp that this operation was completed. (Not present if the operation is still in progress.) @OutputOnly", 1995 "description": "Time that this operation completed. @OutputO nly",
1992 "type": "string" 1996 "type": "string"
1993 }, 1997 },
1994 "user": { 1998 "user": {
1995 "description": "The user who requested this operation. @Outp utOnly", 1999 "description": "User who requested this operation. @OutputOn ly",
1996 "type": "string" 2000 "type": "string"
1997 }, 2001 },
1998 "target": { 2002 "target": {
1999 "description": "Resource that this operation is acting on. E xample: \"apps/myapp/services/default\". @OutputOnly", 2003 "description": "Name of the resource that this operation is acting on. Example: `apps/myapp/services/default`. @OutputOnly",
2000 "type": "string" 2004 "type": "string"
2001 } 2005 }
2002 }, 2006 },
2003 "type": "object" 2007 "type": "object"
2004 }, 2008 },
2005 "LocationMetadata": { 2009 "LocationMetadata": {
2006 "description": "Metadata for the given google.cloud.location.Locatio n.", 2010 "description": "Metadata for the given google.cloud.location.Locatio n.",
2007 "id": "LocationMetadata", 2011 "id": "LocationMetadata",
2012 "properties": {
2013 "standardEnvironmentAvailable": {
2014 "description": "App Engine Standard Environment is available in the given location. @OutputOnly",
2015 "type": "boolean"
2016 },
2017 "flexibleEnvironmentAvailable": {
2018 "description": "App Engine Flexible Environment is available in the given location. @OutputOnly",
2019 "type": "boolean"
2020 }
2021 },
2008 "type": "object" 2022 "type": "object"
2009 } 2023 }
2010 }, 2024 },
2011 "servicePath": "", 2025 "servicePath": "",
2012 "title": "Google App Engine Admin API", 2026 "title": "Google App Engine Admin API",
2013 "version": "v1beta5" 2027 "version": "v1beta5"
2014 } 2028 }
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