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