OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/cloud-platform": { | 5 "https://www.googleapis.com/auth/cloud-platform": { |
6 "description": "View and manage your data across Google Clou
d Platform services" | 6 "description": "View and manage your data across Google Clou
d Platform services" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://container.googleapis.com/", | 12 "baseUrl": "https://container.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Container", | 14 "canonicalName": "Container", |
15 "description": "The Google Container Engine API is used for building and man
aging container based applications, powered by the open source Kubernetes techno
logy.", | 15 "description": "The Google Container Engine API is used for building and man
aging container based applications, powered by the open source Kubernetes techno
logy.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://cloud.google.com/container-engine/", | 17 "documentationLink": "https://cloud.google.com/container-engine/", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "container:v1", | 22 "id": "container:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "container", | 24 "name": "container", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
28 "upload_protocol": { | |
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | |
30 "location": "query", | |
31 "type": "string" | |
32 }, | |
33 "prettyPrint": { | |
34 "default": "true", | |
35 "description": "Returns response with indentations and line breaks."
, | |
36 "location": "query", | |
37 "type": "boolean" | |
38 }, | |
39 "uploadType": { | |
40 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | |
41 "location": "query", | |
42 "type": "string" | |
43 }, | |
44 "fields": { | |
45 "description": "Selector specifying which fields to include in a par
tial response.", | |
46 "location": "query", | |
47 "type": "string" | |
48 }, | |
49 "callback": { | |
50 "description": "JSONP", | |
51 "location": "query", | |
52 "type": "string" | |
53 }, | |
54 "$.xgafv": { | |
55 "description": "V1 error format.", | |
56 "enum": [ | |
57 "1", | |
58 "2" | |
59 ], | |
60 "enumDescriptions": [ | |
61 "v1 error format", | |
62 "v2 error format" | |
63 ], | |
64 "location": "query", | |
65 "type": "string" | |
66 }, | |
67 "alt": { | 28 "alt": { |
68 "default": "json", | 29 "default": "json", |
69 "description": "Data format for response.", | 30 "description": "Data format for response.", |
70 "enum": [ | 31 "enum": [ |
71 "json", | 32 "json", |
72 "media", | 33 "media", |
73 "proto" | 34 "proto" |
74 ], | 35 ], |
75 "enumDescriptions": [ | 36 "enumDescriptions": [ |
76 "Responses with Content-Type of application/json", | 37 "Responses with Content-Type of application/json", |
77 "Media download with context-dependent Content-Type", | 38 "Media download with context-dependent Content-Type", |
78 "Responses with Content-Type of application/x-protobuf" | 39 "Responses with Content-Type of application/x-protobuf" |
79 ], | 40 ], |
80 "location": "query", | 41 "location": "query", |
81 "type": "string" | 42 "type": "string" |
82 }, | 43 }, |
| 44 "key": { |
| 45 "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.", |
| 46 "location": "query", |
| 47 "type": "string" |
| 48 }, |
83 "access_token": { | 49 "access_token": { |
84 "description": "OAuth access token.", | 50 "description": "OAuth access token.", |
85 "location": "query", | 51 "location": "query", |
86 "type": "string" | 52 "type": "string" |
87 }, | 53 }, |
88 "key": { | |
89 "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.", | |
90 "location": "query", | |
91 "type": "string" | |
92 }, | |
93 "quotaUser": { | 54 "quotaUser": { |
94 "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.", | 55 "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.", |
95 "location": "query", | 56 "location": "query", |
96 "type": "string" | 57 "type": "string" |
97 }, | 58 }, |
98 "pp": { | 59 "pp": { |
99 "default": "true", | 60 "default": "true", |
100 "description": "Pretty-print response.", | 61 "description": "Pretty-print response.", |
101 "location": "query", | 62 "location": "query", |
102 "type": "boolean" | 63 "type": "boolean" |
103 }, | 64 }, |
| 65 "bearer_token": { |
| 66 "description": "OAuth bearer token.", |
| 67 "location": "query", |
| 68 "type": "string" |
| 69 }, |
104 "oauth_token": { | 70 "oauth_token": { |
105 "description": "OAuth 2.0 token for the current user.", | 71 "description": "OAuth 2.0 token for the current user.", |
106 "location": "query", | 72 "location": "query", |
107 "type": "string" | 73 "type": "string" |
108 }, | 74 }, |
109 "bearer_token": { | 75 "upload_protocol": { |
110 "description": "OAuth bearer token.", | 76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 77 "location": "query", |
| 78 "type": "string" |
| 79 }, |
| 80 "prettyPrint": { |
| 81 "default": "true", |
| 82 "description": "Returns response with indentations and line breaks."
, |
| 83 "location": "query", |
| 84 "type": "boolean" |
| 85 }, |
| 86 "fields": { |
| 87 "description": "Selector specifying which fields to include in a par
tial response.", |
| 88 "location": "query", |
| 89 "type": "string" |
| 90 }, |
| 91 "uploadType": { |
| 92 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 93 "location": "query", |
| 94 "type": "string" |
| 95 }, |
| 96 "$.xgafv": { |
| 97 "description": "V1 error format.", |
| 98 "enum": [ |
| 99 "1", |
| 100 "2" |
| 101 ], |
| 102 "enumDescriptions": [ |
| 103 "v1 error format", |
| 104 "v2 error format" |
| 105 ], |
| 106 "location": "query", |
| 107 "type": "string" |
| 108 }, |
| 109 "callback": { |
| 110 "description": "JSONP", |
111 "location": "query", | 111 "location": "query", |
112 "type": "string" | 112 "type": "string" |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "projects": { | 117 "projects": { |
118 "resources": { | 118 "resources": { |
119 "zones": { | 119 "zones": { |
120 "methods": { | 120 "methods": { |
(...skipping 22 matching lines...) Expand all Loading... |
143 "path": "v1/projects/{projectId}/zones/{zone}/server
config", | 143 "path": "v1/projects/{projectId}/zones/{zone}/server
config", |
144 "response": { | 144 "response": { |
145 "$ref": "ServerConfig" | 145 "$ref": "ServerConfig" |
146 }, | 146 }, |
147 "scopes": [ | 147 "scopes": [ |
148 "https://www.googleapis.com/auth/cloud-platform" | 148 "https://www.googleapis.com/auth/cloud-platform" |
149 ] | 149 ] |
150 } | 150 } |
151 }, | 151 }, |
152 "resources": { | 152 "resources": { |
153 "operations": { | |
154 "methods": { | |
155 "get": { | |
156 "description": "Gets the specified operation
.", | |
157 "httpMethod": "GET", | |
158 "id": "container.projects.zones.operations.g
et", | |
159 "parameterOrder": [ | |
160 "projectId", | |
161 "zone", | |
162 "operationId" | |
163 ], | |
164 "parameters": { | |
165 "projectId": { | |
166 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
167 "location": "path", | |
168 "required": true, | |
169 "type": "string" | |
170 }, | |
171 "zone": { | |
172 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | |
173 "location": "path", | |
174 "required": true, | |
175 "type": "string" | |
176 }, | |
177 "operationId": { | |
178 "description": "The server-assigned
`name` of the operation.", | |
179 "location": "path", | |
180 "required": true, | |
181 "type": "string" | |
182 } | |
183 }, | |
184 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}", | |
185 "response": { | |
186 "$ref": "Operation" | |
187 }, | |
188 "scopes": [ | |
189 "https://www.googleapis.com/auth/cloud-p
latform" | |
190 ] | |
191 }, | |
192 "list": { | |
193 "description": "Lists all operations in a pr
oject in a specific zone or all zones.", | |
194 "httpMethod": "GET", | |
195 "id": "container.projects.zones.operations.l
ist", | |
196 "parameterOrder": [ | |
197 "projectId", | |
198 "zone" | |
199 ], | |
200 "parameters": { | |
201 "projectId": { | |
202 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
203 "location": "path", | |
204 "required": true, | |
205 "type": "string" | |
206 }, | |
207 "zone": { | |
208 "description": "The name of the Goog
le Compute Engine [zone](/compute/docs/zones#available)\nto return operations fo
r, or `-` for all zones.", | |
209 "location": "path", | |
210 "required": true, | |
211 "type": "string" | |
212 } | |
213 }, | |
214 "path": "v1/projects/{projectId}/zones/{zone
}/operations", | |
215 "response": { | |
216 "$ref": "ListOperationsResponse" | |
217 }, | |
218 "scopes": [ | |
219 "https://www.googleapis.com/auth/cloud-p
latform" | |
220 ] | |
221 }, | |
222 "cancel": { | |
223 "description": "Cancels the specified operat
ion.", | |
224 "httpMethod": "POST", | |
225 "id": "container.projects.zones.operations.c
ancel", | |
226 "parameterOrder": [ | |
227 "projectId", | |
228 "zone", | |
229 "operationId" | |
230 ], | |
231 "parameters": { | |
232 "operationId": { | |
233 "description": "The server-assigned
`name` of the operation.", | |
234 "location": "path", | |
235 "required": true, | |
236 "type": "string" | |
237 }, | |
238 "projectId": { | |
239 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
240 "location": "path", | |
241 "required": true, | |
242 "type": "string" | |
243 }, | |
244 "zone": { | |
245 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the operation
resides.", | |
246 "location": "path", | |
247 "required": true, | |
248 "type": "string" | |
249 } | |
250 }, | |
251 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}:cancel", | |
252 "request": { | |
253 "$ref": "CancelOperationRequest" | |
254 }, | |
255 "response": { | |
256 "$ref": "Empty" | |
257 }, | |
258 "scopes": [ | |
259 "https://www.googleapis.com/auth/cloud-p
latform" | |
260 ] | |
261 } | |
262 } | |
263 }, | |
264 "clusters": { | 153 "clusters": { |
265 "methods": { | 154 "methods": { |
266 "master": { | 155 "master": { |
267 "description": "Updates the master of a spec
ific cluster.", | 156 "description": "Updates the master of a spec
ific cluster.", |
268 "httpMethod": "POST", | 157 "httpMethod": "POST", |
269 "id": "container.projects.zones.clusters.mas
ter", | 158 "id": "container.projects.zones.clusters.mas
ter", |
270 "parameterOrder": [ | 159 "parameterOrder": [ |
271 "projectId", | 160 "projectId", |
272 "zone", | 161 "zone", |
273 "clusterId" | 162 "clusterId" |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 "request": { | 408 "request": { |
520 "$ref": "CompleteIPRotationRequest" | 409 "$ref": "CompleteIPRotationRequest" |
521 }, | 410 }, |
522 "response": { | 411 "response": { |
523 "$ref": "Operation" | 412 "$ref": "Operation" |
524 }, | 413 }, |
525 "scopes": [ | 414 "scopes": [ |
526 "https://www.googleapis.com/auth/cloud-p
latform" | 415 "https://www.googleapis.com/auth/cloud-p
latform" |
527 ] | 416 ] |
528 }, | 417 }, |
529 "setNetworkPolicy": { | 418 "get": { |
530 "description": "Enables/Disables Network Pol
icy for a cluster.", | 419 "description": "Gets the details of a specif
ic cluster.", |
531 "httpMethod": "POST", | 420 "httpMethod": "GET", |
532 "id": "container.projects.zones.clusters.set
NetworkPolicy", | 421 "id": "container.projects.zones.clusters.get
", |
533 "parameterOrder": [ | 422 "parameterOrder": [ |
534 "projectId", | 423 "projectId", |
535 "zone", | 424 "zone", |
536 "clusterId" | 425 "clusterId" |
537 ], | 426 ], |
538 "parameters": { | 427 "parameters": { |
539 "projectId": { | 428 "projectId": { |
540 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", | 429 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
541 "location": "path", | 430 "location": "path", |
542 "required": true, | 431 "required": true, |
543 "type": "string" | 432 "type": "string" |
544 }, | 433 }, |
545 "zone": { | 434 "zone": { |
546 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 435 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
547 "location": "path", | 436 "location": "path", |
548 "required": true, | 437 "required": true, |
549 "type": "string" | 438 "type": "string" |
550 }, | 439 }, |
551 "clusterId": { | 440 "clusterId": { |
552 "description": "The name of the clus
ter.", | 441 "description": "The name of the clus
ter to retrieve.", |
553 "location": "path", | 442 "location": "path", |
554 "required": true, | 443 "required": true, |
555 "type": "string" | 444 "type": "string" |
556 } | 445 } |
557 }, | 446 }, |
558 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:setNetworkPolicy", | 447 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", |
559 "request": { | |
560 "$ref": "SetNetworkPolicyRequest" | |
561 }, | |
562 "response": { | 448 "response": { |
563 "$ref": "Operation" | 449 "$ref": "Cluster" |
564 }, | 450 }, |
565 "scopes": [ | 451 "scopes": [ |
566 "https://www.googleapis.com/auth/cloud-p
latform" | 452 "https://www.googleapis.com/auth/cloud-p
latform" |
567 ] | 453 ] |
568 }, | 454 }, |
569 "legacyAbac": { | 455 "setNetworkPolicy": { |
570 "description": "Enables or disables the ABAC
authorization mechanism on a cluster.", | 456 "description": "Enables/Disables Network Pol
icy for a cluster.", |
571 "httpMethod": "POST", | 457 "httpMethod": "POST", |
572 "id": "container.projects.zones.clusters.leg
acyAbac", | 458 "id": "container.projects.zones.clusters.set
NetworkPolicy", |
573 "parameterOrder": [ | 459 "parameterOrder": [ |
574 "projectId", | 460 "projectId", |
575 "zone", | 461 "zone", |
576 "clusterId" | 462 "clusterId" |
577 ], | 463 ], |
578 "parameters": { | 464 "parameters": { |
579 "projectId": { | 465 "projectId": { |
580 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 466 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", |
581 "location": "path", | 467 "location": "path", |
582 "required": true, | 468 "required": true, |
583 "type": "string" | 469 "type": "string" |
584 }, | 470 }, |
585 "zone": { | 471 "zone": { |
586 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 472 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
587 "location": "path", | 473 "location": "path", |
588 "required": true, | 474 "required": true, |
589 "type": "string" | 475 "type": "string" |
590 }, | 476 }, |
591 "clusterId": { | 477 "clusterId": { |
592 "description": "The name of the clus
ter to update.", | 478 "description": "The name of the clus
ter.", |
593 "location": "path", | 479 "location": "path", |
594 "required": true, | 480 "required": true, |
595 "type": "string" | 481 "type": "string" |
596 } | 482 } |
597 }, | 483 }, |
598 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/legacyAbac", | 484 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:setNetworkPolicy", |
599 "request": { | 485 "request": { |
600 "$ref": "SetLegacyAbacRequest" | 486 "$ref": "SetNetworkPolicyRequest" |
601 }, | 487 }, |
602 "response": { | 488 "response": { |
603 "$ref": "Operation" | 489 "$ref": "Operation" |
604 }, | 490 }, |
605 "scopes": [ | 491 "scopes": [ |
606 "https://www.googleapis.com/auth/cloud-p
latform" | 492 "https://www.googleapis.com/auth/cloud-p
latform" |
607 ] | 493 ] |
608 }, | 494 }, |
609 "get": { | 495 "legacyAbac": { |
610 "description": "Gets the details of a specif
ic cluster.", | 496 "description": "Enables or disables the ABAC
authorization mechanism on a cluster.", |
611 "httpMethod": "GET", | 497 "httpMethod": "POST", |
612 "id": "container.projects.zones.clusters.get
", | 498 "id": "container.projects.zones.clusters.leg
acyAbac", |
613 "parameterOrder": [ | 499 "parameterOrder": [ |
614 "projectId", | 500 "projectId", |
615 "zone", | 501 "zone", |
616 "clusterId" | 502 "clusterId" |
617 ], | 503 ], |
618 "parameters": { | 504 "parameters": { |
619 "projectId": { | 505 "projectId": { |
620 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 506 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
621 "location": "path", | 507 "location": "path", |
622 "required": true, | 508 "required": true, |
623 "type": "string" | 509 "type": "string" |
624 }, | 510 }, |
625 "zone": { | 511 "zone": { |
626 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 512 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
627 "location": "path", | 513 "location": "path", |
628 "required": true, | 514 "required": true, |
629 "type": "string" | 515 "type": "string" |
630 }, | 516 }, |
631 "clusterId": { | 517 "clusterId": { |
632 "description": "The name of the clus
ter to retrieve.", | 518 "description": "The name of the clus
ter to update.", |
633 "location": "path", | 519 "location": "path", |
634 "required": true, | 520 "required": true, |
635 "type": "string" | 521 "type": "string" |
636 } | 522 } |
637 }, | 523 }, |
638 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", | 524 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/legacyAbac", |
| 525 "request": { |
| 526 "$ref": "SetLegacyAbacRequest" |
| 527 }, |
639 "response": { | 528 "response": { |
640 "$ref": "Cluster" | 529 "$ref": "Operation" |
641 }, | 530 }, |
642 "scopes": [ | 531 "scopes": [ |
643 "https://www.googleapis.com/auth/cloud-p
latform" | 532 "https://www.googleapis.com/auth/cloud-p
latform" |
644 ] | 533 ] |
645 }, | 534 }, |
646 "startIpRotation": { | 535 "startIpRotation": { |
647 "description": "Start master IP rotation.", | 536 "description": "Start master IP rotation.", |
648 "httpMethod": "POST", | 537 "httpMethod": "POST", |
649 "id": "container.projects.zones.clusters.sta
rtIpRotation", | 538 "id": "container.projects.zones.clusters.sta
rtIpRotation", |
650 "parameterOrder": [ | 539 "parameterOrder": [ |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 "addons": { | 575 "addons": { |
687 "description": "Sets the addons of a specifi
c cluster.", | 576 "description": "Sets the addons of a specifi
c cluster.", |
688 "httpMethod": "POST", | 577 "httpMethod": "POST", |
689 "id": "container.projects.zones.clusters.add
ons", | 578 "id": "container.projects.zones.clusters.add
ons", |
690 "parameterOrder": [ | 579 "parameterOrder": [ |
691 "projectId", | 580 "projectId", |
692 "zone", | 581 "zone", |
693 "clusterId" | 582 "clusterId" |
694 ], | 583 ], |
695 "parameters": { | 584 "parameters": { |
| 585 "clusterId": { |
| 586 "description": "The name of the clus
ter to upgrade.", |
| 587 "location": "path", |
| 588 "required": true, |
| 589 "type": "string" |
| 590 }, |
696 "projectId": { | 591 "projectId": { |
697 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 592 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
698 "location": "path", | 593 "location": "path", |
699 "required": true, | 594 "required": true, |
700 "type": "string" | 595 "type": "string" |
701 }, | 596 }, |
702 "zone": { | 597 "zone": { |
703 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 598 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
704 "location": "path", | 599 "location": "path", |
705 "required": true, | 600 "required": true, |
706 "type": "string" | 601 "type": "string" |
707 }, | |
708 "clusterId": { | |
709 "description": "The name of the clus
ter to upgrade.", | |
710 "location": "path", | |
711 "required": true, | |
712 "type": "string" | |
713 } | 602 } |
714 }, | 603 }, |
715 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/addons", | 604 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/addons", |
716 "request": { | 605 "request": { |
717 "$ref": "SetAddonsConfigRequest" | 606 "$ref": "SetAddonsConfigRequest" |
718 }, | 607 }, |
719 "response": { | 608 "response": { |
720 "$ref": "Operation" | 609 "$ref": "Operation" |
721 }, | 610 }, |
722 "scopes": [ | 611 "scopes": [ |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 "$ref": "Operation" | 766 "$ref": "Operation" |
878 }, | 767 }, |
879 "scopes": [ | 768 "scopes": [ |
880 "https://www.googleapis.com/auth/cloud-p
latform" | 769 "https://www.googleapis.com/auth/cloud-p
latform" |
881 ] | 770 ] |
882 } | 771 } |
883 }, | 772 }, |
884 "resources": { | 773 "resources": { |
885 "nodePools": { | 774 "nodePools": { |
886 "methods": { | 775 "methods": { |
887 "list": { | 776 "get": { |
888 "description": "Lists the node pools
for a cluster.", | 777 "description": "Retrieves the node p
ool requested.", |
889 "httpMethod": "GET", | 778 "httpMethod": "GET", |
890 "id": "container.projects.zones.clus
ters.nodePools.list", | 779 "id": "container.projects.zones.clus
ters.nodePools.get", |
891 "parameterOrder": [ | 780 "parameterOrder": [ |
892 "projectId", | 781 "projectId", |
893 "zone", | 782 "zone", |
894 "clusterId" | 783 "clusterId", |
| 784 "nodePoolId" |
895 ], | 785 ], |
896 "parameters": { | 786 "parameters": { |
897 "projectId": { | 787 "projectId": { |
898 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | 788 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
899 "location": "path", | 789 "location": "path", |
900 "required": true, | 790 "required": true, |
901 "type": "string" | 791 "type": "string" |
902 }, | 792 }, |
903 "zone": { | 793 "zone": { |
904 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 794 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
905 "location": "path", | 795 "location": "path", |
906 "required": true, | 796 "required": true, |
907 "type": "string" | 797 "type": "string" |
908 }, | 798 }, |
909 "clusterId": { | 799 "clusterId": { |
910 "description": "The name of
the cluster.", | 800 "description": "The name of
the cluster.", |
911 "location": "path", | 801 "location": "path", |
912 "required": true, | 802 "required": true, |
913 "type": "string" | 803 "type": "string" |
| 804 }, |
| 805 "nodePoolId": { |
| 806 "description": "The name of
the node pool.", |
| 807 "location": "path", |
| 808 "required": true, |
| 809 "type": "string" |
914 } | 810 } |
915 }, | 811 }, |
916 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", | 812 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
917 "response": { | 813 "response": { |
918 "$ref": "ListNodePoolsResponse" | 814 "$ref": "NodePool" |
919 }, | 815 }, |
920 "scopes": [ | 816 "scopes": [ |
921 "https://www.googleapis.com/auth
/cloud-platform" | 817 "https://www.googleapis.com/auth
/cloud-platform" |
922 ] | 818 ] |
923 }, | 819 }, |
924 "rollback": { | 820 "update": { |
925 "description": "Roll back the previo
usly Aborted or Failed NodePool upgrade.\nThis will be an no-op if the last upgr
ade successfully completed.", | 821 "description": "Updates the version
and/or image type of a specific node pool.", |
926 "httpMethod": "POST", | 822 "httpMethod": "POST", |
927 "id": "container.projects.zones.clus
ters.nodePools.rollback", | 823 "id": "container.projects.zones.clus
ters.nodePools.update", |
928 "parameterOrder": [ | 824 "parameterOrder": [ |
929 "projectId", | 825 "projectId", |
930 "zone", | 826 "zone", |
931 "clusterId", | 827 "clusterId", |
932 "nodePoolId" | 828 "nodePoolId" |
933 ], | 829 ], |
934 "parameters": { | 830 "parameters": { |
935 "projectId": { | 831 "projectId": { |
936 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | 832 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
937 "location": "path", | 833 "location": "path", |
938 "required": true, | 834 "required": true, |
939 "type": "string" | 835 "type": "string" |
940 }, | 836 }, |
941 "zone": { | 837 "zone": { |
942 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 838 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
943 "location": "path", | 839 "location": "path", |
944 "required": true, | 840 "required": true, |
945 "type": "string" | 841 "type": "string" |
946 }, | 842 }, |
947 "clusterId": { | 843 "clusterId": { |
948 "description": "The name of
the cluster to rollback.", | 844 "description": "The name of
the cluster to upgrade.", |
949 "location": "path", | 845 "location": "path", |
950 "required": true, | 846 "required": true, |
951 "type": "string" | 847 "type": "string" |
952 }, | 848 }, |
953 "nodePoolId": { | 849 "nodePoolId": { |
954 "description": "The name of
the node pool to rollback.", | 850 "description": "The name of
the node pool to upgrade.", |
955 "location": "path", | 851 "location": "path", |
956 "required": true, | 852 "required": true, |
957 "type": "string" | 853 "type": "string" |
958 } | 854 } |
959 }, | 855 }, |
960 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", | 856 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update", |
961 "request": { | 857 "request": { |
962 "$ref": "RollbackNodePoolUpgrade
Request" | 858 "$ref": "UpdateNodePoolRequest" |
963 }, | 859 }, |
964 "response": { | 860 "response": { |
965 "$ref": "Operation" | 861 "$ref": "Operation" |
966 }, | 862 }, |
967 "scopes": [ | 863 "scopes": [ |
968 "https://www.googleapis.com/auth
/cloud-platform" | 864 "https://www.googleapis.com/auth
/cloud-platform" |
969 ] | 865 ] |
970 }, | 866 }, |
971 "create": { | 867 "delete": { |
972 "description": "Creates a node pool
for a cluster.", | 868 "description": "Deletes a node pool
from a cluster.", |
973 "httpMethod": "POST", | 869 "httpMethod": "DELETE", |
974 "id": "container.projects.zones.clus
ters.nodePools.create", | 870 "id": "container.projects.zones.clus
ters.nodePools.delete", |
975 "parameterOrder": [ | 871 "parameterOrder": [ |
976 "projectId", | 872 "projectId", |
977 "zone", | 873 "zone", |
978 "clusterId" | 874 "clusterId", |
| 875 "nodePoolId" |
979 ], | 876 ], |
980 "parameters": { | 877 "parameters": { |
| 878 "clusterId": { |
| 879 "description": "The name of
the cluster.", |
| 880 "location": "path", |
| 881 "required": true, |
| 882 "type": "string" |
| 883 }, |
| 884 "nodePoolId": { |
| 885 "description": "The name of
the node pool to delete.", |
| 886 "location": "path", |
| 887 "required": true, |
| 888 "type": "string" |
| 889 }, |
981 "projectId": { | 890 "projectId": { |
982 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | 891 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
983 "location": "path", | 892 "location": "path", |
984 "required": true, | 893 "required": true, |
985 "type": "string" | 894 "type": "string" |
986 }, | 895 }, |
987 "zone": { | 896 "zone": { |
988 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 897 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
989 "location": "path", | 898 "location": "path", |
990 "required": true, | 899 "required": true, |
991 "type": "string" | 900 "type": "string" |
992 }, | |
993 "clusterId": { | |
994 "description": "The name of
the cluster.", | |
995 "location": "path", | |
996 "required": true, | |
997 "type": "string" | |
998 } | 901 } |
999 }, | 902 }, |
1000 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", | 903 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
1001 "request": { | |
1002 "$ref": "CreateNodePoolRequest" | |
1003 }, | |
1004 "response": { | 904 "response": { |
1005 "$ref": "Operation" | 905 "$ref": "Operation" |
1006 }, | 906 }, |
1007 "scopes": [ | 907 "scopes": [ |
1008 "https://www.googleapis.com/auth
/cloud-platform" | 908 "https://www.googleapis.com/auth
/cloud-platform" |
1009 ] | 909 ] |
1010 }, | 910 }, |
1011 "autoscaling": { | 911 "setManagement": { |
1012 "description": "Sets the autoscaling
settings of a specific node pool.", | 912 "description": "Sets the NodeManagem
ent options for a node pool.", |
1013 "httpMethod": "POST", | 913 "httpMethod": "POST", |
1014 "id": "container.projects.zones.clus
ters.nodePools.autoscaling", | 914 "id": "container.projects.zones.clus
ters.nodePools.setManagement", |
1015 "parameterOrder": [ | 915 "parameterOrder": [ |
1016 "projectId", | 916 "projectId", |
1017 "zone", | 917 "zone", |
1018 "clusterId", | 918 "clusterId", |
1019 "nodePoolId" | 919 "nodePoolId" |
1020 ], | 920 ], |
1021 "parameters": { | 921 "parameters": { |
1022 "projectId": { | 922 "projectId": { |
1023 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | 923 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
1024 "location": "path", | 924 "location": "path", |
1025 "required": true, | 925 "required": true, |
1026 "type": "string" | 926 "type": "string" |
1027 }, | 927 }, |
1028 "zone": { | 928 "zone": { |
1029 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 929 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1030 "location": "path", | 930 "location": "path", |
1031 "required": true, | 931 "required": true, |
1032 "type": "string" | 932 "type": "string" |
1033 }, | 933 }, |
1034 "clusterId": { | 934 "clusterId": { |
1035 "description": "The name of
the cluster to upgrade.", | 935 "description": "The name of
the cluster to update.", |
1036 "location": "path", | 936 "location": "path", |
1037 "required": true, | 937 "required": true, |
1038 "type": "string" | 938 "type": "string" |
1039 }, | 939 }, |
1040 "nodePoolId": { | 940 "nodePoolId": { |
1041 "description": "The name of
the node pool to upgrade.", | 941 "description": "The name of
the node pool to update.", |
1042 "location": "path", | 942 "location": "path", |
1043 "required": true, | 943 "required": true, |
1044 "type": "string" | 944 "type": "string" |
1045 } | 945 } |
1046 }, | 946 }, |
1047 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling", | 947 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", |
1048 "request": { | 948 "request": { |
1049 "$ref": "SetNodePoolAutoscalingR
equest" | 949 "$ref": "SetNodePoolManagementRe
quest" |
1050 }, | 950 }, |
1051 "response": { | 951 "response": { |
1052 "$ref": "Operation" | 952 "$ref": "Operation" |
1053 }, | 953 }, |
1054 "scopes": [ | 954 "scopes": [ |
1055 "https://www.googleapis.com/auth
/cloud-platform" | 955 "https://www.googleapis.com/auth
/cloud-platform" |
1056 ] | 956 ] |
1057 }, | 957 }, |
1058 "get": { | 958 "setSize": { |
1059 "description": "Retrieves the node p
ool requested.", | 959 "description": "Sets the size of a s
pecific node pool.", |
1060 "httpMethod": "GET", | 960 "httpMethod": "POST", |
1061 "id": "container.projects.zones.clus
ters.nodePools.get", | 961 "id": "container.projects.zones.clus
ters.nodePools.setSize", |
1062 "parameterOrder": [ | 962 "parameterOrder": [ |
1063 "projectId", | 963 "projectId", |
1064 "zone", | 964 "zone", |
1065 "clusterId", | 965 "clusterId", |
1066 "nodePoolId" | 966 "nodePoolId" |
1067 ], | 967 ], |
1068 "parameters": { | 968 "parameters": { |
1069 "projectId": { | 969 "projectId": { |
1070 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | 970 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
1071 "location": "path", | 971 "location": "path", |
1072 "required": true, | 972 "required": true, |
1073 "type": "string" | 973 "type": "string" |
1074 }, | 974 }, |
1075 "zone": { | 975 "zone": { |
1076 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 976 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1077 "location": "path", | 977 "location": "path", |
1078 "required": true, | 978 "required": true, |
1079 "type": "string" | 979 "type": "string" |
1080 }, | 980 }, |
1081 "clusterId": { | 981 "clusterId": { |
1082 "description": "The name of
the cluster.", | 982 "description": "The name of
the cluster to update.", |
1083 "location": "path", | 983 "location": "path", |
1084 "required": true, | 984 "required": true, |
1085 "type": "string" | 985 "type": "string" |
1086 }, | 986 }, |
1087 "nodePoolId": { | 987 "nodePoolId": { |
1088 "description": "The name of
the node pool.", | 988 "description": "The name of
the node pool to update.", |
1089 "location": "path", | 989 "location": "path", |
1090 "required": true, | 990 "required": true, |
1091 "type": "string" | 991 "type": "string" |
1092 } | 992 } |
1093 }, | 993 }, |
1094 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", | 994 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize", |
| 995 "request": { |
| 996 "$ref": "SetNodePoolSizeRequest" |
| 997 }, |
1095 "response": { | 998 "response": { |
1096 "$ref": "NodePool" | 999 "$ref": "Operation" |
1097 }, | 1000 }, |
1098 "scopes": [ | 1001 "scopes": [ |
1099 "https://www.googleapis.com/auth
/cloud-platform" | 1002 "https://www.googleapis.com/auth
/cloud-platform" |
1100 ] | 1003 ] |
1101 }, | 1004 }, |
1102 "update": { | 1005 "list": { |
1103 "description": "Updates the version
and/or image type of a specific node pool.", | 1006 "description": "Lists the node pools
for a cluster.", |
1104 "httpMethod": "POST", | 1007 "httpMethod": "GET", |
1105 "id": "container.projects.zones.clus
ters.nodePools.update", | 1008 "id": "container.projects.zones.clus
ters.nodePools.list", |
1106 "parameterOrder": [ | 1009 "parameterOrder": [ |
1107 "projectId", | 1010 "projectId", |
1108 "zone", | 1011 "zone", |
1109 "clusterId", | 1012 "clusterId" |
1110 "nodePoolId" | |
1111 ], | 1013 ], |
1112 "parameters": { | 1014 "parameters": { |
1113 "projectId": { | 1015 "projectId": { |
1114 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | 1016 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
1115 "location": "path", | 1017 "location": "path", |
1116 "required": true, | 1018 "required": true, |
1117 "type": "string" | 1019 "type": "string" |
1118 }, | 1020 }, |
1119 "zone": { | 1021 "zone": { |
1120 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 1022 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1121 "location": "path", | 1023 "location": "path", |
1122 "required": true, | 1024 "required": true, |
1123 "type": "string" | 1025 "type": "string" |
1124 }, | 1026 }, |
1125 "clusterId": { | 1027 "clusterId": { |
1126 "description": "The name of
the cluster to upgrade.", | 1028 "description": "The name of
the cluster.", |
1127 "location": "path", | |
1128 "required": true, | |
1129 "type": "string" | |
1130 }, | |
1131 "nodePoolId": { | |
1132 "description": "The name of
the node pool to upgrade.", | |
1133 "location": "path", | 1029 "location": "path", |
1134 "required": true, | 1030 "required": true, |
1135 "type": "string" | 1031 "type": "string" |
1136 } | 1032 } |
1137 }, | 1033 }, |
1138 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/update", | 1034 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", |
1139 "request": { | |
1140 "$ref": "UpdateNodePoolRequest" | |
1141 }, | |
1142 "response": { | 1035 "response": { |
1143 "$ref": "Operation" | 1036 "$ref": "ListNodePoolsResponse" |
1144 }, | 1037 }, |
1145 "scopes": [ | 1038 "scopes": [ |
1146 "https://www.googleapis.com/auth
/cloud-platform" | 1039 "https://www.googleapis.com/auth
/cloud-platform" |
1147 ] | 1040 ] |
1148 }, | 1041 }, |
1149 "delete": { | 1042 "rollback": { |
1150 "description": "Deletes a node pool
from a cluster.", | 1043 "description": "Roll back the previo
usly Aborted or Failed NodePool upgrade.\nThis will be an no-op if the last upgr
ade successfully completed.", |
1151 "httpMethod": "DELETE", | 1044 "httpMethod": "POST", |
1152 "id": "container.projects.zones.clus
ters.nodePools.delete", | 1045 "id": "container.projects.zones.clus
ters.nodePools.rollback", |
1153 "parameterOrder": [ | 1046 "parameterOrder": [ |
1154 "projectId", | 1047 "projectId", |
1155 "zone", | 1048 "zone", |
1156 "clusterId", | 1049 "clusterId", |
1157 "nodePoolId" | 1050 "nodePoolId" |
1158 ], | 1051 ], |
1159 "parameters": { | 1052 "parameters": { |
1160 "projectId": { | 1053 "projectId": { |
1161 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | 1054 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
1162 "location": "path", | 1055 "location": "path", |
1163 "required": true, | 1056 "required": true, |
1164 "type": "string" | 1057 "type": "string" |
1165 }, | 1058 }, |
1166 "zone": { | 1059 "zone": { |
1167 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 1060 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1168 "location": "path", | 1061 "location": "path", |
1169 "required": true, | 1062 "required": true, |
1170 "type": "string" | 1063 "type": "string" |
1171 }, | 1064 }, |
1172 "clusterId": { | 1065 "clusterId": { |
1173 "description": "The name of
the cluster.", | 1066 "description": "The name of
the cluster to rollback.", |
1174 "location": "path", | 1067 "location": "path", |
1175 "required": true, | 1068 "required": true, |
1176 "type": "string" | 1069 "type": "string" |
1177 }, | 1070 }, |
1178 "nodePoolId": { | 1071 "nodePoolId": { |
1179 "description": "The name of
the node pool to delete.", | 1072 "description": "The name of
the node pool to rollback.", |
1180 "location": "path", | 1073 "location": "path", |
1181 "required": true, | 1074 "required": true, |
1182 "type": "string" | 1075 "type": "string" |
1183 } | 1076 } |
1184 }, | 1077 }, |
1185 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", | 1078 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", |
| 1079 "request": { |
| 1080 "$ref": "RollbackNodePoolUpgrade
Request" |
| 1081 }, |
1186 "response": { | 1082 "response": { |
1187 "$ref": "Operation" | 1083 "$ref": "Operation" |
1188 }, | 1084 }, |
1189 "scopes": [ | 1085 "scopes": [ |
1190 "https://www.googleapis.com/auth
/cloud-platform" | 1086 "https://www.googleapis.com/auth
/cloud-platform" |
1191 ] | 1087 ] |
1192 }, | 1088 }, |
1193 "setManagement": { | 1089 "create": { |
1194 "description": "Sets the NodeManagem
ent options for a node pool.", | 1090 "description": "Creates a node pool
for a cluster.", |
1195 "httpMethod": "POST", | 1091 "httpMethod": "POST", |
1196 "id": "container.projects.zones.clus
ters.nodePools.setManagement", | 1092 "id": "container.projects.zones.clus
ters.nodePools.create", |
1197 "parameterOrder": [ | 1093 "parameterOrder": [ |
1198 "projectId", | 1094 "projectId", |
1199 "zone", | 1095 "zone", |
1200 "clusterId", | 1096 "clusterId" |
1201 "nodePoolId" | |
1202 ], | 1097 ], |
1203 "parameters": { | 1098 "parameters": { |
1204 "projectId": { | 1099 "projectId": { |
1205 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | 1100 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
1206 "location": "path", | 1101 "location": "path", |
1207 "required": true, | 1102 "required": true, |
1208 "type": "string" | 1103 "type": "string" |
1209 }, | 1104 }, |
1210 "zone": { | 1105 "zone": { |
1211 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 1106 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1212 "location": "path", | 1107 "location": "path", |
1213 "required": true, | 1108 "required": true, |
1214 "type": "string" | 1109 "type": "string" |
1215 }, | 1110 }, |
1216 "clusterId": { | 1111 "clusterId": { |
1217 "description": "The name of
the cluster to update.", | 1112 "description": "The name of
the cluster.", |
1218 "location": "path", | |
1219 "required": true, | |
1220 "type": "string" | |
1221 }, | |
1222 "nodePoolId": { | |
1223 "description": "The name of
the node pool to update.", | |
1224 "location": "path", | 1113 "location": "path", |
1225 "required": true, | 1114 "required": true, |
1226 "type": "string" | 1115 "type": "string" |
1227 } | 1116 } |
1228 }, | 1117 }, |
1229 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", | 1118 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", |
1230 "request": { | 1119 "request": { |
1231 "$ref": "SetNodePoolManagementRe
quest" | 1120 "$ref": "CreateNodePoolRequest" |
1232 }, | 1121 }, |
1233 "response": { | 1122 "response": { |
1234 "$ref": "Operation" | 1123 "$ref": "Operation" |
1235 }, | 1124 }, |
1236 "scopes": [ | 1125 "scopes": [ |
1237 "https://www.googleapis.com/auth
/cloud-platform" | 1126 "https://www.googleapis.com/auth
/cloud-platform" |
1238 ] | 1127 ] |
1239 }, | 1128 }, |
1240 "setSize": { | 1129 "autoscaling": { |
1241 "description": "Sets the size of a s
pecific node pool.", | 1130 "description": "Sets the autoscaling
settings of a specific node pool.", |
1242 "httpMethod": "POST", | 1131 "httpMethod": "POST", |
1243 "id": "container.projects.zones.clus
ters.nodePools.setSize", | 1132 "id": "container.projects.zones.clus
ters.nodePools.autoscaling", |
1244 "parameterOrder": [ | 1133 "parameterOrder": [ |
1245 "projectId", | 1134 "projectId", |
1246 "zone", | 1135 "zone", |
1247 "clusterId", | 1136 "clusterId", |
1248 "nodePoolId" | 1137 "nodePoolId" |
1249 ], | 1138 ], |
1250 "parameters": { | 1139 "parameters": { |
1251 "projectId": { | 1140 "projectId": { |
1252 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | 1141 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
1253 "location": "path", | 1142 "location": "path", |
1254 "required": true, | 1143 "required": true, |
1255 "type": "string" | 1144 "type": "string" |
1256 }, | 1145 }, |
1257 "zone": { | 1146 "zone": { |
1258 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 1147 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1259 "location": "path", | 1148 "location": "path", |
1260 "required": true, | 1149 "required": true, |
1261 "type": "string" | 1150 "type": "string" |
1262 }, | 1151 }, |
1263 "clusterId": { | 1152 "clusterId": { |
1264 "description": "The name of
the cluster to update.", | 1153 "description": "The name of
the cluster to upgrade.", |
1265 "location": "path", | 1154 "location": "path", |
1266 "required": true, | 1155 "required": true, |
1267 "type": "string" | 1156 "type": "string" |
1268 }, | 1157 }, |
1269 "nodePoolId": { | 1158 "nodePoolId": { |
1270 "description": "The name of
the node pool to update.", | 1159 "description": "The name of
the node pool to upgrade.", |
1271 "location": "path", | 1160 "location": "path", |
1272 "required": true, | 1161 "required": true, |
1273 "type": "string" | 1162 "type": "string" |
1274 } | 1163 } |
1275 }, | 1164 }, |
1276 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize", | 1165 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling", |
1277 "request": { | 1166 "request": { |
1278 "$ref": "SetNodePoolSizeRequest" | 1167 "$ref": "SetNodePoolAutoscalingR
equest" |
1279 }, | 1168 }, |
1280 "response": { | 1169 "response": { |
1281 "$ref": "Operation" | 1170 "$ref": "Operation" |
1282 }, | 1171 }, |
1283 "scopes": [ | 1172 "scopes": [ |
1284 "https://www.googleapis.com/auth
/cloud-platform" | 1173 "https://www.googleapis.com/auth
/cloud-platform" |
1285 ] | 1174 ] |
1286 } | 1175 } |
1287 } | 1176 } |
1288 } | 1177 } |
1289 } | 1178 } |
| 1179 }, |
| 1180 "operations": { |
| 1181 "methods": { |
| 1182 "get": { |
| 1183 "description": "Gets the specified operation
.", |
| 1184 "httpMethod": "GET", |
| 1185 "id": "container.projects.zones.operations.g
et", |
| 1186 "parameterOrder": [ |
| 1187 "projectId", |
| 1188 "zone", |
| 1189 "operationId" |
| 1190 ], |
| 1191 "parameters": { |
| 1192 "operationId": { |
| 1193 "description": "The server-assigned
`name` of the operation.", |
| 1194 "location": "path", |
| 1195 "required": true, |
| 1196 "type": "string" |
| 1197 }, |
| 1198 "projectId": { |
| 1199 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 1200 "location": "path", |
| 1201 "required": true, |
| 1202 "type": "string" |
| 1203 }, |
| 1204 "zone": { |
| 1205 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 1206 "location": "path", |
| 1207 "required": true, |
| 1208 "type": "string" |
| 1209 } |
| 1210 }, |
| 1211 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}", |
| 1212 "response": { |
| 1213 "$ref": "Operation" |
| 1214 }, |
| 1215 "scopes": [ |
| 1216 "https://www.googleapis.com/auth/cloud-p
latform" |
| 1217 ] |
| 1218 }, |
| 1219 "list": { |
| 1220 "description": "Lists all operations in a pr
oject in a specific zone or all zones.", |
| 1221 "httpMethod": "GET", |
| 1222 "id": "container.projects.zones.operations.l
ist", |
| 1223 "parameterOrder": [ |
| 1224 "projectId", |
| 1225 "zone" |
| 1226 ], |
| 1227 "parameters": { |
| 1228 "projectId": { |
| 1229 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 1230 "location": "path", |
| 1231 "required": true, |
| 1232 "type": "string" |
| 1233 }, |
| 1234 "zone": { |
| 1235 "description": "The name of the Goog
le Compute Engine [zone](/compute/docs/zones#available)\nto return operations fo
r, or `-` for all zones.", |
| 1236 "location": "path", |
| 1237 "required": true, |
| 1238 "type": "string" |
| 1239 } |
| 1240 }, |
| 1241 "path": "v1/projects/{projectId}/zones/{zone
}/operations", |
| 1242 "response": { |
| 1243 "$ref": "ListOperationsResponse" |
| 1244 }, |
| 1245 "scopes": [ |
| 1246 "https://www.googleapis.com/auth/cloud-p
latform" |
| 1247 ] |
| 1248 }, |
| 1249 "cancel": { |
| 1250 "description": "Cancels the specified operat
ion.", |
| 1251 "httpMethod": "POST", |
| 1252 "id": "container.projects.zones.operations.c
ancel", |
| 1253 "parameterOrder": [ |
| 1254 "projectId", |
| 1255 "zone", |
| 1256 "operationId" |
| 1257 ], |
| 1258 "parameters": { |
| 1259 "projectId": { |
| 1260 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 1261 "location": "path", |
| 1262 "required": true, |
| 1263 "type": "string" |
| 1264 }, |
| 1265 "zone": { |
| 1266 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the operation
resides.", |
| 1267 "location": "path", |
| 1268 "required": true, |
| 1269 "type": "string" |
| 1270 }, |
| 1271 "operationId": { |
| 1272 "description": "The server-assigned
`name` of the operation.", |
| 1273 "location": "path", |
| 1274 "required": true, |
| 1275 "type": "string" |
| 1276 } |
| 1277 }, |
| 1278 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}:cancel", |
| 1279 "request": { |
| 1280 "$ref": "CancelOperationRequest" |
| 1281 }, |
| 1282 "response": { |
| 1283 "$ref": "Empty" |
| 1284 }, |
| 1285 "scopes": [ |
| 1286 "https://www.googleapis.com/auth/cloud-p
latform" |
| 1287 ] |
| 1288 } |
| 1289 } |
1290 } | 1290 } |
1291 } | 1291 } |
1292 } | 1292 } |
1293 } | 1293 } |
1294 } | 1294 } |
1295 }, | 1295 }, |
1296 "revision": "20170804", | 1296 "revision": "20170825", |
1297 "rootUrl": "https://container.googleapis.com/", | 1297 "rootUrl": "https://container.googleapis.com/", |
1298 "schemas": { | 1298 "schemas": { |
1299 "CancelOperationRequest": { | 1299 "HorizontalPodAutoscaling": { |
1300 "description": "CancelOperationRequest cancels a single operation.", | 1300 "description": "Configuration options for the horizontal pod autosca
ling feature, which\nincreases or decreases the number of replica pods a replica
tion controller\nhas based on the resource usage of the existing pods.", |
1301 "id": "CancelOperationRequest", | 1301 "id": "HorizontalPodAutoscaling", |
| 1302 "properties": { |
| 1303 "disabled": { |
| 1304 "description": "Whether the Horizontal Pod Autoscaling featu
re is enabled in the cluster.\nWhen enabled, it ensures that a Heapster pod is r
unning in the cluster,\nwhich is also used by the Cloud Monitoring service.", |
| 1305 "type": "boolean" |
| 1306 } |
| 1307 }, |
| 1308 "type": "object" |
| 1309 }, |
| 1310 "SetNodePoolManagementRequest": { |
| 1311 "description": "SetNodePoolManagementRequest sets the node managemen
t properties of a node\npool.", |
| 1312 "id": "SetNodePoolManagementRequest", |
| 1313 "properties": { |
| 1314 "management": { |
| 1315 "$ref": "NodeManagement", |
| 1316 "description": "NodeManagement configuration for the node po
ol." |
| 1317 } |
| 1318 }, |
| 1319 "type": "object" |
| 1320 }, |
| 1321 "Empty": { |
| 1322 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", |
| 1323 "id": "Empty", |
1302 "properties": {}, | 1324 "properties": {}, |
1303 "type": "object" | 1325 "type": "object" |
1304 }, | 1326 }, |
1305 "SetLegacyAbacRequest": { | 1327 "MasterAuthorizedNetworksConfig": { |
1306 "description": "SetLegacyAbacRequest enables or disables the ABAC au
thorization mechanism for\na cluster.", | 1328 "description": "Master authorized networks is a Beta feature.\nConfi
guration options for the master authorized networks feature. Enabled\nmaster aut
horized networks will disallow all external traffic to access\nKubernetes master
through HTTPS except traffic from the given CIDR blocks,\nGoogle Compute Engine
Public IPs and Google Prod IPs.", |
1307 "id": "SetLegacyAbacRequest", | 1329 "id": "MasterAuthorizedNetworksConfig", |
1308 "properties": { | 1330 "properties": { |
1309 "enabled": { | 1331 "enabled": { |
1310 "description": "Whether ABAC authorization will be enabled i
n the cluster.", | 1332 "description": "Whether or not master authorized networks is
enabled.", |
1311 "type": "boolean" | 1333 "type": "boolean" |
1312 } | 1334 }, |
1313 }, | 1335 "cidrBlocks": { |
1314 "type": "object" | 1336 "description": "cidr_blocks define up to 10 external network
s that could access\nKubernetes master through HTTPS.", |
1315 }, | |
1316 "KubernetesDashboard": { | |
1317 "description": "Configuration for the Kubernetes Dashboard.", | |
1318 "id": "KubernetesDashboard", | |
1319 "properties": { | |
1320 "disabled": { | |
1321 "description": "Whether the Kubernetes Dashboard is enabled
for this cluster.", | |
1322 "type": "boolean" | |
1323 } | |
1324 }, | |
1325 "type": "object" | |
1326 }, | |
1327 "Operation": { | |
1328 "description": "This operation resource represents operations that m
ay have happened or are\nhappening on the cluster. All fields are output only.", | |
1329 "id": "Operation", | |
1330 "properties": { | |
1331 "selfLink": { | |
1332 "description": "Server-defined URL for the resource.", | |
1333 "type": "string" | |
1334 }, | |
1335 "detail": { | |
1336 "description": "Detailed operation progress, if available.", | |
1337 "type": "string" | |
1338 }, | |
1339 "targetLink": { | |
1340 "description": "Server-defined URL for the target of the ope
ration.", | |
1341 "type": "string" | |
1342 }, | |
1343 "operationType": { | |
1344 "description": "The operation type.", | |
1345 "enum": [ | |
1346 "TYPE_UNSPECIFIED", | |
1347 "CREATE_CLUSTER", | |
1348 "DELETE_CLUSTER", | |
1349 "UPGRADE_MASTER", | |
1350 "UPGRADE_NODES", | |
1351 "REPAIR_CLUSTER", | |
1352 "UPDATE_CLUSTER", | |
1353 "CREATE_NODE_POOL", | |
1354 "DELETE_NODE_POOL", | |
1355 "SET_NODE_POOL_MANAGEMENT", | |
1356 "AUTO_REPAIR_NODES", | |
1357 "AUTO_UPGRADE_NODES", | |
1358 "SET_LABELS", | |
1359 "SET_MASTER_AUTH", | |
1360 "SET_NODE_POOL_SIZE", | |
1361 "SET_NETWORK_POLICY" | |
1362 ], | |
1363 "enumDescriptions": [ | |
1364 "Not set.", | |
1365 "Cluster create.", | |
1366 "Cluster delete.", | |
1367 "A master upgrade.", | |
1368 "A node upgrade.", | |
1369 "Cluster repair.", | |
1370 "Cluster update.", | |
1371 "Node pool create.", | |
1372 "Node pool delete.", | |
1373 "Set node pool management.", | |
1374 "Automatic node pool repair.", | |
1375 "Automatic node upgrade.", | |
1376 "Set labels.", | |
1377 "Set/generate master auth materials", | |
1378 "Set node pool size.", | |
1379 "Updates network policy for a cluster." | |
1380 ], | |
1381 "type": "string" | |
1382 }, | |
1383 "zone": { | |
1384 "description": "The name of the Google Compute Engine\n[zone
](/compute/docs/zones#available) in which the operation\nis taking place.", | |
1385 "type": "string" | |
1386 }, | |
1387 "status": { | |
1388 "description": "The current status of the operation.", | |
1389 "enum": [ | |
1390 "STATUS_UNSPECIFIED", | |
1391 "PENDING", | |
1392 "RUNNING", | |
1393 "DONE", | |
1394 "ABORTING" | |
1395 ], | |
1396 "enumDescriptions": [ | |
1397 "Not set.", | |
1398 "The operation has been created.", | |
1399 "The operation is currently running.", | |
1400 "The operation is done, either cancelled or completed.", | |
1401 "The operation is aborting." | |
1402 ], | |
1403 "type": "string" | |
1404 }, | |
1405 "name": { | |
1406 "description": "The server-assigned ID for the operation.", | |
1407 "type": "string" | |
1408 }, | |
1409 "statusMessage": { | |
1410 "description": "If an error has occurred, a textual descript
ion of the error.", | |
1411 "type": "string" | |
1412 } | |
1413 }, | |
1414 "type": "object" | |
1415 }, | |
1416 "AddonsConfig": { | |
1417 "description": "Configuration for the addons that can be automatical
ly spun up in the\ncluster, enabling additional functionality.", | |
1418 "id": "AddonsConfig", | |
1419 "properties": { | |
1420 "horizontalPodAutoscaling": { | |
1421 "$ref": "HorizontalPodAutoscaling", | |
1422 "description": "Configuration for the horizontal pod autosca
ling feature, which\nincreases or decreases the number of replica pods a replica
tion controller\nhas based on the resource usage of the existing pods." | |
1423 }, | |
1424 "httpLoadBalancing": { | |
1425 "$ref": "HttpLoadBalancing", | |
1426 "description": "Configuration for the HTTP (L7) load balanci
ng controller addon, which\nmakes it easy to set up HTTP load balancers for serv
ices in a cluster." | |
1427 }, | |
1428 "kubernetesDashboard": { | |
1429 "$ref": "KubernetesDashboard", | |
1430 "description": "Configuration for the Kubernetes Dashboard." | |
1431 } | |
1432 }, | |
1433 "type": "object" | |
1434 }, | |
1435 "SetLocationsRequest": { | |
1436 "description": "SetLocationsRequest sets the locations of the cluste
r.", | |
1437 "id": "SetLocationsRequest", | |
1438 "properties": { | |
1439 "locations": { | |
1440 "description": "The desired list of Google Compute Engine\n[
locations](/compute/docs/zones#available) in which the cluster's nodes\nshould b
e located. Changing the locations a cluster is in will result\nin nodes being ei
ther created or removed from the cluster, depending on\nwhether locations are be
ing added or removed.\n\nThis list must always include the cluster's primary zon
e.", | |
1441 "items": { | 1337 "items": { |
1442 "type": "string" | 1338 "$ref": "CidrBlock" |
1443 }, | 1339 }, |
1444 "type": "array" | 1340 "type": "array" |
1445 } | 1341 } |
1446 }, | 1342 }, |
1447 "type": "object" | 1343 "type": "object" |
1448 }, | 1344 }, |
1449 "RollbackNodePoolUpgradeRequest": { | 1345 "SetNodePoolAutoscalingRequest": { |
1450 "description": "RollbackNodePoolUpgradeRequest rollbacks the previou
sly Aborted or Failed\nNodePool upgrade. This will be an no-op if the last upgra
de successfully\ncompleted.", | 1346 "description": "SetNodePoolAutoscalingRequest sets the autoscaler se
ttings of a node pool.", |
1451 "id": "RollbackNodePoolUpgradeRequest", | 1347 "id": "SetNodePoolAutoscalingRequest", |
| 1348 "properties": { |
| 1349 "autoscaling": { |
| 1350 "$ref": "NodePoolAutoscaling", |
| 1351 "description": "Autoscaling configuration for the node pool.
" |
| 1352 } |
| 1353 }, |
| 1354 "type": "object" |
| 1355 }, |
| 1356 "CreateClusterRequest": { |
| 1357 "description": "CreateClusterRequest creates a cluster.", |
| 1358 "id": "CreateClusterRequest", |
| 1359 "properties": { |
| 1360 "cluster": { |
| 1361 "$ref": "Cluster", |
| 1362 "description": "A [cluster\nresource](/container-engine/refe
rence/rest/v1/projects.zones.clusters)" |
| 1363 } |
| 1364 }, |
| 1365 "type": "object" |
| 1366 }, |
| 1367 "ListNodePoolsResponse": { |
| 1368 "description": "ListNodePoolsResponse is the result of ListNodePools
Request.", |
| 1369 "id": "ListNodePoolsResponse", |
| 1370 "properties": { |
| 1371 "nodePools": { |
| 1372 "description": "A list of node pools for a cluster.", |
| 1373 "items": { |
| 1374 "$ref": "NodePool" |
| 1375 }, |
| 1376 "type": "array" |
| 1377 } |
| 1378 }, |
| 1379 "type": "object" |
| 1380 }, |
| 1381 "CompleteIPRotationRequest": { |
| 1382 "description": "CompleteIPRotationRequest moves the cluster master b
ack into single-IP mode.", |
| 1383 "id": "CompleteIPRotationRequest", |
1452 "properties": {}, | 1384 "properties": {}, |
1453 "type": "object" | 1385 "type": "object" |
1454 }, | 1386 }, |
1455 "SetNodePoolSizeRequest": { | 1387 "StartIPRotationRequest": { |
1456 "description": "SetNodePoolSizeRequest sets the size a node\npool.", | 1388 "description": "StartIPRotationRequest creates a new IP for the clus
ter and then performs\na node upgrade on each node pool to point to the new IP."
, |
1457 "id": "SetNodePoolSizeRequest", | 1389 "id": "StartIPRotationRequest", |
1458 "properties": { | 1390 "properties": {}, |
1459 "nodeCount": { | 1391 "type": "object" |
1460 "description": "The desired node count for the pool.", | 1392 }, |
1461 "format": "int32", | 1393 "LegacyAbac": { |
1462 "type": "integer" | 1394 "description": "Configuration for the legacy Attribute Based Access
Control authorization\nmode.", |
1463 } | 1395 "id": "LegacyAbac", |
1464 }, | |
1465 "type": "object" | |
1466 }, | |
1467 "UpdateClusterRequest": { | |
1468 "description": "UpdateClusterRequest updates the settings of a clust
er.", | |
1469 "id": "UpdateClusterRequest", | |
1470 "properties": { | |
1471 "update": { | |
1472 "$ref": "ClusterUpdate", | |
1473 "description": "A description of the update." | |
1474 } | |
1475 }, | |
1476 "type": "object" | |
1477 }, | |
1478 "NetworkPolicy": { | |
1479 "description": "Configuration options for the NetworkPolicy feature.
\nhttps://kubernetes.io/docs/concepts/services-networking/networkpolicies/", | |
1480 "id": "NetworkPolicy", | |
1481 "properties": { | 1396 "properties": { |
1482 "enabled": { | 1397 "enabled": { |
1483 "description": "Whether network policy is enabled on the clu
ster.", | 1398 "description": "Whether the ABAC authorizer is enabled for t
his cluster. When enabled,\nidentities in the system, including service accounts
, nodes, and\ncontrollers, will have statically granted permissions beyond those
\nprovided by the RBAC configuration or IAM.", |
1484 "type": "boolean" | 1399 "type": "boolean" |
1485 }, | 1400 } |
1486 "provider": { | 1401 }, |
1487 "description": "The selected network policy provider.", | 1402 "type": "object" |
1488 "enum": [ | 1403 }, |
1489 "PROVIDER_UNSPECIFIED", | 1404 "UpdateNodePoolRequest": { |
1490 "CALICO" | 1405 "description": "UpdateNodePoolRequests update a node pool's image an
d/or version.", |
1491 ], | 1406 "id": "UpdateNodePoolRequest", |
1492 "enumDescriptions": [ | 1407 "properties": { |
1493 "Not set", | 1408 "nodeVersion": { |
1494 "Tigera (Calico Felix)." | 1409 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", |
1495 ], | 1410 "type": "string" |
1496 "type": "string" | 1411 }, |
1497 } | 1412 "imageType": { |
1498 }, | 1413 "description": "The desired image type for the node pool.", |
1499 "type": "object" | 1414 "type": "string" |
1500 }, | 1415 } |
1501 "UpdateMasterRequest": { | 1416 }, |
1502 "description": "UpdateMasterRequest updates the master of the cluste
r.", | 1417 "type": "object" |
1503 "id": "UpdateMasterRequest", | 1418 }, |
1504 "properties": { | 1419 "AcceleratorConfig": { |
1505 "masterVersion": { | 1420 "description": "AcceleratorConfig represents a Hardware Accelerator
request.", |
1506 "description": "The Kubernetes version to change the master
to. The only valid value is the\nlatest supported version. Use \"-\" to have the
server automatically select\nthe latest version.", | 1421 "id": "AcceleratorConfig", |
1507 "type": "string" | 1422 "properties": { |
1508 } | 1423 "acceleratorType": { |
1509 }, | 1424 "description": "The accelerator type resource name. List of
supported accelerators\n[here](/compute/docs/gpus/#Introduction)", |
1510 "type": "object" | 1425 "type": "string" |
1511 }, | 1426 }, |
1512 "Cluster": { | 1427 "acceleratorCount": { |
1513 "description": "A Google Container Engine cluster.", | 1428 "description": "The number of the accelerator cards exposed
to an instance.", |
1514 "id": "Cluster", | 1429 "format": "int64", |
1515 "properties": { | 1430 "type": "string" |
1516 "servicesIpv4Cidr": { | 1431 } |
1517 "description": "[Output only] The IP address range of the Ku
bernetes services in\nthis cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Clas
sless_Inter-Domain_Routing)\nnotation (e.g. `1.2.3.4/29`). Service addresses are
\ntypically put in the last `/16` from the container CIDR.", | 1432 }, |
1518 "type": "string" | 1433 "type": "object" |
1519 }, | 1434 }, |
1520 "networkPolicy": { | 1435 "SetAddonsConfigRequest": { |
1521 "$ref": "NetworkPolicy", | 1436 "description": "SetAddonsConfigRequest sets the addons associated wi
th the cluster.", |
1522 "description": "Configuration options for the NetworkPolicy
feature." | 1437 "id": "SetAddonsConfigRequest", |
1523 }, | 1438 "properties": { |
1524 "enableKubernetesAlpha": { | |
1525 "description": "Kubernetes alpha features are enabled on thi
s cluster. This includes alpha\nAPI groups (e.g. v1alpha1) and features that may
not be production ready in\nthe kubernetes version of the master and nodes.\nTh
e cluster has no SLA for uptime and master/node upgrades are disabled.\nAlpha en
abled clusters are automatically deleted thirty days after\ncreation.", | |
1526 "type": "boolean" | |
1527 }, | |
1528 "description": { | |
1529 "description": "An optional description of this cluster.", | |
1530 "type": "string" | |
1531 }, | |
1532 "currentNodeCount": { | |
1533 "description": "[Output only] The number of nodes currently
in the cluster.", | |
1534 "format": "int32", | |
1535 "type": "integer" | |
1536 }, | |
1537 "monitoringService": { | |
1538 "description": "The monitoring service the cluster should us
e to write metrics.\nCurrently available options:\n\n* `monitoring.googleapis.co
m` - the Google Cloud Monitoring service.\n* `none` - no metrics will be exporte
d from the cluster.\n* if left as an empty string, `monitoring.googleapis.com` w
ill be used.", | |
1539 "type": "string" | |
1540 }, | |
1541 "network": { | |
1542 "description": "The name of the Google Compute Engine\n[netw
ork](/compute/docs/networks-and-firewalls#networks) to which the\ncluster is con
nected. If left unspecified, the `default` network\nwill be used.", | |
1543 "type": "string" | |
1544 }, | |
1545 "labelFingerprint": { | |
1546 "description": "The fingerprint of the set of labels for thi
s cluster.", | |
1547 "type": "string" | |
1548 }, | |
1549 "zone": { | |
1550 "description": "[Output only] The name of the Google Compute
Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", | |
1551 "type": "string" | |
1552 }, | |
1553 "expireTime": { | |
1554 "description": "[Output only] The time the cluster will be a
utomatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text fo
rmat.", | |
1555 "type": "string" | |
1556 }, | |
1557 "nodeIpv4CidrSize": { | |
1558 "description": "[Output only] The size of the address space
on each node for hosting\ncontainers. This is provisioned from within the `conta
iner_ipv4_cidr`\nrange.", | |
1559 "format": "int32", | |
1560 "type": "integer" | |
1561 }, | |
1562 "loggingService": { | |
1563 "description": "The logging service the cluster should use t
o write logs.\nCurrently available options:\n\n* `logging.googleapis.com` - the
Google Cloud Logging service.\n* `none` - no logs will be exported from the clus
ter.\n* if left as an empty string,`logging.googleapis.com` will be used.", | |
1564 "type": "string" | |
1565 }, | |
1566 "masterAuthorizedNetworksConfig": { | |
1567 "$ref": "MasterAuthorizedNetworksConfig", | |
1568 "description": "Master authorized networks is a Beta feature
.\nThe configuration options for master authorized networks feature." | |
1569 }, | |
1570 "statusMessage": { | |
1571 "description": "[Output only] Additional information about t
he current status of this\ncluster, if available.", | |
1572 "type": "string" | |
1573 }, | |
1574 "masterAuth": { | |
1575 "$ref": "MasterAuth", | |
1576 "description": "The authentication information for accessing
the master endpoint." | |
1577 }, | |
1578 "currentMasterVersion": { | |
1579 "description": "[Output only] The current software version o
f the master endpoint.", | |
1580 "type": "string" | |
1581 }, | |
1582 "nodeConfig": { | |
1583 "$ref": "NodeConfig", | |
1584 "description": "Parameters used in creating the cluster's no
des.\nSee `nodeConfig` for the description of its properties.\nFor requests, thi
s field should only be used in lieu of a\n\"node_pool\" object, since this confi
guration (along with the\n\"initial_node_count\") will be used to create a \"Nod
ePool\" object with an\nauto-generated name. Do not use this and a node_pool at
the same time.\nFor responses, this field will be populated with the node config
uration of\nthe first node pool.\n\nIf unspecified, the defaults are used." | |
1585 }, | |
1586 "addonsConfig": { | 1439 "addonsConfig": { |
1587 "$ref": "AddonsConfig", | 1440 "$ref": "AddonsConfig", |
1588 "description": "Configurations for the various addons availa
ble to run in the cluster." | 1441 "description": "The desired configurations for the various a
ddons available to run in the\ncluster." |
1589 }, | 1442 } |
| 1443 }, |
| 1444 "type": "object" |
| 1445 }, |
| 1446 "NodePool": { |
| 1447 "description": "NodePool contains the name and configuration for a c
luster's node pool.\nNode pools are a set of nodes (i.e. VM's), with a common co
nfiguration and\nspecification, under the control of the cluster master. They ma
y have a set\nof Kubernetes labels applied to them, which may be used to referen
ce them\nduring pod scheduling. They may also be resized up or down, to accommod
ate\nthe workload.", |
| 1448 "id": "NodePool", |
| 1449 "properties": { |
1590 "status": { | 1450 "status": { |
1591 "description": "[Output only] The current status of this clu
ster.", | 1451 "description": "[Output only] The status of the nodes in thi
s pool instance.", |
1592 "enum": [ | 1452 "enum": [ |
1593 "STATUS_UNSPECIFIED", | 1453 "STATUS_UNSPECIFIED", |
1594 "PROVISIONING", | 1454 "PROVISIONING", |
1595 "RUNNING", | 1455 "RUNNING", |
| 1456 "RUNNING_WITH_ERROR", |
1596 "RECONCILING", | 1457 "RECONCILING", |
1597 "STOPPING", | 1458 "STOPPING", |
1598 "ERROR" | 1459 "ERROR" |
1599 ], | 1460 ], |
1600 "enumDescriptions": [ | 1461 "enumDescriptions": [ |
1601 "Not set.", | 1462 "Not set.", |
1602 "The PROVISIONING state indicates the cluster is being c
reated.", | 1463 "The PROVISIONING state indicates the node pool is being
created.", |
1603 "The RUNNING state indicates the cluster has been create
d and is fully\nusable.", | 1464 "The RUNNING state indicates the node pool has been crea
ted\nand is fully usable.", |
1604 "The RECONCILING state indicates that some work is activ
ely being done on\nthe cluster, such as upgrading the master or node software. D
etails can\nbe found in the `statusMessage` field.", | 1465 "The RUNNING_WITH_ERROR state indicates the node pool ha
s been created\nand is partially usable. Some error state has occurred and some\
nfunctionality may be impaired. Customer may need to reissue a request\nor trigg
er a new update.", |
1605 "The STOPPING state indicates the cluster is being delet
ed.", | 1466 "The RECONCILING state indicates that some work is activ
ely being done on\nthe node pool, such as upgrading node software. Details can\n
be found in the `statusMessage` field.", |
1606 "The ERROR state indicates the cluster may be unusable.
Details\ncan be found in the `statusMessage` field." | 1467 "The STOPPING state indicates the node pool is being del
eted.", |
| 1468 "The ERROR state indicates the node pool may be unusable
. Details\ncan be found in the `statusMessage` field." |
1607 ], | 1469 ], |
1608 "type": "string" | 1470 "type": "string" |
1609 }, | 1471 }, |
1610 "currentNodeVersion": { | 1472 "config": { |
1611 "description": "[Output only] The current version of the nod
e software components.\nIf they are currently at multiple versions because they'
re in the process\nof being upgraded, this reflects the minimum version of all n
odes.", | 1473 "$ref": "NodeConfig", |
1612 "type": "string" | 1474 "description": "The node configuration of the pool." |
1613 }, | 1475 }, |
1614 "subnetwork": { | 1476 "statusMessage": { |
1615 "description": "The name of the Google Compute Engine\n[subn
etwork](/compute/docs/subnetworks) to which the\ncluster is connected.", | 1477 "description": "[Output only] Additional information about t
he current status of this\nnode pool instance, if available.", |
1616 "type": "string" | 1478 "type": "string" |
1617 }, | 1479 }, |
1618 "name": { | 1480 "name": { |
1619 "description": "The name of this cluster. The name must be u
nique within this project\nand zone, and can be up to 40 characters with the fol
lowing restrictions:\n\n* Lowercase letters, numbers, and hyphens only.\n* Must
start with a letter.\n* Must end with a number or a letter.", | 1481 "description": "The name of the node pool.", |
1620 "type": "string" | 1482 "type": "string" |
1621 }, | 1483 }, |
1622 "resourceLabels": { | 1484 "autoscaling": { |
1623 "additionalProperties": { | 1485 "$ref": "NodePoolAutoscaling", |
1624 "type": "string" | 1486 "description": "Autoscaler configuration for this NodePool.
Autoscaler is enabled\nonly if a valid configuration is present." |
1625 }, | 1487 }, |
1626 "description": "The resource labels for the cluster to use t
o annotate any related\nGoogle Compute Engine resources.", | 1488 "management": { |
1627 "type": "object" | 1489 "$ref": "NodeManagement", |
1628 }, | 1490 "description": "NodeManagement configuration for this NodePo
ol." |
1629 "initialClusterVersion": { | |
1630 "description": "The initial Kubernetes version for this clus
ter. Valid versions are those\nfound in validMasterVersions returned by getServ
erConfig. The version can\nbe upgraded over time; such upgrades are reflected i
n\ncurrentMasterVersion and currentNodeVersion.", | |
1631 "type": "string" | |
1632 }, | |
1633 "ipAllocationPolicy": { | |
1634 "$ref": "IPAllocationPolicy", | |
1635 "description": "Configuration for cluster IP allocation." | |
1636 }, | |
1637 "legacyAbac": { | |
1638 "$ref": "LegacyAbac", | |
1639 "description": "Configuration for the legacy ABAC authorizat
ion mode." | |
1640 }, | |
1641 "endpoint": { | |
1642 "description": "[Output only] The IP address of this cluster
's master endpoint.\nThe endpoint can be accessed from the internet at\n`https:/
/username:password@endpoint/`.\n\nSee the `masterAuth` property of this resource
for username and\npassword information.", | |
1643 "type": "string" | |
1644 }, | |
1645 "createTime": { | |
1646 "description": "[Output only] The time the cluster was creat
ed, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", | |
1647 "type": "string" | |
1648 }, | |
1649 "clusterIpv4Cidr": { | |
1650 "description": "The IP address range of the container pods i
n this cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_R
outing)\nnotation (e.g. `10.96.0.0/14`). Leave blank to have\none automatically
chosen or specify a `/14` block in `10.0.0.0/8`.", | |
1651 "type": "string" | |
1652 }, | 1491 }, |
1653 "initialNodeCount": { | 1492 "initialNodeCount": { |
1654 "description": "The number of nodes to create in this cluste
r. You must ensure that your\nCompute Engine <a href=\"/compute/docs/resource-qu
otas\">resource quota</a>\nis sufficient for this number of instances. You must
also have available\nfirewall and routes quota.\nFor requests, this field should
only be used in lieu of a\n\"node_pool\" object, since this configuration (alon
g with the\n\"node_config\") will be used to create a \"NodePool\" object with a
n\nauto-generated name. Do not use this and a node_pool at the same time.", | 1493 "description": "The initial node count for the pool. You mus
t ensure that your\nCompute Engine <a href=\"/compute/docs/resource-quotas\">res
ource quota</a>\nis sufficient for this number of instances. You must also have
available\nfirewall and routes quota.", |
1655 "format": "int32", | 1494 "format": "int32", |
1656 "type": "integer" | 1495 "type": "integer" |
1657 }, | 1496 }, |
1658 "selfLink": { | 1497 "selfLink": { |
1659 "description": "[Output only] Server-defined URL for the res
ource.", | 1498 "description": "[Output only] Server-defined URL for the res
ource.", |
1660 "type": "string" | 1499 "type": "string" |
1661 }, | 1500 }, |
1662 "nodePools": { | 1501 "instanceGroupUrls": { |
1663 "description": "The node pools associated with this cluster.
\nThis field should not be set if \"node_config\" or \"initial_node_count\" are\
nspecified.", | 1502 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\nnode pool.", |
1664 "items": { | |
1665 "$ref": "NodePool" | |
1666 }, | |
1667 "type": "array" | |
1668 }, | |
1669 "locations": { | |
1670 "description": "The list of Google Compute Engine\n[location
s](/compute/docs/zones#available) in which the cluster's nodes\nshould be locate
d.", | |
1671 "items": { | 1503 "items": { |
1672 "type": "string" | 1504 "type": "string" |
1673 }, | 1505 }, |
1674 "type": "array" | 1506 "type": "array" |
1675 }, | 1507 }, |
1676 "instanceGroupUrls": { | 1508 "version": { |
1677 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\ncluster.", | 1509 "description": "[Output only] The version of the Kubernetes
of this node.", |
| 1510 "type": "string" |
| 1511 } |
| 1512 }, |
| 1513 "type": "object" |
| 1514 }, |
| 1515 "SetLabelsRequest": { |
| 1516 "description": "SetLabelsRequest sets the Google Cloud Platform labe
ls on a Google Container\nEngine cluster, which will in turn set them for Google
Compute Engine\nresources used by that cluster", |
| 1517 "id": "SetLabelsRequest", |
| 1518 "properties": { |
| 1519 "labelFingerprint": { |
| 1520 "description": "The fingerprint of the previous set of label
s for this resource,\nused to detect conflicts. The fingerprint is initially gen
erated by\nContainer Engine and changes after every request to modify or update\
nlabels. You must always provide an up-to-date fingerprint hash when\nupdating o
r changing labels. Make a <code>get()</code> request to the\nresource to get the
latest fingerprint.", |
| 1521 "type": "string" |
| 1522 }, |
| 1523 "resourceLabels": { |
| 1524 "additionalProperties": { |
| 1525 "type": "string" |
| 1526 }, |
| 1527 "description": "The labels to set for that cluster.", |
| 1528 "type": "object" |
| 1529 } |
| 1530 }, |
| 1531 "type": "object" |
| 1532 }, |
| 1533 "NodeManagement": { |
| 1534 "description": "NodeManagement defines the set of node management se
rvices turned on for the\nnode pool.", |
| 1535 "id": "NodeManagement", |
| 1536 "properties": { |
| 1537 "autoRepair": { |
| 1538 "description": "A flag that specifies whether the node auto-
repair is enabled for the node\npool. If enabled, the nodes in this node pool wi
ll be monitored and, if\nthey fail health checks too many times, an automatic re
pair action will be\ntriggered.", |
| 1539 "type": "boolean" |
| 1540 }, |
| 1541 "autoUpgrade": { |
| 1542 "description": "A flag that specifies whether node auto-upgr
ade is enabled for the node\npool. If enabled, node auto-upgrade helps keep the
nodes in your node pool\nup to date with the latest release version of Kubernete
s.", |
| 1543 "type": "boolean" |
| 1544 }, |
| 1545 "upgradeOptions": { |
| 1546 "$ref": "AutoUpgradeOptions", |
| 1547 "description": "Specifies the Auto Upgrade knobs for the nod
e pool." |
| 1548 } |
| 1549 }, |
| 1550 "type": "object" |
| 1551 }, |
| 1552 "CancelOperationRequest": { |
| 1553 "description": "CancelOperationRequest cancels a single operation.", |
| 1554 "id": "CancelOperationRequest", |
| 1555 "properties": {}, |
| 1556 "type": "object" |
| 1557 }, |
| 1558 "SetLegacyAbacRequest": { |
| 1559 "description": "SetLegacyAbacRequest enables or disables the ABAC au
thorization mechanism for\na cluster.", |
| 1560 "id": "SetLegacyAbacRequest", |
| 1561 "properties": { |
| 1562 "enabled": { |
| 1563 "description": "Whether ABAC authorization will be enabled i
n the cluster.", |
| 1564 "type": "boolean" |
| 1565 } |
| 1566 }, |
| 1567 "type": "object" |
| 1568 }, |
| 1569 "KubernetesDashboard": { |
| 1570 "description": "Configuration for the Kubernetes Dashboard.", |
| 1571 "id": "KubernetesDashboard", |
| 1572 "properties": { |
| 1573 "disabled": { |
| 1574 "description": "Whether the Kubernetes Dashboard is enabled
for this cluster.", |
| 1575 "type": "boolean" |
| 1576 } |
| 1577 }, |
| 1578 "type": "object" |
| 1579 }, |
| 1580 "Operation": { |
| 1581 "description": "This operation resource represents operations that m
ay have happened or are\nhappening on the cluster. All fields are output only.", |
| 1582 "id": "Operation", |
| 1583 "properties": { |
| 1584 "zone": { |
| 1585 "description": "The name of the Google Compute Engine\n[zone
](/compute/docs/zones#available) in which the operation\nis taking place.", |
| 1586 "type": "string" |
| 1587 }, |
| 1588 "status": { |
| 1589 "description": "The current status of the operation.", |
| 1590 "enum": [ |
| 1591 "STATUS_UNSPECIFIED", |
| 1592 "PENDING", |
| 1593 "RUNNING", |
| 1594 "DONE", |
| 1595 "ABORTING" |
| 1596 ], |
| 1597 "enumDescriptions": [ |
| 1598 "Not set.", |
| 1599 "The operation has been created.", |
| 1600 "The operation is currently running.", |
| 1601 "The operation is done, either cancelled or completed.", |
| 1602 "The operation is aborting." |
| 1603 ], |
| 1604 "type": "string" |
| 1605 }, |
| 1606 "statusMessage": { |
| 1607 "description": "If an error has occurred, a textual descript
ion of the error.", |
| 1608 "type": "string" |
| 1609 }, |
| 1610 "name": { |
| 1611 "description": "The server-assigned ID for the operation.", |
| 1612 "type": "string" |
| 1613 }, |
| 1614 "selfLink": { |
| 1615 "description": "Server-defined URL for the resource.", |
| 1616 "type": "string" |
| 1617 }, |
| 1618 "endTime": { |
| 1619 "description": "[Output only] The time the operation complet
ed, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
| 1620 "type": "string" |
| 1621 }, |
| 1622 "targetLink": { |
| 1623 "description": "Server-defined URL for the target of the ope
ration.", |
| 1624 "type": "string" |
| 1625 }, |
| 1626 "detail": { |
| 1627 "description": "Detailed operation progress, if available.", |
| 1628 "type": "string" |
| 1629 }, |
| 1630 "operationType": { |
| 1631 "description": "The operation type.", |
| 1632 "enum": [ |
| 1633 "TYPE_UNSPECIFIED", |
| 1634 "CREATE_CLUSTER", |
| 1635 "DELETE_CLUSTER", |
| 1636 "UPGRADE_MASTER", |
| 1637 "UPGRADE_NODES", |
| 1638 "REPAIR_CLUSTER", |
| 1639 "UPDATE_CLUSTER", |
| 1640 "CREATE_NODE_POOL", |
| 1641 "DELETE_NODE_POOL", |
| 1642 "SET_NODE_POOL_MANAGEMENT", |
| 1643 "AUTO_REPAIR_NODES", |
| 1644 "AUTO_UPGRADE_NODES", |
| 1645 "SET_LABELS", |
| 1646 "SET_MASTER_AUTH", |
| 1647 "SET_NODE_POOL_SIZE", |
| 1648 "SET_NETWORK_POLICY" |
| 1649 ], |
| 1650 "enumDescriptions": [ |
| 1651 "Not set.", |
| 1652 "Cluster create.", |
| 1653 "Cluster delete.", |
| 1654 "A master upgrade.", |
| 1655 "A node upgrade.", |
| 1656 "Cluster repair.", |
| 1657 "Cluster update.", |
| 1658 "Node pool create.", |
| 1659 "Node pool delete.", |
| 1660 "Set node pool management.", |
| 1661 "Automatic node pool repair.", |
| 1662 "Automatic node upgrade.", |
| 1663 "Set labels.", |
| 1664 "Set/generate master auth materials", |
| 1665 "Set node pool size.", |
| 1666 "Updates network policy for a cluster." |
| 1667 ], |
| 1668 "type": "string" |
| 1669 }, |
| 1670 "startTime": { |
| 1671 "description": "[Output only] The time the operation started
, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
| 1672 "type": "string" |
| 1673 } |
| 1674 }, |
| 1675 "type": "object" |
| 1676 }, |
| 1677 "AddonsConfig": { |
| 1678 "description": "Configuration for the addons that can be automatical
ly spun up in the\ncluster, enabling additional functionality.", |
| 1679 "id": "AddonsConfig", |
| 1680 "properties": { |
| 1681 "horizontalPodAutoscaling": { |
| 1682 "$ref": "HorizontalPodAutoscaling", |
| 1683 "description": "Configuration for the horizontal pod autosca
ling feature, which\nincreases or decreases the number of replica pods a replica
tion controller\nhas based on the resource usage of the existing pods." |
| 1684 }, |
| 1685 "httpLoadBalancing": { |
| 1686 "$ref": "HttpLoadBalancing", |
| 1687 "description": "Configuration for the HTTP (L7) load balanci
ng controller addon, which\nmakes it easy to set up HTTP load balancers for serv
ices in a cluster." |
| 1688 }, |
| 1689 "kubernetesDashboard": { |
| 1690 "$ref": "KubernetesDashboard", |
| 1691 "description": "Configuration for the Kubernetes Dashboard." |
| 1692 } |
| 1693 }, |
| 1694 "type": "object" |
| 1695 }, |
| 1696 "SetLocationsRequest": { |
| 1697 "description": "SetLocationsRequest sets the locations of the cluste
r.", |
| 1698 "id": "SetLocationsRequest", |
| 1699 "properties": { |
| 1700 "locations": { |
| 1701 "description": "The desired list of Google Compute Engine\n[
locations](/compute/docs/zones#available) in which the cluster's nodes\nshould b
e located. Changing the locations a cluster is in will result\nin nodes being ei
ther created or removed from the cluster, depending on\nwhether locations are be
ing added or removed.\n\nThis list must always include the cluster's primary zon
e.", |
1678 "items": { | 1702 "items": { |
1679 "type": "string" | 1703 "type": "string" |
1680 }, | 1704 }, |
1681 "type": "array" | |
1682 } | |
1683 }, | |
1684 "type": "object" | |
1685 }, | |
1686 "ListOperationsResponse": { | |
1687 "description": "ListOperationsResponse is the result of ListOperatio
nsRequest.", | |
1688 "id": "ListOperationsResponse", | |
1689 "properties": { | |
1690 "operations": { | |
1691 "description": "A list of operations in the project in the s
pecified zone.", | |
1692 "items": { | |
1693 "$ref": "Operation" | |
1694 }, | |
1695 "type": "array" | |
1696 }, | |
1697 "missingZones": { | |
1698 "description": "If any zones are listed here, the list of op
erations returned\nmay be missing the operations from those zones.", | |
1699 "items": { | |
1700 "type": "string" | |
1701 }, | |
1702 "type": "array" | |
1703 } | |
1704 }, | |
1705 "type": "object" | |
1706 }, | |
1707 "CreateNodePoolRequest": { | |
1708 "description": "CreateNodePoolRequest creates a node pool for a clus
ter.", | |
1709 "id": "CreateNodePoolRequest", | |
1710 "properties": { | |
1711 "nodePool": { | |
1712 "$ref": "NodePool", | |
1713 "description": "The node pool to create." | |
1714 } | |
1715 }, | |
1716 "type": "object" | |
1717 }, | |
1718 "CidrBlock": { | |
1719 "description": "CidrBlock contains an optional name and one CIDR blo
ck.", | |
1720 "id": "CidrBlock", | |
1721 "properties": { | |
1722 "cidrBlock": { | |
1723 "description": "cidr_block must be specified in CIDR notatio
n.", | |
1724 "type": "string" | |
1725 }, | |
1726 "displayName": { | |
1727 "description": "display_name is an optional field for users
to identify CIDR blocks.", | |
1728 "type": "string" | |
1729 } | |
1730 }, | |
1731 "type": "object" | |
1732 }, | |
1733 "SetMonitoringServiceRequest": { | |
1734 "description": "SetMonitoringServiceRequest sets the monitoring serv
ice of a cluster.", | |
1735 "id": "SetMonitoringServiceRequest", | |
1736 "properties": { | |
1737 "monitoringService": { | |
1738 "description": "The monitoring service the cluster should us
e to write metrics.\nCurrently available options:\n\n* \"monitoring.googleapis.c
om\" - the Google Cloud Monitoring service\n* \"none\" - no metrics will be expo
rted from the cluster", | |
1739 "type": "string" | |
1740 } | |
1741 }, | |
1742 "type": "object" | |
1743 }, | |
1744 "ServerConfig": { | |
1745 "description": "Container Engine service configuration.", | |
1746 "id": "ServerConfig", | |
1747 "properties": { | |
1748 "validMasterVersions": { | |
1749 "description": "List of valid master versions.", | |
1750 "items": { | |
1751 "type": "string" | |
1752 }, | |
1753 "type": "array" | |
1754 }, | |
1755 "defaultImageType": { | |
1756 "description": "Default image type.", | |
1757 "type": "string" | |
1758 }, | |
1759 "defaultClusterVersion": { | |
1760 "description": "Version of Kubernetes the service deploys by
default.", | |
1761 "type": "string" | |
1762 }, | |
1763 "validImageTypes": { | |
1764 "description": "List of valid image types.", | |
1765 "items": { | |
1766 "type": "string" | |
1767 }, | |
1768 "type": "array" | |
1769 }, | |
1770 "validNodeVersions": { | |
1771 "description": "List of valid node upgrade target versions."
, | |
1772 "items": { | |
1773 "type": "string" | |
1774 }, | |
1775 "type": "array" | |
1776 } | |
1777 }, | |
1778 "type": "object" | |
1779 }, | |
1780 "MasterAuth": { | |
1781 "description": "The authentication information for accessing the mas
ter endpoint.\nAuthentication can be done using HTTP basic auth or using client\
ncertificates.", | |
1782 "id": "MasterAuth", | |
1783 "properties": { | |
1784 "clientCertificateConfig": { | |
1785 "$ref": "ClientCertificateConfig", | |
1786 "description": "Configuration for client certificate authent
ication on the cluster. If no\nconfiguration is specified, a client certificate
is issued." | |
1787 }, | |
1788 "password": { | |
1789 "description": "The password to use for HTTP basic authentic
ation to the master endpoint.\nBecause the master endpoint is open to the Intern
et, you should create a\nstrong password. If a password is provided for cluster
creation, username\nmust be non-empty.", | |
1790 "type": "string" | |
1791 }, | |
1792 "clientKey": { | |
1793 "description": "[Output only] Base64-encoded private key use
d by clients to authenticate\nto the cluster endpoint.", | |
1794 "type": "string" | |
1795 }, | |
1796 "clusterCaCertificate": { | |
1797 "description": "[Output only] Base64-encoded public certific
ate that is the root of\ntrust for the cluster.", | |
1798 "type": "string" | |
1799 }, | |
1800 "clientCertificate": { | |
1801 "description": "[Output only] Base64-encoded public certific
ate used by clients to\nauthenticate to the cluster endpoint.", | |
1802 "type": "string" | |
1803 }, | |
1804 "username": { | |
1805 "description": "The username to use for HTTP basic authentic
ation to the master endpoint.\nFor clusters v1.6.0 and later, you can disable ba
sic authentication by\nproviding an empty username.", | |
1806 "type": "string" | |
1807 } | |
1808 }, | |
1809 "type": "object" | |
1810 }, | |
1811 "NodeConfig": { | |
1812 "description": "Parameters that describe the nodes in a cluster.", | |
1813 "id": "NodeConfig", | |
1814 "properties": { | |
1815 "oauthScopes": { | |
1816 "description": "The set of Google API scopes to be made avai
lable on all of the\nnode VMs under the \"default\" service account.\n\nThe foll
owing scopes are recommended, but not required, and by default are\nnot included
:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersi
stent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read
_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container Re
gistry](/container-registry/)).\n\nIf unspecified, no scopes are added, unless C
loud Logging or Cloud\nMonitoring are enabled, in which case their required scop
es will be added.", | |
1817 "items": { | |
1818 "type": "string" | |
1819 }, | |
1820 "type": "array" | |
1821 }, | |
1822 "preemptible": { | |
1823 "description": "Whether the nodes are created as preemptible
VM instances. See:\nhttps://cloud.google.com/compute/docs/instances/preemptible
for more\ninformation about preemptible VM instances.", | |
1824 "type": "boolean" | |
1825 }, | |
1826 "labels": { | |
1827 "additionalProperties": { | |
1828 "type": "string" | |
1829 }, | |
1830 "description": "The map of Kubernetes labels (key/value pair
s) to be applied to each node.\nThese will added in addition to any default labe
l(s) that\nKubernetes may apply to the node.\nIn case of conflict in label keys,
the applied set may differ depending on\nthe Kubernetes version -- it's best to
assume the behavior is undefined\nand conflicts should be avoided.\nFor more in
formation, including usage and the valid values, see:\nhttp://kubernetes.io/v1.1
/docs/user-guide/labels.html", | |
1831 "type": "object" | |
1832 }, | |
1833 "localSsdCount": { | |
1834 "description": "The number of local SSD disks to be attached
to the node.\n\nThe limit for this value is dependant upon the maximum number o
f\ndisks available on a machine per zone. See:\nhttps://cloud.google.com/compute
/docs/disks/local-ssd#local_ssd_limits\nfor more information.", | |
1835 "format": "int32", | |
1836 "type": "integer" | |
1837 }, | |
1838 "metadata": { | |
1839 "additionalProperties": { | |
1840 "type": "string" | |
1841 }, | |
1842 "description": "The metadata key/value pairs assigned to ins
tances in the cluster.\n\nKeys must conform to the regexp [a-zA-Z0-9-_]+ and be
less than 128 bytes\nin length. These are reflected as part of a URL in the meta
data server.\nAdditionally, to avoid ambiguity, keys must not conflict with any
other\nmetadata keys for the project or be one of the four reserved keys:\n\"ins
tance-template\", \"kube-env\", \"startup-script\", and \"user-data\"\n\nValues
are free-form strings, and only have meaning as interpreted by\nthe image runnin
g in the instance. The only restriction placed on them is\nthat each value's siz
e must be less than or equal to 32 KB.\n\nThe total size of all keys and values
must be less than 512 KB.", | |
1843 "type": "object" | |
1844 }, | |
1845 "diskSizeGb": { | |
1846 "description": "Size of the disk attached to each node, spec
ified in GB.\nThe smallest allowed disk size is 10GB.\n\nIf unspecified, the def
ault disk size is 100GB.", | |
1847 "format": "int32", | |
1848 "type": "integer" | |
1849 }, | |
1850 "tags": { | |
1851 "description": "The list of instance tags applied to all nod
es. Tags are used to identify\nvalid sources or targets for network firewalls an
d are specified by\nthe client during cluster or node pool creation. Each tag wi
thin the list\nmust comply with RFC1035.", | |
1852 "items": { | |
1853 "type": "string" | |
1854 }, | |
1855 "type": "array" | |
1856 }, | |
1857 "serviceAccount": { | |
1858 "description": "The Google Cloud Platform Service Account to
be used by the node VMs. If\nno Service Account is specified, the \"default\" s
ervice account is used.", | |
1859 "type": "string" | |
1860 }, | |
1861 "accelerators": { | |
1862 "description": "A list of hardware accelerators to be attach
ed to each node.\nSee https://cloud.google.com/compute/docs/gpus for more inform
ation about\nsupport for GPUs.", | |
1863 "items": { | |
1864 "$ref": "AcceleratorConfig" | |
1865 }, | |
1866 "type": "array" | |
1867 }, | |
1868 "machineType": { | |
1869 "description": "The name of a Google Compute Engine [machine
\ntype](/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified,
the default machine type is\n`n1-standard-1`.", | |
1870 "type": "string" | |
1871 }, | |
1872 "imageType": { | |
1873 "description": "The image type to use for this node. Note th
at for a given image type,\nthe latest version of it will be used.", | |
1874 "type": "string" | |
1875 } | |
1876 }, | |
1877 "type": "object" | |
1878 }, | |
1879 "AutoUpgradeOptions": { | |
1880 "description": "AutoUpgradeOptions defines the set of options for th
e user to control how\nthe Auto Upgrades will proceed.", | |
1881 "id": "AutoUpgradeOptions", | |
1882 "properties": { | |
1883 "autoUpgradeStartTime": { | |
1884 "description": "[Output only] This field is set when upgrade
s are about to commence\nwith the approximate start time for the upgrades, in\n[
RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", | |
1885 "type": "string" | |
1886 }, | |
1887 "description": { | |
1888 "description": "[Output only] This field is set when upgrade
s are about to commence\nwith the description of the upgrade.", | |
1889 "type": "string" | |
1890 } | |
1891 }, | |
1892 "type": "object" | |
1893 }, | |
1894 "ListClustersResponse": { | |
1895 "description": "ListClustersResponse is the result of ListClustersRe
quest.", | |
1896 "id": "ListClustersResponse", | |
1897 "properties": { | |
1898 "clusters": { | |
1899 "description": "A list of clusters in the project in the spe
cified zone, or\nacross all ones.", | |
1900 "items": { | |
1901 "$ref": "Cluster" | |
1902 }, | |
1903 "type": "array" | |
1904 }, | |
1905 "missingZones": { | |
1906 "description": "If any zones are listed here, the list of cl
usters returned\nmay be missing those zones.", | |
1907 "items": { | |
1908 "type": "string" | |
1909 }, | |
1910 "type": "array" | 1705 "type": "array" |
1911 } | 1706 } |
1912 }, | 1707 }, |
1913 "type": "object" | 1708 "type": "object" |
1914 }, | 1709 }, |
| 1710 "RollbackNodePoolUpgradeRequest": { |
| 1711 "description": "RollbackNodePoolUpgradeRequest rollbacks the previou
sly Aborted or Failed\nNodePool upgrade. This will be an no-op if the last upgra
de successfully\ncompleted.", |
| 1712 "id": "RollbackNodePoolUpgradeRequest", |
| 1713 "properties": {}, |
| 1714 "type": "object" |
| 1715 }, |
| 1716 "SetNodePoolSizeRequest": { |
| 1717 "description": "SetNodePoolSizeRequest sets the size a node\npool.", |
| 1718 "id": "SetNodePoolSizeRequest", |
| 1719 "properties": { |
| 1720 "nodeCount": { |
| 1721 "description": "The desired node count for the pool.", |
| 1722 "format": "int32", |
| 1723 "type": "integer" |
| 1724 } |
| 1725 }, |
| 1726 "type": "object" |
| 1727 }, |
| 1728 "UpdateClusterRequest": { |
| 1729 "description": "UpdateClusterRequest updates the settings of a clust
er.", |
| 1730 "id": "UpdateClusterRequest", |
| 1731 "properties": { |
| 1732 "update": { |
| 1733 "$ref": "ClusterUpdate", |
| 1734 "description": "A description of the update." |
| 1735 } |
| 1736 }, |
| 1737 "type": "object" |
| 1738 }, |
| 1739 "NetworkPolicy": { |
| 1740 "description": "Configuration options for the NetworkPolicy feature.
\nhttps://kubernetes.io/docs/concepts/services-networking/networkpolicies/", |
| 1741 "id": "NetworkPolicy", |
| 1742 "properties": { |
| 1743 "enabled": { |
| 1744 "description": "Whether network policy is enabled on the clu
ster.", |
| 1745 "type": "boolean" |
| 1746 }, |
| 1747 "provider": { |
| 1748 "description": "The selected network policy provider.", |
| 1749 "enum": [ |
| 1750 "PROVIDER_UNSPECIFIED", |
| 1751 "CALICO" |
| 1752 ], |
| 1753 "enumDescriptions": [ |
| 1754 "Not set", |
| 1755 "Tigera (Calico Felix)." |
| 1756 ], |
| 1757 "type": "string" |
| 1758 } |
| 1759 }, |
| 1760 "type": "object" |
| 1761 }, |
| 1762 "UpdateMasterRequest": { |
| 1763 "description": "UpdateMasterRequest updates the master of the cluste
r.", |
| 1764 "id": "UpdateMasterRequest", |
| 1765 "properties": { |
| 1766 "masterVersion": { |
| 1767 "description": "The Kubernetes version to change the master
to. The only valid value is the\nlatest supported version. Use \"-\" to have the
server automatically select\nthe latest version.", |
| 1768 "type": "string" |
| 1769 } |
| 1770 }, |
| 1771 "type": "object" |
| 1772 }, |
| 1773 "Cluster": { |
| 1774 "description": "A Google Container Engine cluster.", |
| 1775 "id": "Cluster", |
| 1776 "properties": { |
| 1777 "nodeConfig": { |
| 1778 "$ref": "NodeConfig", |
| 1779 "description": "Parameters used in creating the cluster's no
des.\nSee `nodeConfig` for the description of its properties.\nFor requests, thi
s field should only be used in lieu of a\n\"node_pool\" object, since this confi
guration (along with the\n\"initial_node_count\") will be used to create a \"Nod
ePool\" object with an\nauto-generated name. Do not use this and a node_pool at
the same time.\nFor responses, this field will be populated with the node config
uration of\nthe first node pool.\n\nIf unspecified, the defaults are used." |
| 1780 }, |
| 1781 "addonsConfig": { |
| 1782 "$ref": "AddonsConfig", |
| 1783 "description": "Configurations for the various addons availa
ble to run in the cluster." |
| 1784 }, |
| 1785 "status": { |
| 1786 "description": "[Output only] The current status of this clu
ster.", |
| 1787 "enum": [ |
| 1788 "STATUS_UNSPECIFIED", |
| 1789 "PROVISIONING", |
| 1790 "RUNNING", |
| 1791 "RECONCILING", |
| 1792 "STOPPING", |
| 1793 "ERROR" |
| 1794 ], |
| 1795 "enumDescriptions": [ |
| 1796 "Not set.", |
| 1797 "The PROVISIONING state indicates the cluster is being c
reated.", |
| 1798 "The RUNNING state indicates the cluster has been create
d and is fully\nusable.", |
| 1799 "The RECONCILING state indicates that some work is activ
ely being done on\nthe cluster, such as upgrading the master or node software. D
etails can\nbe found in the `statusMessage` field.", |
| 1800 "The STOPPING state indicates the cluster is being delet
ed.", |
| 1801 "The ERROR state indicates the cluster may be unusable.
Details\ncan be found in the `statusMessage` field." |
| 1802 ], |
| 1803 "type": "string" |
| 1804 }, |
| 1805 "currentNodeVersion": { |
| 1806 "description": "[Output only] The current version of the nod
e software components.\nIf they are currently at multiple versions because they'
re in the process\nof being upgraded, this reflects the minimum version of all n
odes.", |
| 1807 "type": "string" |
| 1808 }, |
| 1809 "subnetwork": { |
| 1810 "description": "The name of the Google Compute Engine\n[subn
etwork](/compute/docs/subnetworks) to which the\ncluster is connected.", |
| 1811 "type": "string" |
| 1812 }, |
| 1813 "name": { |
| 1814 "description": "The name of this cluster. The name must be u
nique within this project\nand zone, and can be up to 40 characters with the fol
lowing restrictions:\n\n* Lowercase letters, numbers, and hyphens only.\n* Must
start with a letter.\n* Must end with a number or a letter.", |
| 1815 "type": "string" |
| 1816 }, |
| 1817 "resourceLabels": { |
| 1818 "additionalProperties": { |
| 1819 "type": "string" |
| 1820 }, |
| 1821 "description": "The resource labels for the cluster to use t
o annotate any related\nGoogle Compute Engine resources.", |
| 1822 "type": "object" |
| 1823 }, |
| 1824 "initialClusterVersion": { |
| 1825 "description": "The initial Kubernetes version for this clus
ter. Valid versions are those\nfound in validMasterVersions returned by getServ
erConfig. The version can\nbe upgraded over time; such upgrades are reflected i
n\ncurrentMasterVersion and currentNodeVersion.", |
| 1826 "type": "string" |
| 1827 }, |
| 1828 "ipAllocationPolicy": { |
| 1829 "$ref": "IPAllocationPolicy", |
| 1830 "description": "Configuration for cluster IP allocation." |
| 1831 }, |
| 1832 "legacyAbac": { |
| 1833 "$ref": "LegacyAbac", |
| 1834 "description": "Configuration for the legacy ABAC authorizat
ion mode." |
| 1835 }, |
| 1836 "endpoint": { |
| 1837 "description": "[Output only] The IP address of this cluster
's master endpoint.\nThe endpoint can be accessed from the internet at\n`https:/
/username:password@endpoint/`.\n\nSee the `masterAuth` property of this resource
for username and\npassword information.", |
| 1838 "type": "string" |
| 1839 }, |
| 1840 "createTime": { |
| 1841 "description": "[Output only] The time the cluster was creat
ed, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
| 1842 "type": "string" |
| 1843 }, |
| 1844 "clusterIpv4Cidr": { |
| 1845 "description": "The IP address range of the container pods i
n this cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_R
outing)\nnotation (e.g. `10.96.0.0/14`). Leave blank to have\none automatically
chosen or specify a `/14` block in `10.0.0.0/8`.", |
| 1846 "type": "string" |
| 1847 }, |
| 1848 "initialNodeCount": { |
| 1849 "description": "The number of nodes to create in this cluste
r. You must ensure that your\nCompute Engine <a href=\"/compute/docs/resource-qu
otas\">resource quota</a>\nis sufficient for this number of instances. You must
also have available\nfirewall and routes quota.\nFor requests, this field should
only be used in lieu of a\n\"node_pool\" object, since this configuration (alon
g with the\n\"node_config\") will be used to create a \"NodePool\" object with a
n\nauto-generated name. Do not use this and a node_pool at the same time.", |
| 1850 "format": "int32", |
| 1851 "type": "integer" |
| 1852 }, |
| 1853 "selfLink": { |
| 1854 "description": "[Output only] Server-defined URL for the res
ource.", |
| 1855 "type": "string" |
| 1856 }, |
| 1857 "locations": { |
| 1858 "description": "The list of Google Compute Engine\n[location
s](/compute/docs/zones#available) in which the cluster's nodes\nshould be locate
d.", |
| 1859 "items": { |
| 1860 "type": "string" |
| 1861 }, |
| 1862 "type": "array" |
| 1863 }, |
| 1864 "nodePools": { |
| 1865 "description": "The node pools associated with this cluster.
\nThis field should not be set if \"node_config\" or \"initial_node_count\" are\
nspecified.", |
| 1866 "items": { |
| 1867 "$ref": "NodePool" |
| 1868 }, |
| 1869 "type": "array" |
| 1870 }, |
| 1871 "instanceGroupUrls": { |
| 1872 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\ncluster.", |
| 1873 "items": { |
| 1874 "type": "string" |
| 1875 }, |
| 1876 "type": "array" |
| 1877 }, |
| 1878 "networkPolicy": { |
| 1879 "$ref": "NetworkPolicy", |
| 1880 "description": "Configuration options for the NetworkPolicy
feature." |
| 1881 }, |
| 1882 "servicesIpv4Cidr": { |
| 1883 "description": "[Output only] The IP address range of the Ku
bernetes services in\nthis cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Clas
sless_Inter-Domain_Routing)\nnotation (e.g. `1.2.3.4/29`). Service addresses are
\ntypically put in the last `/16` from the container CIDR.", |
| 1884 "type": "string" |
| 1885 }, |
| 1886 "enableKubernetesAlpha": { |
| 1887 "description": "Kubernetes alpha features are enabled on thi
s cluster. This includes alpha\nAPI groups (e.g. v1alpha1) and features that may
not be production ready in\nthe kubernetes version of the master and nodes.\nTh
e cluster has no SLA for uptime and master/node upgrades are disabled.\nAlpha en
abled clusters are automatically deleted thirty days after\ncreation.", |
| 1888 "type": "boolean" |
| 1889 }, |
| 1890 "description": { |
| 1891 "description": "An optional description of this cluster.", |
| 1892 "type": "string" |
| 1893 }, |
| 1894 "currentNodeCount": { |
| 1895 "description": "[Output only] The number of nodes currently
in the cluster.", |
| 1896 "format": "int32", |
| 1897 "type": "integer" |
| 1898 }, |
| 1899 "monitoringService": { |
| 1900 "description": "The monitoring service the cluster should us
e to write metrics.\nCurrently available options:\n\n* `monitoring.googleapis.co
m` - the Google Cloud Monitoring service.\n* `none` - no metrics will be exporte
d from the cluster.\n* if left as an empty string, `monitoring.googleapis.com` w
ill be used.", |
| 1901 "type": "string" |
| 1902 }, |
| 1903 "network": { |
| 1904 "description": "The name of the Google Compute Engine\n[netw
ork](/compute/docs/networks-and-firewalls#networks) to which the\ncluster is con
nected. If left unspecified, the `default` network\nwill be used.", |
| 1905 "type": "string" |
| 1906 }, |
| 1907 "labelFingerprint": { |
| 1908 "description": "The fingerprint of the set of labels for thi
s cluster.", |
| 1909 "type": "string" |
| 1910 }, |
| 1911 "zone": { |
| 1912 "description": "[Output only] The name of the Google Compute
Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
| 1913 "type": "string" |
| 1914 }, |
| 1915 "expireTime": { |
| 1916 "description": "[Output only] The time the cluster will be a
utomatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text fo
rmat.", |
| 1917 "type": "string" |
| 1918 }, |
| 1919 "nodeIpv4CidrSize": { |
| 1920 "description": "[Output only] The size of the address space
on each node for hosting\ncontainers. This is provisioned from within the `conta
iner_ipv4_cidr`\nrange.", |
| 1921 "format": "int32", |
| 1922 "type": "integer" |
| 1923 }, |
| 1924 "loggingService": { |
| 1925 "description": "The logging service the cluster should use t
o write logs.\nCurrently available options:\n\n* `logging.googleapis.com` - the
Google Cloud Logging service.\n* `none` - no logs will be exported from the clus
ter.\n* if left as an empty string,`logging.googleapis.com` will be used.", |
| 1926 "type": "string" |
| 1927 }, |
| 1928 "masterAuthorizedNetworksConfig": { |
| 1929 "$ref": "MasterAuthorizedNetworksConfig", |
| 1930 "description": "Master authorized networks is a Beta feature
.\nThe configuration options for master authorized networks feature." |
| 1931 }, |
| 1932 "statusMessage": { |
| 1933 "description": "[Output only] Additional information about t
he current status of this\ncluster, if available.", |
| 1934 "type": "string" |
| 1935 }, |
| 1936 "masterAuth": { |
| 1937 "$ref": "MasterAuth", |
| 1938 "description": "The authentication information for accessing
the master endpoint." |
| 1939 }, |
| 1940 "currentMasterVersion": { |
| 1941 "description": "[Output only] The current software version o
f the master endpoint.", |
| 1942 "type": "string" |
| 1943 } |
| 1944 }, |
| 1945 "type": "object" |
| 1946 }, |
| 1947 "CreateNodePoolRequest": { |
| 1948 "description": "CreateNodePoolRequest creates a node pool for a clus
ter.", |
| 1949 "id": "CreateNodePoolRequest", |
| 1950 "properties": { |
| 1951 "nodePool": { |
| 1952 "$ref": "NodePool", |
| 1953 "description": "The node pool to create." |
| 1954 } |
| 1955 }, |
| 1956 "type": "object" |
| 1957 }, |
| 1958 "ListOperationsResponse": { |
| 1959 "description": "ListOperationsResponse is the result of ListOperatio
nsRequest.", |
| 1960 "id": "ListOperationsResponse", |
| 1961 "properties": { |
| 1962 "operations": { |
| 1963 "description": "A list of operations in the project in the s
pecified zone.", |
| 1964 "items": { |
| 1965 "$ref": "Operation" |
| 1966 }, |
| 1967 "type": "array" |
| 1968 }, |
| 1969 "missingZones": { |
| 1970 "description": "If any zones are listed here, the list of op
erations returned\nmay be missing the operations from those zones.", |
| 1971 "items": { |
| 1972 "type": "string" |
| 1973 }, |
| 1974 "type": "array" |
| 1975 } |
| 1976 }, |
| 1977 "type": "object" |
| 1978 }, |
| 1979 "SetMonitoringServiceRequest": { |
| 1980 "description": "SetMonitoringServiceRequest sets the monitoring serv
ice of a cluster.", |
| 1981 "id": "SetMonitoringServiceRequest", |
| 1982 "properties": { |
| 1983 "monitoringService": { |
| 1984 "description": "The monitoring service the cluster should us
e to write metrics.\nCurrently available options:\n\n* \"monitoring.googleapis.c
om\" - the Google Cloud Monitoring service\n* \"none\" - no metrics will be expo
rted from the cluster", |
| 1985 "type": "string" |
| 1986 } |
| 1987 }, |
| 1988 "type": "object" |
| 1989 }, |
| 1990 "CidrBlock": { |
| 1991 "description": "CidrBlock contains an optional name and one CIDR blo
ck.", |
| 1992 "id": "CidrBlock", |
| 1993 "properties": { |
| 1994 "displayName": { |
| 1995 "description": "display_name is an optional field for users
to identify CIDR blocks.", |
| 1996 "type": "string" |
| 1997 }, |
| 1998 "cidrBlock": { |
| 1999 "description": "cidr_block must be specified in CIDR notatio
n.", |
| 2000 "type": "string" |
| 2001 } |
| 2002 }, |
| 2003 "type": "object" |
| 2004 }, |
| 2005 "ServerConfig": { |
| 2006 "description": "Container Engine service configuration.", |
| 2007 "id": "ServerConfig", |
| 2008 "properties": { |
| 2009 "validMasterVersions": { |
| 2010 "description": "List of valid master versions.", |
| 2011 "items": { |
| 2012 "type": "string" |
| 2013 }, |
| 2014 "type": "array" |
| 2015 }, |
| 2016 "defaultImageType": { |
| 2017 "description": "Default image type.", |
| 2018 "type": "string" |
| 2019 }, |
| 2020 "defaultClusterVersion": { |
| 2021 "description": "Version of Kubernetes the service deploys by
default.", |
| 2022 "type": "string" |
| 2023 }, |
| 2024 "validImageTypes": { |
| 2025 "description": "List of valid image types.", |
| 2026 "items": { |
| 2027 "type": "string" |
| 2028 }, |
| 2029 "type": "array" |
| 2030 }, |
| 2031 "validNodeVersions": { |
| 2032 "description": "List of valid node upgrade target versions."
, |
| 2033 "items": { |
| 2034 "type": "string" |
| 2035 }, |
| 2036 "type": "array" |
| 2037 } |
| 2038 }, |
| 2039 "type": "object" |
| 2040 }, |
| 2041 "NodeConfig": { |
| 2042 "description": "Parameters that describe the nodes in a cluster.", |
| 2043 "id": "NodeConfig", |
| 2044 "properties": { |
| 2045 "tags": { |
| 2046 "description": "The list of instance tags applied to all nod
es. Tags are used to identify\nvalid sources or targets for network firewalls an
d are specified by\nthe client during cluster or node pool creation. Each tag wi
thin the list\nmust comply with RFC1035.", |
| 2047 "items": { |
| 2048 "type": "string" |
| 2049 }, |
| 2050 "type": "array" |
| 2051 }, |
| 2052 "serviceAccount": { |
| 2053 "description": "The Google Cloud Platform Service Account to
be used by the node VMs. If\nno Service Account is specified, the \"default\" s
ervice account is used.", |
| 2054 "type": "string" |
| 2055 }, |
| 2056 "accelerators": { |
| 2057 "description": "A list of hardware accelerators to be attach
ed to each node.\nSee https://cloud.google.com/compute/docs/gpus for more inform
ation about\nsupport for GPUs.", |
| 2058 "items": { |
| 2059 "$ref": "AcceleratorConfig" |
| 2060 }, |
| 2061 "type": "array" |
| 2062 }, |
| 2063 "machineType": { |
| 2064 "description": "The name of a Google Compute Engine [machine
\ntype](/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified,
the default machine type is\n`n1-standard-1`.", |
| 2065 "type": "string" |
| 2066 }, |
| 2067 "imageType": { |
| 2068 "description": "The image type to use for this node. Note th
at for a given image type,\nthe latest version of it will be used.", |
| 2069 "type": "string" |
| 2070 }, |
| 2071 "oauthScopes": { |
| 2072 "description": "The set of Google API scopes to be made avai
lable on all of the\nnode VMs under the \"default\" service account.\n\nThe foll
owing scopes are recommended, but not required, and by default are\nnot included
:\n\n* `https://www.googleapis.com/auth/compute` is required for mounting\npersi
stent storage on your nodes.\n* `https://www.googleapis.com/auth/devstorage.read
_only` is required for\ncommunicating with **gcr.io**\n(the [Google Container Re
gistry](/container-registry/)).\n\nIf unspecified, no scopes are added, unless C
loud Logging or Cloud\nMonitoring are enabled, in which case their required scop
es will be added.", |
| 2073 "items": { |
| 2074 "type": "string" |
| 2075 }, |
| 2076 "type": "array" |
| 2077 }, |
| 2078 "preemptible": { |
| 2079 "description": "Whether the nodes are created as preemptible
VM instances. See:\nhttps://cloud.google.com/compute/docs/instances/preemptible
for more\ninformation about preemptible VM instances.", |
| 2080 "type": "boolean" |
| 2081 }, |
| 2082 "labels": { |
| 2083 "additionalProperties": { |
| 2084 "type": "string" |
| 2085 }, |
| 2086 "description": "The map of Kubernetes labels (key/value pair
s) to be applied to each node.\nThese will added in addition to any default labe
l(s) that\nKubernetes may apply to the node.\nIn case of conflict in label keys,
the applied set may differ depending on\nthe Kubernetes version -- it's best to
assume the behavior is undefined\nand conflicts should be avoided.\nFor more in
formation, including usage and the valid values, see:\nhttps://kubernetes.io/doc
s/concepts/overview/working-with-objects/labels/", |
| 2087 "type": "object" |
| 2088 }, |
| 2089 "localSsdCount": { |
| 2090 "description": "The number of local SSD disks to be attached
to the node.\n\nThe limit for this value is dependant upon the maximum number o
f\ndisks available on a machine per zone. See:\nhttps://cloud.google.com/compute
/docs/disks/local-ssd#local_ssd_limits\nfor more information.", |
| 2091 "format": "int32", |
| 2092 "type": "integer" |
| 2093 }, |
| 2094 "metadata": { |
| 2095 "additionalProperties": { |
| 2096 "type": "string" |
| 2097 }, |
| 2098 "description": "The metadata key/value pairs assigned to ins
tances in the cluster.\n\nKeys must conform to the regexp [a-zA-Z0-9-_]+ and be
less than 128 bytes\nin length. These are reflected as part of a URL in the meta
data server.\nAdditionally, to avoid ambiguity, keys must not conflict with any
other\nmetadata keys for the project or be one of the four reserved keys:\n\"ins
tance-template\", \"kube-env\", \"startup-script\", and \"user-data\"\n\nValues
are free-form strings, and only have meaning as interpreted by\nthe image runnin
g in the instance. The only restriction placed on them is\nthat each value's siz
e must be less than or equal to 32 KB.\n\nThe total size of all keys and values
must be less than 512 KB.", |
| 2099 "type": "object" |
| 2100 }, |
| 2101 "diskSizeGb": { |
| 2102 "description": "Size of the disk attached to each node, spec
ified in GB.\nThe smallest allowed disk size is 10GB.\n\nIf unspecified, the def
ault disk size is 100GB.", |
| 2103 "format": "int32", |
| 2104 "type": "integer" |
| 2105 } |
| 2106 }, |
| 2107 "type": "object" |
| 2108 }, |
| 2109 "MasterAuth": { |
| 2110 "description": "The authentication information for accessing the mas
ter endpoint.\nAuthentication can be done using HTTP basic auth or using client\
ncertificates.", |
| 2111 "id": "MasterAuth", |
| 2112 "properties": { |
| 2113 "clientKey": { |
| 2114 "description": "[Output only] Base64-encoded private key use
d by clients to authenticate\nto the cluster endpoint.", |
| 2115 "type": "string" |
| 2116 }, |
| 2117 "clusterCaCertificate": { |
| 2118 "description": "[Output only] Base64-encoded public certific
ate that is the root of\ntrust for the cluster.", |
| 2119 "type": "string" |
| 2120 }, |
| 2121 "clientCertificate": { |
| 2122 "description": "[Output only] Base64-encoded public certific
ate used by clients to\nauthenticate to the cluster endpoint.", |
| 2123 "type": "string" |
| 2124 }, |
| 2125 "username": { |
| 2126 "description": "The username to use for HTTP basic authentic
ation to the master endpoint.\nFor clusters v1.6.0 and later, you can disable ba
sic authentication by\nproviding an empty username.", |
| 2127 "type": "string" |
| 2128 }, |
| 2129 "password": { |
| 2130 "description": "The password to use for HTTP basic authentic
ation to the master endpoint.\nBecause the master endpoint is open to the Intern
et, you should create a\nstrong password. If a password is provided for cluster
creation, username\nmust be non-empty.", |
| 2131 "type": "string" |
| 2132 }, |
| 2133 "clientCertificateConfig": { |
| 2134 "$ref": "ClientCertificateConfig", |
| 2135 "description": "Configuration for client certificate authent
ication on the cluster. If no\nconfiguration is specified, a client certificate
is issued." |
| 2136 } |
| 2137 }, |
| 2138 "type": "object" |
| 2139 }, |
| 2140 "AutoUpgradeOptions": { |
| 2141 "description": "AutoUpgradeOptions defines the set of options for th
e user to control how\nthe Auto Upgrades will proceed.", |
| 2142 "id": "AutoUpgradeOptions", |
| 2143 "properties": { |
| 2144 "autoUpgradeStartTime": { |
| 2145 "description": "[Output only] This field is set when upgrade
s are about to commence\nwith the approximate start time for the upgrades, in\n[
RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
| 2146 "type": "string" |
| 2147 }, |
| 2148 "description": { |
| 2149 "description": "[Output only] This field is set when upgrade
s are about to commence\nwith the description of the upgrade.", |
| 2150 "type": "string" |
| 2151 } |
| 2152 }, |
| 2153 "type": "object" |
| 2154 }, |
| 2155 "ListClustersResponse": { |
| 2156 "description": "ListClustersResponse is the result of ListClustersRe
quest.", |
| 2157 "id": "ListClustersResponse", |
| 2158 "properties": { |
| 2159 "clusters": { |
| 2160 "description": "A list of clusters in the project in the spe
cified zone, or\nacross all ones.", |
| 2161 "items": { |
| 2162 "$ref": "Cluster" |
| 2163 }, |
| 2164 "type": "array" |
| 2165 }, |
| 2166 "missingZones": { |
| 2167 "description": "If any zones are listed here, the list of cl
usters returned\nmay be missing those zones.", |
| 2168 "items": { |
| 2169 "type": "string" |
| 2170 }, |
| 2171 "type": "array" |
| 2172 } |
| 2173 }, |
| 2174 "type": "object" |
| 2175 }, |
1915 "HttpLoadBalancing": { | 2176 "HttpLoadBalancing": { |
1916 "description": "Configuration options for the HTTP (L7) load balanci
ng controller addon,\nwhich makes it easy to set up HTTP load balancers for serv
ices in a cluster.", | 2177 "description": "Configuration options for the HTTP (L7) load balanci
ng controller addon,\nwhich makes it easy to set up HTTP load balancers for serv
ices in a cluster.", |
1917 "id": "HttpLoadBalancing", | 2178 "id": "HttpLoadBalancing", |
1918 "properties": { | 2179 "properties": { |
1919 "disabled": { | 2180 "disabled": { |
1920 "description": "Whether the HTTP Load Balancing controller i
s enabled in the cluster.\nWhen enabled, it runs a small pod in the cluster that
manages the load\nbalancers.", | 2181 "description": "Whether the HTTP Load Balancing controller i
s enabled in the cluster.\nWhen enabled, it runs a small pod in the cluster that
manages the load\nbalancers.", |
1921 "type": "boolean" | 2182 "type": "boolean" |
1922 } | 2183 } |
1923 }, | 2184 }, |
1924 "type": "object" | 2185 "type": "object" |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1967 "description": "Issue a client certificate.", | 2228 "description": "Issue a client certificate.", |
1968 "type": "boolean" | 2229 "type": "boolean" |
1969 } | 2230 } |
1970 }, | 2231 }, |
1971 "type": "object" | 2232 "type": "object" |
1972 }, | 2233 }, |
1973 "NodePoolAutoscaling": { | 2234 "NodePoolAutoscaling": { |
1974 "description": "NodePoolAutoscaling contains information required by
cluster autoscaler to\nadjust the size of the node pool to the current cluster
usage.", | 2235 "description": "NodePoolAutoscaling contains information required by
cluster autoscaler to\nadjust the size of the node pool to the current cluster
usage.", |
1975 "id": "NodePoolAutoscaling", | 2236 "id": "NodePoolAutoscaling", |
1976 "properties": { | 2237 "properties": { |
| 2238 "enabled": { |
| 2239 "description": "Is autoscaling enabled for this node pool.", |
| 2240 "type": "boolean" |
| 2241 }, |
1977 "maxNodeCount": { | 2242 "maxNodeCount": { |
1978 "description": "Maximum number of nodes in the NodePool. Mus
t be >= min_node_count. There\nhas to enough quota to scale up the cluster.", | 2243 "description": "Maximum number of nodes in the NodePool. Mus
t be >= min_node_count. There\nhas to enough quota to scale up the cluster.", |
1979 "format": "int32", | 2244 "format": "int32", |
1980 "type": "integer" | 2245 "type": "integer" |
1981 }, | 2246 }, |
1982 "minNodeCount": { | 2247 "minNodeCount": { |
1983 "description": "Minimum number of nodes in the NodePool. Mus
t be >= 1 and <=\nmax_node_count.", | 2248 "description": "Minimum number of nodes in the NodePool. Mus
t be >= 1 and <=\nmax_node_count.", |
1984 "format": "int32", | 2249 "format": "int32", |
1985 "type": "integer" | 2250 "type": "integer" |
1986 }, | 2251 } |
1987 "enabled": { | 2252 }, |
1988 "description": "Is autoscaling enabled for this node pool.", | 2253 "type": "object" |
1989 "type": "boolean" | 2254 }, |
| 2255 "ClusterUpdate": { |
| 2256 "description": "ClusterUpdate describes an update to the cluster. Ex
actly one update can\nbe applied to a cluster with each request, so at most one
field can be\nprovided.", |
| 2257 "id": "ClusterUpdate", |
| 2258 "properties": { |
| 2259 "desiredAddonsConfig": { |
| 2260 "$ref": "AddonsConfig", |
| 2261 "description": "Configurations for the various addons availa
ble to run in the cluster." |
| 2262 }, |
| 2263 "desiredNodePoolId": { |
| 2264 "description": "The node pool to be upgraded. This field is
mandatory if\n\"desired_node_version\", \"desired_image_family\" or\n\"desired_n
ode_pool_autoscaling\" is specified and there is more than one\nnode pool on the
cluster.", |
| 2265 "type": "string" |
| 2266 }, |
| 2267 "desiredNodeVersion": { |
| 2268 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", |
| 2269 "type": "string" |
| 2270 }, |
| 2271 "desiredMasterVersion": { |
| 2272 "description": "The Kubernetes version to change the master
to. The only valid value is the\nlatest supported version. Use \"-\" to have the
server automatically select\nthe latest version.", |
| 2273 "type": "string" |
| 2274 }, |
| 2275 "desiredMasterAuthorizedNetworksConfig": { |
| 2276 "$ref": "MasterAuthorizedNetworksConfig", |
| 2277 "description": "Master authorized networks is a Beta feature
.\nThe desired configuration options for master authorized networks feature." |
| 2278 }, |
| 2279 "desiredLocations": { |
| 2280 "description": "The desired list of Google Compute Engine\n[
locations](/compute/docs/zones#available) in which the cluster's nodes\nshould b
e located. Changing the locations a cluster is in will result\nin nodes being ei
ther created or removed from the cluster, depending on\nwhether locations are be
ing added or removed.\n\nThis list must always include the cluster's primary zon
e.", |
| 2281 "items": { |
| 2282 "type": "string" |
| 2283 }, |
| 2284 "type": "array" |
| 2285 }, |
| 2286 "desiredNodePoolAutoscaling": { |
| 2287 "$ref": "NodePoolAutoscaling", |
| 2288 "description": "Autoscaler configuration for the node pool s
pecified in\ndesired_node_pool_id. If there is only one pool in the\ncluster and
desired_node_pool_id is not provided then\nthe change applies to that single no
de pool." |
| 2289 }, |
| 2290 "desiredMonitoringService": { |
| 2291 "description": "The monitoring service the cluster should us
e to write metrics.\nCurrently available options:\n\n* \"monitoring.googleapis.c
om\" - the Google Cloud Monitoring service\n* \"none\" - no metrics will be expo
rted from the cluster", |
| 2292 "type": "string" |
| 2293 }, |
| 2294 "desiredImageType": { |
| 2295 "description": "The desired image type for the node pool.\nN
OTE: Set the \"desired_node_pool\" field as well.", |
| 2296 "type": "string" |
1990 } | 2297 } |
1991 }, | 2298 }, |
1992 "type": "object" | 2299 "type": "object" |
1993 }, | 2300 }, |
1994 "IPAllocationPolicy": { | 2301 "IPAllocationPolicy": { |
1995 "description": "Configuration for controlling how IPs are allocated
in the cluster.", | 2302 "description": "Configuration for controlling how IPs are allocated
in the cluster.", |
1996 "id": "IPAllocationPolicy", | 2303 "id": "IPAllocationPolicy", |
1997 "properties": { | 2304 "properties": { |
| 2305 "nodeIpv4CidrBlock": { |
| 2306 "description": "The IP address range of the instance IPs in
this cluster.\n\nThis is applicable only if `create_subnetwork` is true.\n\nSet
to blank to have a range chosen with the default size.\n\nSet to /netmask (e.g.
`/14`) to have a range chosen with a specific\nnetmask.\n\nSet to a\n[CIDR](http
://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.
0.0/14`) from the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.16.0.0/12`
, `192.168.0.0/16`) to pick a specific range\nto use.", |
| 2307 "type": "string" |
| 2308 }, |
| 2309 "servicesIpv4Cidr": { |
| 2310 "description": "This field is deprecated, use services_ipv4_
cidr_block.", |
| 2311 "type": "string" |
| 2312 }, |
| 2313 "createSubnetwork": { |
| 2314 "description": "Whether a new subnetwork will be created aut
omatically for the cluster.\n\nThis field is only applicable when `use_ip_aliase
s` is true.", |
| 2315 "type": "boolean" |
| 2316 }, |
1998 "useIpAliases": { | 2317 "useIpAliases": { |
1999 "description": "Whether alias IPs will be used for pod IPs i
n the cluster.", | 2318 "description": "Whether alias IPs will be used for pod IPs i
n the cluster.", |
2000 "type": "boolean" | 2319 "type": "boolean" |
2001 }, | 2320 }, |
2002 "createSubnetwork": { | 2321 "servicesSecondaryRangeName": { |
2003 "description": "Whether a new subnetwork will be created aut
omatically for the cluster.\n\nThis field is only applicable when `use_ip_aliase
s` is true.", | 2322 "description": "The name of the secondary range to be used a
s for the services\nCIDR block. The secondary range will be used for service\nC
lusterIPs. This must be an existing secondary range associated\nwith the cluster
subnetwork.\n\nThis field is only applicable with use_ip_aliases is true and\nc
reate_subnetwork is false.", |
2004 "type": "boolean" | 2323 "type": "string" |
| 2324 }, |
| 2325 "servicesIpv4CidrBlock": { |
| 2326 "description": "The IP address range of the services IPs in
this cluster. If blank, a range\nwill be automatically chosen with the default s
ize.\n\nThis field is only applicable when `use_ip_aliases` is true.\n\nSet to b
lank to have a range chosen with the default size.\n\nSet to /netmask (e.g. `/14
`) to have a range chosen with a specific\nnetmask.\n\nSet to a\n[CIDR](http://e
n.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/
14`) from the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.16.0.0/12`, `1
92.168.0.0/16`) to pick a specific range\nto use.", |
| 2327 "type": "string" |
2005 }, | 2328 }, |
2006 "subnetworkName": { | 2329 "subnetworkName": { |
2007 "description": "A custom subnetwork name to be used if `crea
te_subnetwork` is true. If\nthis field is empty, then an automatic name will be
chosen for the new\nsubnetwork.", | 2330 "description": "A custom subnetwork name to be used if `crea
te_subnetwork` is true. If\nthis field is empty, then an automatic name will be
chosen for the new\nsubnetwork.", |
2008 "type": "string" | 2331 "type": "string" |
2009 }, | 2332 }, |
2010 "clusterIpv4Cidr": { | 2333 "clusterIpv4Cidr": { |
2011 "description": "The IP address range for the cluster pod IPs
. If this field is set, then\n`cluster.cluster_ipv4_cidr` must be left blank.\n\
nThis field is only applicable when `use_ip_aliases` is true.\n\nSet to blank to
have a range will be chosen with the default size.\n\nSet to /netmask (e.g. `/1
4`) to have a range be chosen with a specific\nnetmask.\n\nSet to a [CIDR](http:
//en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0
.0/14`) from the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.16.0.0/12`,
`192.168.0.0/16`) to pick a specific range\nto use.", | 2334 "description": "This field is deprecated, use cluster_ipv4_c
idr_block.", |
2012 "type": "string" | 2335 "type": "string" |
2013 }, | 2336 }, |
2014 "nodeIpv4Cidr": { | 2337 "nodeIpv4Cidr": { |
2015 "description": "The IP address range of the instance IPs in
this cluster.\n\nThis is applicable only if `create_subnetwork` is true.\n\nSet
to blank to have a range will be chosen with the default size.\n\nSet to /netmas
k (e.g. `/14`) to have a range be chosen with a specific\nnetmask.\n\nSet to a [
CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.
g. `10.96.0.0/14`) from the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.
16.0.0/12`, `192.168.0.0/16`) to pick a specific range\nto use.", | 2338 "description": "This field is deprecated, use node_ipv4_cidr
_block.", |
2016 "type": "string" | 2339 "type": "string" |
2017 }, | 2340 }, |
2018 "servicesIpv4Cidr": { | 2341 "clusterIpv4CidrBlock": { |
2019 "description": "The IP address range of the services IPs in
this cluster. If blank, a range\nwill be automatically chosen with the default s
ize.\n\nThis field is only applicable when `use_ip_aliases` is true.\n\nSet to b
lank to have a range will be chosen with the default size.\n\nSet to /netmask (e
.g. `/14`) to have a range be chosen with a specific\nnetmask.\n\nSet to a [CIDR
](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `
10.96.0.0/14`) from the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.16.0
.0/12`, `192.168.0.0/16`) to pick a specific range\nto use.", | 2342 "description": "The IP address range for the cluster pod IPs
. If this field is set, then\n`cluster.cluster_ipv4_cidr` must be left blank.\n\
nThis field is only applicable when `use_ip_aliases` is true.\n\nSet to blank to
have a range chosen with the default size.\n\nSet to /netmask (e.g. `/14`) to h
ave a range chosen with a specific\nnetmask.\n\nSet to a\n[CIDR](http://en.wikip
edia.org/wiki/Classless_Inter-Domain_Routing)\nnotation (e.g. `10.96.0.0/14`) fr
om the RFC-1918 private networks (e.g.\n`10.0.0.0/8`, `172.16.0.0/12`, `192.168.
0.0/16`) to pick a specific range\nto use.", |
2020 "type": "string" | 2343 "type": "string" |
2021 } | 2344 }, |
2022 }, | 2345 "clusterSecondaryRangeName": { |
2023 "type": "object" | 2346 "description": "The name of the secondary range to be used f
or the cluster CIDR\nblock. The secondary range will be used for pod IP\naddres
ses. This must be an existing secondary range associated\nwith the cluster subne
twork.\n\nThis field is only applicable with use_ip_aliases is true and\ncreate_
subnetwork is false.", |
2024 }, | |
2025 "ClusterUpdate": { | |
2026 "description": "ClusterUpdate describes an update to the cluster. Ex
actly one update can\nbe applied to a cluster with each request, so at most one
field can be\nprovided.", | |
2027 "id": "ClusterUpdate", | |
2028 "properties": { | |
2029 "desiredMasterAuthorizedNetworksConfig": { | |
2030 "$ref": "MasterAuthorizedNetworksConfig", | |
2031 "description": "Master authorized networks is a Beta feature
.\nThe desired configuration options for master authorized networks feature." | |
2032 }, | |
2033 "desiredNodePoolAutoscaling": { | |
2034 "$ref": "NodePoolAutoscaling", | |
2035 "description": "Autoscaler configuration for the node pool s
pecified in\ndesired_node_pool_id. If there is only one pool in the\ncluster and
desired_node_pool_id is not provided then\nthe change applies to that single no
de pool." | |
2036 }, | |
2037 "desiredLocations": { | |
2038 "description": "The desired list of Google Compute Engine\n[
locations](/compute/docs/zones#available) in which the cluster's nodes\nshould b
e located. Changing the locations a cluster is in will result\nin nodes being ei
ther created or removed from the cluster, depending on\nwhether locations are be
ing added or removed.\n\nThis list must always include the cluster's primary zon
e.", | |
2039 "items": { | |
2040 "type": "string" | |
2041 }, | |
2042 "type": "array" | |
2043 }, | |
2044 "desiredMonitoringService": { | |
2045 "description": "The monitoring service the cluster should us
e to write metrics.\nCurrently available options:\n\n* \"monitoring.googleapis.c
om\" - the Google Cloud Monitoring service\n* \"none\" - no metrics will be expo
rted from the cluster", | |
2046 "type": "string" | |
2047 }, | |
2048 "desiredImageType": { | |
2049 "description": "The desired image type for the node pool.\nN
OTE: Set the \"desired_node_pool\" field as well.", | |
2050 "type": "string" | |
2051 }, | |
2052 "desiredAddonsConfig": { | |
2053 "$ref": "AddonsConfig", | |
2054 "description": "Configurations for the various addons availa
ble to run in the cluster." | |
2055 }, | |
2056 "desiredNodePoolId": { | |
2057 "description": "The node pool to be upgraded. This field is
mandatory if\n\"desired_node_version\", \"desired_image_family\" or\n\"desired_n
ode_pool_autoscaling\" is specified and there is more than one\nnode pool on the
cluster.", | |
2058 "type": "string" | |
2059 }, | |
2060 "desiredNodeVersion": { | |
2061 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", | |
2062 "type": "string" | |
2063 }, | |
2064 "desiredMasterVersion": { | |
2065 "description": "The Kubernetes version to change the master
to. The only valid value is the\nlatest supported version. Use \"-\" to have the
server automatically select\nthe latest version.", | |
2066 "type": "string" | 2347 "type": "string" |
2067 } | 2348 } |
2068 }, | 2349 }, |
2069 "type": "object" | 2350 "type": "object" |
2070 }, | 2351 }, |
2071 "SetLoggingServiceRequest": { | 2352 "SetLoggingServiceRequest": { |
2072 "description": "SetLoggingServiceRequest sets the logging service of
a cluster.", | 2353 "description": "SetLoggingServiceRequest sets the logging service of
a cluster.", |
2073 "id": "SetLoggingServiceRequest", | 2354 "id": "SetLoggingServiceRequest", |
2074 "properties": { | 2355 "properties": { |
2075 "loggingService": { | 2356 "loggingService": { |
2076 "description": "The logging service the cluster should use t
o write metrics.\nCurrently available options:\n\n* \"logging.googleapis.com\" -
the Google Cloud Logging service\n* \"none\" - no metrics will be exported from
the cluster", | 2357 "description": "The logging service the cluster should use t
o write metrics.\nCurrently available options:\n\n* \"logging.googleapis.com\" -
the Google Cloud Logging service\n* \"none\" - no metrics will be exported from
the cluster", |
2077 "type": "string" | 2358 "type": "string" |
2078 } | 2359 } |
2079 }, | 2360 }, |
2080 "type": "object" | 2361 "type": "object" |
2081 }, | |
2082 "HorizontalPodAutoscaling": { | |
2083 "description": "Configuration options for the horizontal pod autosca
ling feature, which\nincreases or decreases the number of replica pods a replica
tion controller\nhas based on the resource usage of the existing pods.", | |
2084 "id": "HorizontalPodAutoscaling", | |
2085 "properties": { | |
2086 "disabled": { | |
2087 "description": "Whether the Horizontal Pod Autoscaling featu
re is enabled in the cluster.\nWhen enabled, it ensures that a Heapster pod is r
unning in the cluster,\nwhich is also used by the Cloud Monitoring service.", | |
2088 "type": "boolean" | |
2089 } | |
2090 }, | |
2091 "type": "object" | |
2092 }, | |
2093 "MasterAuthorizedNetworksConfig": { | |
2094 "description": "Master authorized networks is a Beta feature.\nConfi
guration options for the master authorized networks feature. Enabled\nmaster aut
horized networks will disallow all external traffic to access\nKubernetes master
through HTTPS except traffic from the given CIDR blocks,\nGoogle Compute Engine
Public IPs and Google Prod IPs.", | |
2095 "id": "MasterAuthorizedNetworksConfig", | |
2096 "properties": { | |
2097 "enabled": { | |
2098 "description": "Whether or not master authorized networks is
enabled.", | |
2099 "type": "boolean" | |
2100 }, | |
2101 "cidrBlocks": { | |
2102 "description": "cidr_blocks define up to 10 external network
s that could access\nKubernetes master through HTTPS.", | |
2103 "items": { | |
2104 "$ref": "CidrBlock" | |
2105 }, | |
2106 "type": "array" | |
2107 } | |
2108 }, | |
2109 "type": "object" | |
2110 }, | |
2111 "Empty": { | |
2112 "description": "A generic empty message that you can re-use to avoid
defining duplicated\nempty messages in your APIs. A typical example is to use i
t as the request\nor the response type of an API method. For instance:\n\n se
rvice Foo {\n rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty
);\n }\n\nThe JSON representation for `Empty` is empty JSON object `{}`.", | |
2113 "id": "Empty", | |
2114 "properties": {}, | |
2115 "type": "object" | |
2116 }, | |
2117 "SetNodePoolManagementRequest": { | |
2118 "description": "SetNodePoolManagementRequest sets the node managemen
t properties of a node\npool.", | |
2119 "id": "SetNodePoolManagementRequest", | |
2120 "properties": { | |
2121 "management": { | |
2122 "$ref": "NodeManagement", | |
2123 "description": "NodeManagement configuration for the node po
ol." | |
2124 } | |
2125 }, | |
2126 "type": "object" | |
2127 }, | |
2128 "SetNodePoolAutoscalingRequest": { | |
2129 "description": "SetNodePoolAutoscalingRequest sets the autoscaler se
ttings of a node pool.", | |
2130 "id": "SetNodePoolAutoscalingRequest", | |
2131 "properties": { | |
2132 "autoscaling": { | |
2133 "$ref": "NodePoolAutoscaling", | |
2134 "description": "Autoscaling configuration for the node pool.
" | |
2135 } | |
2136 }, | |
2137 "type": "object" | |
2138 }, | |
2139 "CreateClusterRequest": { | |
2140 "description": "CreateClusterRequest creates a cluster.", | |
2141 "id": "CreateClusterRequest", | |
2142 "properties": { | |
2143 "cluster": { | |
2144 "$ref": "Cluster", | |
2145 "description": "A [cluster\nresource](/container-engine/refe
rence/rest/v1/projects.zones.clusters)" | |
2146 } | |
2147 }, | |
2148 "type": "object" | |
2149 }, | |
2150 "ListNodePoolsResponse": { | |
2151 "description": "ListNodePoolsResponse is the result of ListNodePools
Request.", | |
2152 "id": "ListNodePoolsResponse", | |
2153 "properties": { | |
2154 "nodePools": { | |
2155 "description": "A list of node pools for a cluster.", | |
2156 "items": { | |
2157 "$ref": "NodePool" | |
2158 }, | |
2159 "type": "array" | |
2160 } | |
2161 }, | |
2162 "type": "object" | |
2163 }, | |
2164 "CompleteIPRotationRequest": { | |
2165 "description": "CompleteIPRotationRequest moves the cluster master b
ack into single-IP mode.", | |
2166 "id": "CompleteIPRotationRequest", | |
2167 "properties": {}, | |
2168 "type": "object" | |
2169 }, | |
2170 "StartIPRotationRequest": { | |
2171 "description": "StartIPRotationRequest creates a new IP for the clus
ter and then performs\na node upgrade on each node pool to point to the new IP."
, | |
2172 "id": "StartIPRotationRequest", | |
2173 "properties": {}, | |
2174 "type": "object" | |
2175 }, | |
2176 "UpdateNodePoolRequest": { | |
2177 "description": "UpdateNodePoolRequests update a node pool's image an
d/or version.", | |
2178 "id": "UpdateNodePoolRequest", | |
2179 "properties": { | |
2180 "nodeVersion": { | |
2181 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", | |
2182 "type": "string" | |
2183 }, | |
2184 "imageType": { | |
2185 "description": "The desired image type for the node pool.", | |
2186 "type": "string" | |
2187 } | |
2188 }, | |
2189 "type": "object" | |
2190 }, | |
2191 "AcceleratorConfig": { | |
2192 "description": "AcceleratorConfig represents a Hardware Accelerator
request.", | |
2193 "id": "AcceleratorConfig", | |
2194 "properties": { | |
2195 "acceleratorType": { | |
2196 "description": "The accelerator type resource name. List of
supported accelerators\n[here](/compute/docs/gpus/#Introduction)", | |
2197 "type": "string" | |
2198 }, | |
2199 "acceleratorCount": { | |
2200 "description": "The number of the accelerator cards exposed
to an instance.", | |
2201 "format": "int64", | |
2202 "type": "string" | |
2203 } | |
2204 }, | |
2205 "type": "object" | |
2206 }, | |
2207 "LegacyAbac": { | |
2208 "description": "Configuration for the legacy Attribute Based Access
Control authorization\nmode.", | |
2209 "id": "LegacyAbac", | |
2210 "properties": { | |
2211 "enabled": { | |
2212 "description": "Whether the ABAC authorizer is enabled for t
his cluster. When enabled,\nidentities in the system, including service accounts
, nodes, and\ncontrollers, will have statically granted permissions beyond those
\nprovided by the RBAC configuration or IAM.", | |
2213 "type": "boolean" | |
2214 } | |
2215 }, | |
2216 "type": "object" | |
2217 }, | |
2218 "SetAddonsConfigRequest": { | |
2219 "description": "SetAddonsConfigRequest sets the addons associated wi
th the cluster.", | |
2220 "id": "SetAddonsConfigRequest", | |
2221 "properties": { | |
2222 "addonsConfig": { | |
2223 "$ref": "AddonsConfig", | |
2224 "description": "The desired configurations for the various a
ddons available to run in the\ncluster." | |
2225 } | |
2226 }, | |
2227 "type": "object" | |
2228 }, | |
2229 "SetLabelsRequest": { | |
2230 "description": "SetLabelsRequest sets the Google Cloud Platform labe
ls on a Google Container\nEngine cluster, which will in turn set them for Google
Compute Engine\nresources used by that cluster", | |
2231 "id": "SetLabelsRequest", | |
2232 "properties": { | |
2233 "resourceLabels": { | |
2234 "additionalProperties": { | |
2235 "type": "string" | |
2236 }, | |
2237 "description": "The labels to set for that cluster.", | |
2238 "type": "object" | |
2239 }, | |
2240 "labelFingerprint": { | |
2241 "description": "The fingerprint of the previous set of label
s for this resource,\nused to detect conflicts. The fingerprint is initially gen
erated by\nContainer Engine and changes after every request to modify or update\
nlabels. You must always provide an up-to-date fingerprint hash when\nupdating o
r changing labels. Make a <code>get()</code> request to the\nresource to get the
latest fingerprint.", | |
2242 "type": "string" | |
2243 } | |
2244 }, | |
2245 "type": "object" | |
2246 }, | |
2247 "NodePool": { | |
2248 "description": "NodePool contains the name and configuration for a c
luster's node pool.\nNode pools are a set of nodes (i.e. VM's), with a common co
nfiguration and\nspecification, under the control of the cluster master. They ma
y have a set\nof Kubernetes labels applied to them, which may be used to referen
ce them\nduring pod scheduling. They may also be resized up or down, to accommod
ate\nthe workload.", | |
2249 "id": "NodePool", | |
2250 "properties": { | |
2251 "status": { | |
2252 "description": "[Output only] The status of the nodes in thi
s pool instance.", | |
2253 "enum": [ | |
2254 "STATUS_UNSPECIFIED", | |
2255 "PROVISIONING", | |
2256 "RUNNING", | |
2257 "RUNNING_WITH_ERROR", | |
2258 "RECONCILING", | |
2259 "STOPPING", | |
2260 "ERROR" | |
2261 ], | |
2262 "enumDescriptions": [ | |
2263 "Not set.", | |
2264 "The PROVISIONING state indicates the node pool is being
created.", | |
2265 "The RUNNING state indicates the node pool has been crea
ted\nand is fully usable.", | |
2266 "The RUNNING_WITH_ERROR state indicates the node pool ha
s been created\nand is partially usable. Some error state has occurred and some\
nfunctionality may be impaired. Customer may need to reissue a request\nor trigg
er a new update.", | |
2267 "The RECONCILING state indicates that some work is activ
ely being done on\nthe node pool, such as upgrading node software. Details can\n
be found in the `statusMessage` field.", | |
2268 "The STOPPING state indicates the node pool is being del
eted.", | |
2269 "The ERROR state indicates the node pool may be unusable
. Details\ncan be found in the `statusMessage` field." | |
2270 ], | |
2271 "type": "string" | |
2272 }, | |
2273 "config": { | |
2274 "$ref": "NodeConfig", | |
2275 "description": "The node configuration of the pool." | |
2276 }, | |
2277 "statusMessage": { | |
2278 "description": "[Output only] Additional information about t
he current status of this\nnode pool instance, if available.", | |
2279 "type": "string" | |
2280 }, | |
2281 "name": { | |
2282 "description": "The name of the node pool.", | |
2283 "type": "string" | |
2284 }, | |
2285 "autoscaling": { | |
2286 "$ref": "NodePoolAutoscaling", | |
2287 "description": "Autoscaler configuration for this NodePool.
Autoscaler is enabled\nonly if a valid configuration is present." | |
2288 }, | |
2289 "management": { | |
2290 "$ref": "NodeManagement", | |
2291 "description": "NodeManagement configuration for this NodePo
ol." | |
2292 }, | |
2293 "initialNodeCount": { | |
2294 "description": "The initial node count for the pool. You mus
t ensure that your\nCompute Engine <a href=\"/compute/docs/resource-quotas\">res
ource quota</a>\nis sufficient for this number of instances. You must also have
available\nfirewall and routes quota.", | |
2295 "format": "int32", | |
2296 "type": "integer" | |
2297 }, | |
2298 "selfLink": { | |
2299 "description": "[Output only] Server-defined URL for the res
ource.", | |
2300 "type": "string" | |
2301 }, | |
2302 "instanceGroupUrls": { | |
2303 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\nnode pool.", | |
2304 "items": { | |
2305 "type": "string" | |
2306 }, | |
2307 "type": "array" | |
2308 }, | |
2309 "version": { | |
2310 "description": "[Output only] The version of the Kubernetes
of this node.", | |
2311 "type": "string" | |
2312 } | |
2313 }, | |
2314 "type": "object" | |
2315 }, | |
2316 "NodeManagement": { | |
2317 "description": "NodeManagement defines the set of node management se
rvices turned on for the\nnode pool.", | |
2318 "id": "NodeManagement", | |
2319 "properties": { | |
2320 "autoRepair": { | |
2321 "description": "A flag that specifies whether the node auto-
repair is enabled for the node\npool. If enabled, the nodes in this node pool wi
ll be monitored and, if\nthey fail health checks too many times, an automatic re
pair action will be\ntriggered.", | |
2322 "type": "boolean" | |
2323 }, | |
2324 "autoUpgrade": { | |
2325 "description": "A flag that specifies whether node auto-upgr
ade is enabled for the node\npool. If enabled, node auto-upgrade helps keep the
nodes in your node pool\nup to date with the latest release version of Kubernete
s.", | |
2326 "type": "boolean" | |
2327 }, | |
2328 "upgradeOptions": { | |
2329 "$ref": "AutoUpgradeOptions", | |
2330 "description": "Specifies the Auto Upgrade knobs for the nod
e pool." | |
2331 } | |
2332 }, | |
2333 "type": "object" | |
2334 } | 2362 } |
2335 }, | 2363 }, |
2336 "servicePath": "", | 2364 "servicePath": "", |
2337 "title": "Google Container Engine API", | 2365 "title": "Google Container Engine API", |
2338 "version": "v1" | 2366 "version": "v1" |
2339 } | 2367 } |
OLD | NEW |