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 "description": "The Google Container Engine API is used for building and man
aging container based applications, powered by the open source Kubernetes techno
logy.", | 14 "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 "discoveryVersion": "v1", | 15 "discoveryVersion": "v1", |
16 "documentationLink": "https://cloud.google.com/container-engine/", | 16 "documentationLink": "https://cloud.google.com/container-engine/", |
17 "icons": { | 17 "icons": { |
18 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 18 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
19 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 19 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
20 }, | 20 }, |
21 "id": "container:v1", | 21 "id": "container:v1", |
22 "kind": "discovery#restDescription", | 22 "kind": "discovery#restDescription", |
23 "name": "container", | 23 "name": "container", |
24 "ownerDomain": "google.com", | 24 "ownerDomain": "google.com", |
25 "ownerName": "Google", | 25 "ownerName": "Google", |
26 "parameters": { | 26 "parameters": { |
27 "upload_protocol": { | 27 "fields": { |
28 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 28 "description": "Selector specifying which fields to include in a par
tial response.", |
29 "location": "query", | 29 "location": "query", |
30 "type": "string" | 30 "type": "string" |
31 }, | 31 }, |
32 "prettyPrint": { | |
33 "default": "true", | |
34 "description": "Returns response with indentations and line breaks."
, | |
35 "location": "query", | |
36 "type": "boolean" | |
37 }, | |
38 "uploadType": { | 32 "uploadType": { |
39 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 33 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
40 "location": "query", | 34 "location": "query", |
41 "type": "string" | 35 "type": "string" |
42 }, | 36 }, |
43 "fields": { | |
44 "description": "Selector specifying which fields to include in a par
tial response.", | |
45 "location": "query", | |
46 "type": "string" | |
47 }, | |
48 "callback": { | 37 "callback": { |
49 "description": "JSONP", | 38 "description": "JSONP", |
50 "location": "query", | 39 "location": "query", |
51 "type": "string" | 40 "type": "string" |
52 }, | 41 }, |
53 "$.xgafv": { | 42 "$.xgafv": { |
54 "description": "V1 error format.", | 43 "description": "V1 error format.", |
55 "enum": [ | 44 "enum": [ |
56 "1", | 45 "1", |
57 "2" | 46 "2" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 }, | 91 }, |
103 "oauth_token": { | 92 "oauth_token": { |
104 "description": "OAuth 2.0 token for the current user.", | 93 "description": "OAuth 2.0 token for the current user.", |
105 "location": "query", | 94 "location": "query", |
106 "type": "string" | 95 "type": "string" |
107 }, | 96 }, |
108 "bearer_token": { | 97 "bearer_token": { |
109 "description": "OAuth bearer token.", | 98 "description": "OAuth bearer token.", |
110 "location": "query", | 99 "location": "query", |
111 "type": "string" | 100 "type": "string" |
| 101 }, |
| 102 "upload_protocol": { |
| 103 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 104 "location": "query", |
| 105 "type": "string" |
| 106 }, |
| 107 "prettyPrint": { |
| 108 "default": "true", |
| 109 "description": "Returns response with indentations and line breaks."
, |
| 110 "location": "query", |
| 111 "type": "boolean" |
112 } | 112 } |
113 }, | 113 }, |
114 "protocol": "rest", | 114 "protocol": "rest", |
115 "resources": { | 115 "resources": { |
116 "projects": { | 116 "projects": { |
117 "resources": { | 117 "resources": { |
118 "zones": { | 118 "zones": { |
119 "methods": { | 119 "methods": { |
120 "getServerconfig": { | 120 "getServerconfig": { |
121 "description": "Returns configuration info about the
Container Engine service.", | 121 "description": "Returns configuration info about the
Container Engine service.", |
(...skipping 22 matching lines...) Expand all Loading... |
144 "$ref": "ServerConfig" | 144 "$ref": "ServerConfig" |
145 }, | 145 }, |
146 "scopes": [ | 146 "scopes": [ |
147 "https://www.googleapis.com/auth/cloud-platform" | 147 "https://www.googleapis.com/auth/cloud-platform" |
148 ] | 148 ] |
149 } | 149 } |
150 }, | 150 }, |
151 "resources": { | 151 "resources": { |
152 "clusters": { | 152 "clusters": { |
153 "methods": { | 153 "methods": { |
| 154 "locations": { |
| 155 "description": "Sets the locations of a spec
ific cluster.", |
| 156 "httpMethod": "POST", |
| 157 "id": "container.projects.zones.clusters.loc
ations", |
| 158 "parameterOrder": [ |
| 159 "projectId", |
| 160 "zone", |
| 161 "clusterId" |
| 162 ], |
| 163 "parameters": { |
| 164 "projectId": { |
| 165 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 166 "location": "path", |
| 167 "required": true, |
| 168 "type": "string" |
| 169 }, |
| 170 "zone": { |
| 171 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 172 "location": "path", |
| 173 "required": true, |
| 174 "type": "string" |
| 175 }, |
| 176 "clusterId": { |
| 177 "description": "The name of the clus
ter to upgrade.", |
| 178 "location": "path", |
| 179 "required": true, |
| 180 "type": "string" |
| 181 } |
| 182 }, |
| 183 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/locations", |
| 184 "request": { |
| 185 "$ref": "SetLocationsRequest" |
| 186 }, |
| 187 "response": { |
| 188 "$ref": "Operation" |
| 189 }, |
| 190 "scopes": [ |
| 191 "https://www.googleapis.com/auth/cloud-p
latform" |
| 192 ] |
| 193 }, |
| 194 "update": { |
| 195 "description": "Updates the settings of a sp
ecific cluster.", |
| 196 "httpMethod": "PUT", |
| 197 "id": "container.projects.zones.clusters.upd
ate", |
| 198 "parameterOrder": [ |
| 199 "projectId", |
| 200 "zone", |
| 201 "clusterId" |
| 202 ], |
| 203 "parameters": { |
| 204 "zone": { |
| 205 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 206 "location": "path", |
| 207 "required": true, |
| 208 "type": "string" |
| 209 }, |
| 210 "clusterId": { |
| 211 "description": "The name of the clus
ter to upgrade.", |
| 212 "location": "path", |
| 213 "required": true, |
| 214 "type": "string" |
| 215 }, |
| 216 "projectId": { |
| 217 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 218 "location": "path", |
| 219 "required": true, |
| 220 "type": "string" |
| 221 } |
| 222 }, |
| 223 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", |
| 224 "request": { |
| 225 "$ref": "UpdateClusterRequest" |
| 226 }, |
| 227 "response": { |
| 228 "$ref": "Operation" |
| 229 }, |
| 230 "scopes": [ |
| 231 "https://www.googleapis.com/auth/cloud-p
latform" |
| 232 ] |
| 233 }, |
| 234 "monitoring": { |
| 235 "description": "Sets the monitoring service
of a specific cluster.", |
| 236 "httpMethod": "POST", |
| 237 "id": "container.projects.zones.clusters.mon
itoring", |
| 238 "parameterOrder": [ |
| 239 "projectId", |
| 240 "zone", |
| 241 "clusterId" |
| 242 ], |
| 243 "parameters": { |
| 244 "projectId": { |
| 245 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 246 "location": "path", |
| 247 "required": true, |
| 248 "type": "string" |
| 249 }, |
| 250 "zone": { |
| 251 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 252 "location": "path", |
| 253 "required": true, |
| 254 "type": "string" |
| 255 }, |
| 256 "clusterId": { |
| 257 "description": "The name of the clus
ter to upgrade.", |
| 258 "location": "path", |
| 259 "required": true, |
| 260 "type": "string" |
| 261 } |
| 262 }, |
| 263 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/monitoring", |
| 264 "request": { |
| 265 "$ref": "SetMonitoringServiceRequest" |
| 266 }, |
| 267 "response": { |
| 268 "$ref": "Operation" |
| 269 }, |
| 270 "scopes": [ |
| 271 "https://www.googleapis.com/auth/cloud-p
latform" |
| 272 ] |
| 273 }, |
| 274 "master": { |
| 275 "description": "Updates the master of a spec
ific cluster.", |
| 276 "httpMethod": "POST", |
| 277 "id": "container.projects.zones.clusters.mas
ter", |
| 278 "parameterOrder": [ |
| 279 "projectId", |
| 280 "zone", |
| 281 "clusterId" |
| 282 ], |
| 283 "parameters": { |
| 284 "projectId": { |
| 285 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 286 "location": "path", |
| 287 "required": true, |
| 288 "type": "string" |
| 289 }, |
| 290 "zone": { |
| 291 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 292 "location": "path", |
| 293 "required": true, |
| 294 "type": "string" |
| 295 }, |
| 296 "clusterId": { |
| 297 "description": "The name of the clus
ter to upgrade.", |
| 298 "location": "path", |
| 299 "required": true, |
| 300 "type": "string" |
| 301 } |
| 302 }, |
| 303 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/master", |
| 304 "request": { |
| 305 "$ref": "UpdateMasterRequest" |
| 306 }, |
| 307 "response": { |
| 308 "$ref": "Operation" |
| 309 }, |
| 310 "scopes": [ |
| 311 "https://www.googleapis.com/auth/cloud-p
latform" |
| 312 ] |
| 313 }, |
154 "setMasterAuth": { | 314 "setMasterAuth": { |
155 "description": "Used to set master auth mate
rials. Currently supports :-\nChanging the admin password of a specific cluster.
\nThis can be either via password generation or explicitly set the password.", | 315 "description": "Used to set master auth mate
rials. Currently supports :-\nChanging the admin password of a specific cluster.
\nThis can be either via password generation or explicitly set the password.", |
156 "httpMethod": "POST", | 316 "httpMethod": "POST", |
157 "id": "container.projects.zones.clusters.set
MasterAuth", | 317 "id": "container.projects.zones.clusters.set
MasterAuth", |
158 "parameterOrder": [ | 318 "parameterOrder": [ |
159 "projectId", | 319 "projectId", |
160 "zone", | 320 "zone", |
161 "clusterId" | 321 "clusterId" |
162 ], | 322 ], |
163 "parameters": { | 323 "parameters": { |
(...skipping 30 matching lines...) Expand all Loading... |
194 "logging": { | 354 "logging": { |
195 "description": "Sets the logging service of
a specific cluster.", | 355 "description": "Sets the logging service of
a specific cluster.", |
196 "httpMethod": "POST", | 356 "httpMethod": "POST", |
197 "id": "container.projects.zones.clusters.log
ging", | 357 "id": "container.projects.zones.clusters.log
ging", |
198 "parameterOrder": [ | 358 "parameterOrder": [ |
199 "projectId", | 359 "projectId", |
200 "zone", | 360 "zone", |
201 "clusterId" | 361 "clusterId" |
202 ], | 362 ], |
203 "parameters": { | 363 "parameters": { |
204 "projectId": { | |
205 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
206 "location": "path", | |
207 "required": true, | |
208 "type": "string" | |
209 }, | |
210 "zone": { | 364 "zone": { |
211 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 365 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
212 "location": "path", | 366 "location": "path", |
213 "required": true, | 367 "required": true, |
214 "type": "string" | 368 "type": "string" |
215 }, | 369 }, |
216 "clusterId": { | 370 "clusterId": { |
217 "description": "The name of the clus
ter to upgrade.", | 371 "description": "The name of the clus
ter to upgrade.", |
218 "location": "path", | 372 "location": "path", |
219 "required": true, | 373 "required": true, |
220 "type": "string" | 374 "type": "string" |
| 375 }, |
| 376 "projectId": { |
| 377 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 378 "location": "path", |
| 379 "required": true, |
| 380 "type": "string" |
221 } | 381 } |
222 }, | 382 }, |
223 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/logging", | 383 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/logging", |
224 "request": { | 384 "request": { |
225 "$ref": "SetLoggingServiceRequest" | 385 "$ref": "SetLoggingServiceRequest" |
226 }, | 386 }, |
227 "response": { | 387 "response": { |
228 "$ref": "Operation" | 388 "$ref": "Operation" |
229 }, | 389 }, |
230 "scopes": [ | 390 "scopes": [ |
231 "https://www.googleapis.com/auth/cloud-p
latform" | 391 "https://www.googleapis.com/auth/cloud-p
latform" |
232 ] | 392 ] |
233 }, | 393 }, |
234 "list": { | 394 "list": { |
235 "description": "Lists all clusters owned by
a project in either the specified zone or all\nzones.", | 395 "description": "Lists all clusters owned by
a project in either the specified zone or all\nzones.", |
236 "httpMethod": "GET", | 396 "httpMethod": "GET", |
237 "id": "container.projects.zones.clusters.lis
t", | 397 "id": "container.projects.zones.clusters.lis
t", |
238 "parameterOrder": [ | 398 "parameterOrder": [ |
239 "projectId", | 399 "projectId", |
240 "zone" | 400 "zone" |
241 ], | 401 ], |
242 "parameters": { | 402 "parameters": { |
| 403 "projectId": { |
| 404 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 405 "location": "path", |
| 406 "required": true, |
| 407 "type": "string" |
| 408 }, |
243 "zone": { | 409 "zone": { |
244 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides, or \"-\" for all zones.", | 410 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides, or \"-\" for all zones.", |
245 "location": "path", | 411 "location": "path", |
246 "required": true, | 412 "required": true, |
247 "type": "string" | 413 "type": "string" |
248 }, | |
249 "projectId": { | |
250 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
251 "location": "path", | |
252 "required": true, | |
253 "type": "string" | |
254 } | 414 } |
255 }, | 415 }, |
256 "path": "v1/projects/{projectId}/zones/{zone
}/clusters", | 416 "path": "v1/projects/{projectId}/zones/{zone
}/clusters", |
257 "response": { | 417 "response": { |
258 "$ref": "ListClustersResponse" | 418 "$ref": "ListClustersResponse" |
259 }, | 419 }, |
260 "scopes": [ | 420 "scopes": [ |
261 "https://www.googleapis.com/auth/cloud-p
latform" | 421 "https://www.googleapis.com/auth/cloud-p
latform" |
262 ] | 422 ] |
263 }, | 423 }, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
303 }, | 463 }, |
304 "create": { | 464 "create": { |
305 "description": "Creates a cluster, consistin
g of the specified number and type of Google\nCompute Engine instances.\n\nBy de
fault, the cluster is created in the project's\n[default network](/compute/docs/
networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. Afte
r cluster creation,\nthe cluster creates routes for each node to allow the conta
iners\non that node to communicate with all other instances in the\ncluster.\n\n
Finally, an entry is added to the project's global metadata indicating\nwhich CI
DR range is being used by the cluster.", | 465 "description": "Creates a cluster, consistin
g of the specified number and type of Google\nCompute Engine instances.\n\nBy de
fault, the cluster is created in the project's\n[default network](/compute/docs/
networks-and-firewalls#networks).\n\nOne firewall is added for the cluster. Afte
r cluster creation,\nthe cluster creates routes for each node to allow the conta
iners\non that node to communicate with all other instances in the\ncluster.\n\n
Finally, an entry is added to the project's global metadata indicating\nwhich CI
DR range is being used by the cluster.", |
306 "httpMethod": "POST", | 466 "httpMethod": "POST", |
307 "id": "container.projects.zones.clusters.cre
ate", | 467 "id": "container.projects.zones.clusters.cre
ate", |
308 "parameterOrder": [ | 468 "parameterOrder": [ |
309 "projectId", | 469 "projectId", |
310 "zone" | 470 "zone" |
311 ], | 471 ], |
312 "parameters": { | 472 "parameters": { |
| 473 "zone": { |
| 474 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 475 "location": "path", |
| 476 "required": true, |
| 477 "type": "string" |
| 478 }, |
313 "projectId": { | 479 "projectId": { |
314 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 480 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
315 "location": "path", | 481 "location": "path", |
316 "required": true, | 482 "required": true, |
317 "type": "string" | 483 "type": "string" |
318 }, | |
319 "zone": { | |
320 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | |
321 "location": "path", | |
322 "required": true, | |
323 "type": "string" | |
324 } | 484 } |
325 }, | 485 }, |
326 "path": "v1/projects/{projectId}/zones/{zone
}/clusters", | 486 "path": "v1/projects/{projectId}/zones/{zone
}/clusters", |
327 "request": { | 487 "request": { |
328 "$ref": "CreateClusterRequest" | 488 "$ref": "CreateClusterRequest" |
329 }, | 489 }, |
330 "response": { | 490 "response": { |
331 "$ref": "Operation" | 491 "$ref": "Operation" |
332 }, | 492 }, |
333 "scopes": [ | 493 "scopes": [ |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
404 } | 564 } |
405 }, | 565 }, |
406 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", | 566 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", |
407 "response": { | 567 "response": { |
408 "$ref": "Cluster" | 568 "$ref": "Cluster" |
409 }, | 569 }, |
410 "scopes": [ | 570 "scopes": [ |
411 "https://www.googleapis.com/auth/cloud-p
latform" | 571 "https://www.googleapis.com/auth/cloud-p
latform" |
412 ] | 572 ] |
413 }, | 573 }, |
414 "legacyAbac": { | 574 "setNetworkPolicy": { |
415 "description": "Enables or disables the ABAC
authorization mechanism on a cluster.", | 575 "description": "Enables/Disables Network Pol
icy for a cluster.", |
416 "httpMethod": "POST", | 576 "httpMethod": "POST", |
417 "id": "container.projects.zones.clusters.leg
acyAbac", | 577 "id": "container.projects.zones.clusters.set
NetworkPolicy", |
418 "parameterOrder": [ | 578 "parameterOrder": [ |
419 "projectId", | 579 "projectId", |
420 "zone", | 580 "zone", |
421 "clusterId" | 581 "clusterId" |
422 ], | 582 ], |
423 "parameters": { | 583 "parameters": { |
424 "projectId": { | 584 "projectId": { |
425 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 585 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", |
426 "location": "path", | 586 "location": "path", |
427 "required": true, | 587 "required": true, |
428 "type": "string" | 588 "type": "string" |
429 }, | 589 }, |
430 "zone": { | 590 "zone": { |
431 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 591 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
432 "location": "path", | 592 "location": "path", |
433 "required": true, | 593 "required": true, |
434 "type": "string" | 594 "type": "string" |
435 }, | 595 }, |
436 "clusterId": { | 596 "clusterId": { |
437 "description": "The name of the clus
ter to update.", | 597 "description": "The name of the clus
ter.", |
438 "location": "path", | 598 "location": "path", |
439 "required": true, | 599 "required": true, |
440 "type": "string" | 600 "type": "string" |
441 } | 601 } |
442 }, | 602 }, |
443 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/legacyAbac", | 603 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:setNetworkPolicy", |
444 "request": { | 604 "request": { |
445 "$ref": "SetLegacyAbacRequest" | 605 "$ref": "SetNetworkPolicyRequest" |
446 }, | 606 }, |
447 "response": { | 607 "response": { |
448 "$ref": "Operation" | 608 "$ref": "Operation" |
449 }, | 609 }, |
450 "scopes": [ | 610 "scopes": [ |
451 "https://www.googleapis.com/auth/cloud-p
latform" | 611 "https://www.googleapis.com/auth/cloud-p
latform" |
452 ] | 612 ] |
453 }, | 613 }, |
454 "setNetworkPolicy": { | 614 "legacyAbac": { |
455 "description": "Enables/Disables Network Pol
icy for a cluster.", | 615 "description": "Enables or disables the ABAC
authorization mechanism on a cluster.", |
456 "httpMethod": "POST", | 616 "httpMethod": "POST", |
457 "id": "container.projects.zones.clusters.set
NetworkPolicy", | 617 "id": "container.projects.zones.clusters.leg
acyAbac", |
458 "parameterOrder": [ | 618 "parameterOrder": [ |
459 "projectId", | 619 "projectId", |
460 "zone", | 620 "zone", |
461 "clusterId" | 621 "clusterId" |
462 ], | 622 ], |
463 "parameters": { | 623 "parameters": { |
| 624 "projectId": { |
| 625 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 626 "location": "path", |
| 627 "required": true, |
| 628 "type": "string" |
| 629 }, |
464 "zone": { | 630 "zone": { |
465 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 631 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
466 "location": "path", | 632 "location": "path", |
467 "required": true, | 633 "required": true, |
468 "type": "string" | 634 "type": "string" |
469 }, | 635 }, |
470 "clusterId": { | 636 "clusterId": { |
471 "description": "The name of the clus
ter.", | 637 "description": "The name of the clus
ter to update.", |
472 "location": "path", | |
473 "required": true, | |
474 "type": "string" | |
475 }, | |
476 "projectId": { | |
477 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", | |
478 "location": "path", | 638 "location": "path", |
479 "required": true, | 639 "required": true, |
480 "type": "string" | 640 "type": "string" |
481 } | 641 } |
482 }, | 642 }, |
483 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:setNetworkPolicy", | 643 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/legacyAbac", |
484 "request": { | 644 "request": { |
485 "$ref": "SetNetworkPolicyRequest" | 645 "$ref": "SetLegacyAbacRequest" |
486 }, | 646 }, |
487 "response": { | 647 "response": { |
488 "$ref": "Operation" | 648 "$ref": "Operation" |
489 }, | 649 }, |
490 "scopes": [ | 650 "scopes": [ |
491 "https://www.googleapis.com/auth/cloud-p
latform" | 651 "https://www.googleapis.com/auth/cloud-p
latform" |
492 ] | 652 ] |
493 }, | 653 }, |
494 "startIpRotation": { | 654 "startIpRotation": { |
495 "description": "Start master IP rotation.", | 655 "description": "Start master IP rotation.", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 "addons": { | 694 "addons": { |
535 "description": "Sets the addons of a specifi
c cluster.", | 695 "description": "Sets the addons of a specifi
c cluster.", |
536 "httpMethod": "POST", | 696 "httpMethod": "POST", |
537 "id": "container.projects.zones.clusters.add
ons", | 697 "id": "container.projects.zones.clusters.add
ons", |
538 "parameterOrder": [ | 698 "parameterOrder": [ |
539 "projectId", | 699 "projectId", |
540 "zone", | 700 "zone", |
541 "clusterId" | 701 "clusterId" |
542 ], | 702 ], |
543 "parameters": { | 703 "parameters": { |
| 704 "projectId": { |
| 705 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 706 "location": "path", |
| 707 "required": true, |
| 708 "type": "string" |
| 709 }, |
544 "zone": { | 710 "zone": { |
545 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 711 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
546 "location": "path", | 712 "location": "path", |
547 "required": true, | 713 "required": true, |
548 "type": "string" | 714 "type": "string" |
549 }, | 715 }, |
550 "clusterId": { | 716 "clusterId": { |
551 "description": "The name of the clus
ter to upgrade.", | 717 "description": "The name of the clus
ter to upgrade.", |
552 "location": "path", | 718 "location": "path", |
553 "required": true, | 719 "required": true, |
554 "type": "string" | 720 "type": "string" |
555 }, | |
556 "projectId": { | |
557 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
558 "location": "path", | |
559 "required": true, | |
560 "type": "string" | |
561 } | 721 } |
562 }, | 722 }, |
563 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/addons", | 723 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/addons", |
564 "request": { | 724 "request": { |
565 "$ref": "SetAddonsConfigRequest" | 725 "$ref": "SetAddonsConfigRequest" |
566 }, | 726 }, |
567 "response": { | 727 "response": { |
568 "$ref": "Operation" | 728 "$ref": "Operation" |
569 }, | 729 }, |
570 "scopes": [ | 730 "scopes": [ |
571 "https://www.googleapis.com/auth/cloud-p
latform" | 731 "https://www.googleapis.com/auth/cloud-p
latform" |
572 ] | 732 ] |
573 }, | 733 }, |
574 "delete": { | 734 "delete": { |
575 "description": "Deletes the cluster, includi
ng the Kubernetes endpoint and all worker\nnodes.\n\nFirewalls and routes that w
ere configured during cluster creation\nare also deleted.\n\nOther Google Comput
e Engine resources that might be in use by the cluster\n(e.g. load balancer reso
urces) will not be deleted if they weren't present\nat the initial create time."
, | 735 "description": "Deletes the cluster, includi
ng the Kubernetes endpoint and all worker\nnodes.\n\nFirewalls and routes that w
ere configured during cluster creation\nare also deleted.\n\nOther Google Comput
e Engine resources that might be in use by the cluster\n(e.g. load balancer reso
urces) will not be deleted if they weren't present\nat the initial create time."
, |
576 "httpMethod": "DELETE", | 736 "httpMethod": "DELETE", |
577 "id": "container.projects.zones.clusters.del
ete", | 737 "id": "container.projects.zones.clusters.del
ete", |
578 "parameterOrder": [ | 738 "parameterOrder": [ |
579 "projectId", | 739 "projectId", |
580 "zone", | 740 "zone", |
581 "clusterId" | 741 "clusterId" |
582 ], | 742 ], |
583 "parameters": { | 743 "parameters": { |
584 "projectId": { | |
585 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
586 "location": "path", | |
587 "required": true, | |
588 "type": "string" | |
589 }, | |
590 "zone": { | 744 "zone": { |
591 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 745 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
592 "location": "path", | 746 "location": "path", |
593 "required": true, | 747 "required": true, |
594 "type": "string" | 748 "type": "string" |
595 }, | 749 }, |
596 "clusterId": { | 750 "clusterId": { |
597 "description": "The name of the clus
ter to delete.", | 751 "description": "The name of the clus
ter to delete.", |
598 "location": "path", | 752 "location": "path", |
599 "required": true, | 753 "required": true, |
600 "type": "string" | 754 "type": "string" |
601 } | |
602 }, | |
603 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", | |
604 "response": { | |
605 "$ref": "Operation" | |
606 }, | |
607 "scopes": [ | |
608 "https://www.googleapis.com/auth/cloud-p
latform" | |
609 ] | |
610 }, | |
611 "locations": { | |
612 "description": "Sets the locations of a spec
ific cluster.", | |
613 "httpMethod": "POST", | |
614 "id": "container.projects.zones.clusters.loc
ations", | |
615 "parameterOrder": [ | |
616 "projectId", | |
617 "zone", | |
618 "clusterId" | |
619 ], | |
620 "parameters": { | |
621 "zone": { | |
622 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | |
623 "location": "path", | |
624 "required": true, | |
625 "type": "string" | |
626 }, | |
627 "clusterId": { | |
628 "description": "The name of the clus
ter to upgrade.", | |
629 "location": "path", | |
630 "required": true, | |
631 "type": "string" | |
632 }, | 755 }, |
633 "projectId": { | 756 "projectId": { |
634 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 757 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
635 "location": "path", | |
636 "required": true, | |
637 "type": "string" | |
638 } | |
639 }, | |
640 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/locations", | |
641 "request": { | |
642 "$ref": "SetLocationsRequest" | |
643 }, | |
644 "response": { | |
645 "$ref": "Operation" | |
646 }, | |
647 "scopes": [ | |
648 "https://www.googleapis.com/auth/cloud-p
latform" | |
649 ] | |
650 }, | |
651 "update": { | |
652 "description": "Updates the settings of a sp
ecific cluster.", | |
653 "httpMethod": "PUT", | |
654 "id": "container.projects.zones.clusters.upd
ate", | |
655 "parameterOrder": [ | |
656 "projectId", | |
657 "zone", | |
658 "clusterId" | |
659 ], | |
660 "parameters": { | |
661 "zone": { | |
662 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | |
663 "location": "path", | |
664 "required": true, | |
665 "type": "string" | |
666 }, | |
667 "clusterId": { | |
668 "description": "The name of the clus
ter to upgrade.", | |
669 "location": "path", | |
670 "required": true, | |
671 "type": "string" | |
672 }, | |
673 "projectId": { | |
674 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
675 "location": "path", | 758 "location": "path", |
676 "required": true, | 759 "required": true, |
677 "type": "string" | 760 "type": "string" |
678 } | 761 } |
679 }, | 762 }, |
680 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", | 763 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", |
681 "request": { | |
682 "$ref": "UpdateClusterRequest" | |
683 }, | |
684 "response": { | 764 "response": { |
685 "$ref": "Operation" | 765 "$ref": "Operation" |
686 }, | 766 }, |
687 "scopes": [ | |
688 "https://www.googleapis.com/auth/cloud-p
latform" | |
689 ] | |
690 }, | |
691 "monitoring": { | |
692 "description": "Sets the monitoring service
of a specific cluster.", | |
693 "httpMethod": "POST", | |
694 "id": "container.projects.zones.clusters.mon
itoring", | |
695 "parameterOrder": [ | |
696 "projectId", | |
697 "zone", | |
698 "clusterId" | |
699 ], | |
700 "parameters": { | |
701 "zone": { | |
702 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | |
703 "location": "path", | |
704 "required": true, | |
705 "type": "string" | |
706 }, | |
707 "clusterId": { | |
708 "description": "The name of the clus
ter to upgrade.", | |
709 "location": "path", | |
710 "required": true, | |
711 "type": "string" | |
712 }, | |
713 "projectId": { | |
714 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
715 "location": "path", | |
716 "required": true, | |
717 "type": "string" | |
718 } | |
719 }, | |
720 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/monitoring", | |
721 "request": { | |
722 "$ref": "SetMonitoringServiceRequest" | |
723 }, | |
724 "response": { | |
725 "$ref": "Operation" | |
726 }, | |
727 "scopes": [ | |
728 "https://www.googleapis.com/auth/cloud-p
latform" | |
729 ] | |
730 }, | |
731 "master": { | |
732 "description": "Updates the master of a spec
ific cluster.", | |
733 "httpMethod": "POST", | |
734 "id": "container.projects.zones.clusters.mas
ter", | |
735 "parameterOrder": [ | |
736 "projectId", | |
737 "zone", | |
738 "clusterId" | |
739 ], | |
740 "parameters": { | |
741 "zone": { | |
742 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | |
743 "location": "path", | |
744 "required": true, | |
745 "type": "string" | |
746 }, | |
747 "clusterId": { | |
748 "description": "The name of the clus
ter to upgrade.", | |
749 "location": "path", | |
750 "required": true, | |
751 "type": "string" | |
752 }, | |
753 "projectId": { | |
754 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
755 "location": "path", | |
756 "required": true, | |
757 "type": "string" | |
758 } | |
759 }, | |
760 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/master", | |
761 "request": { | |
762 "$ref": "UpdateMasterRequest" | |
763 }, | |
764 "response": { | |
765 "$ref": "Operation" | |
766 }, | |
767 "scopes": [ | 767 "scopes": [ |
768 "https://www.googleapis.com/auth/cloud-p
latform" | 768 "https://www.googleapis.com/auth/cloud-p
latform" |
769 ] | 769 ] |
770 } | 770 } |
771 }, | 771 }, |
772 "resources": { | 772 "resources": { |
773 "nodePools": { | 773 "nodePools": { |
774 "methods": { | 774 "methods": { |
775 "get": { | 775 "get": { |
776 "description": "Retrieves the node p
ool requested.", | 776 "description": "Retrieves the node p
ool requested.", |
777 "httpMethod": "GET", | 777 "httpMethod": "GET", |
778 "id": "container.projects.zones.clus
ters.nodePools.get", | 778 "id": "container.projects.zones.clus
ters.nodePools.get", |
779 "parameterOrder": [ | 779 "parameterOrder": [ |
780 "projectId", | 780 "projectId", |
781 "zone", | 781 "zone", |
782 "clusterId", | 782 "clusterId", |
783 "nodePoolId" | 783 "nodePoolId" |
784 ], | 784 ], |
785 "parameters": { | 785 "parameters": { |
786 "projectId": { | |
787 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | |
788 "location": "path", | |
789 "required": true, | |
790 "type": "string" | |
791 }, | |
792 "zone": { | 786 "zone": { |
793 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 787 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
794 "location": "path", | 788 "location": "path", |
795 "required": true, | 789 "required": true, |
796 "type": "string" | 790 "type": "string" |
797 }, | 791 }, |
798 "clusterId": { | 792 "clusterId": { |
799 "description": "The name of
the cluster.", | 793 "description": "The name of
the cluster.", |
800 "location": "path", | 794 "location": "path", |
801 "required": true, | 795 "required": true, |
802 "type": "string" | 796 "type": "string" |
803 }, | 797 }, |
804 "nodePoolId": { | 798 "nodePoolId": { |
805 "description": "The name of
the node pool.", | 799 "description": "The name of
the node pool.", |
806 "location": "path", | 800 "location": "path", |
807 "required": true, | 801 "required": true, |
808 "type": "string" | 802 "type": "string" |
| 803 }, |
| 804 "projectId": { |
| 805 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
| 806 "location": "path", |
| 807 "required": true, |
| 808 "type": "string" |
809 } | 809 } |
810 }, | 810 }, |
811 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", | 811 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
812 "response": { | 812 "response": { |
813 "$ref": "NodePool" | 813 "$ref": "NodePool" |
814 }, | 814 }, |
815 "scopes": [ | 815 "scopes": [ |
816 "https://www.googleapis.com/auth
/cloud-platform" | 816 "https://www.googleapis.com/auth
/cloud-platform" |
817 ] | 817 ] |
818 }, | 818 }, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
867 "description": "Sets the size of a s
pecific node pool.", | 867 "description": "Sets the size of a s
pecific node pool.", |
868 "httpMethod": "POST", | 868 "httpMethod": "POST", |
869 "id": "container.projects.zones.clus
ters.nodePools.setSize", | 869 "id": "container.projects.zones.clus
ters.nodePools.setSize", |
870 "parameterOrder": [ | 870 "parameterOrder": [ |
871 "projectId", | 871 "projectId", |
872 "zone", | 872 "zone", |
873 "clusterId", | 873 "clusterId", |
874 "nodePoolId" | 874 "nodePoolId" |
875 ], | 875 ], |
876 "parameters": { | 876 "parameters": { |
877 "projectId": { | |
878 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | |
879 "location": "path", | |
880 "required": true, | |
881 "type": "string" | |
882 }, | |
883 "zone": { | 877 "zone": { |
884 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 878 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
885 "location": "path", | 879 "location": "path", |
886 "required": true, | 880 "required": true, |
887 "type": "string" | 881 "type": "string" |
888 }, | 882 }, |
889 "clusterId": { | 883 "clusterId": { |
890 "description": "The name of
the cluster to update.", | 884 "description": "The name of
the cluster to update.", |
891 "location": "path", | 885 "location": "path", |
892 "required": true, | 886 "required": true, |
893 "type": "string" | 887 "type": "string" |
894 }, | 888 }, |
895 "nodePoolId": { | 889 "nodePoolId": { |
896 "description": "The name of
the node pool to update.", | 890 "description": "The name of
the node pool to update.", |
897 "location": "path", | 891 "location": "path", |
898 "required": true, | 892 "required": true, |
899 "type": "string" | 893 "type": "string" |
| 894 }, |
| 895 "projectId": { |
| 896 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
| 897 "location": "path", |
| 898 "required": true, |
| 899 "type": "string" |
900 } | 900 } |
901 }, | 901 }, |
902 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize", | 902 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setSize", |
903 "request": { | 903 "request": { |
904 "$ref": "SetNodePoolSizeRequest" | 904 "$ref": "SetNodePoolSizeRequest" |
905 }, | 905 }, |
906 "response": { | 906 "response": { |
907 "$ref": "Operation" | 907 "$ref": "Operation" |
908 }, | 908 }, |
909 "scopes": [ | 909 "scopes": [ |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 "list": { | 1004 "list": { |
1005 "description": "Lists the node pools
for a cluster.", | 1005 "description": "Lists the node pools
for a cluster.", |
1006 "httpMethod": "GET", | 1006 "httpMethod": "GET", |
1007 "id": "container.projects.zones.clus
ters.nodePools.list", | 1007 "id": "container.projects.zones.clus
ters.nodePools.list", |
1008 "parameterOrder": [ | 1008 "parameterOrder": [ |
1009 "projectId", | 1009 "projectId", |
1010 "zone", | 1010 "zone", |
1011 "clusterId" | 1011 "clusterId" |
1012 ], | 1012 ], |
1013 "parameters": { | 1013 "parameters": { |
| 1014 "projectId": { |
| 1015 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
| 1016 "location": "path", |
| 1017 "required": true, |
| 1018 "type": "string" |
| 1019 }, |
1014 "zone": { | 1020 "zone": { |
1015 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 1021 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1016 "location": "path", | 1022 "location": "path", |
1017 "required": true, | 1023 "required": true, |
1018 "type": "string" | 1024 "type": "string" |
1019 }, | 1025 }, |
1020 "clusterId": { | 1026 "clusterId": { |
1021 "description": "The name of
the cluster.", | 1027 "description": "The name of
the cluster.", |
1022 "location": "path", | 1028 "location": "path", |
1023 "required": true, | 1029 "required": true, |
1024 "type": "string" | 1030 "type": "string" |
1025 }, | |
1026 "projectId": { | |
1027 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | |
1028 "location": "path", | |
1029 "required": true, | |
1030 "type": "string" | |
1031 } | 1031 } |
1032 }, | 1032 }, |
1033 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", | 1033 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", |
1034 "response": { | 1034 "response": { |
1035 "$ref": "ListNodePoolsResponse" | 1035 "$ref": "ListNodePoolsResponse" |
1036 }, | 1036 }, |
1037 "scopes": [ | 1037 "scopes": [ |
1038 "https://www.googleapis.com/auth
/cloud-platform" | 1038 "https://www.googleapis.com/auth
/cloud-platform" |
1039 ] | 1039 ] |
1040 }, | 1040 }, |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1088 "create": { | 1088 "create": { |
1089 "description": "Creates a node pool
for a cluster.", | 1089 "description": "Creates a node pool
for a cluster.", |
1090 "httpMethod": "POST", | 1090 "httpMethod": "POST", |
1091 "id": "container.projects.zones.clus
ters.nodePools.create", | 1091 "id": "container.projects.zones.clus
ters.nodePools.create", |
1092 "parameterOrder": [ | 1092 "parameterOrder": [ |
1093 "projectId", | 1093 "projectId", |
1094 "zone", | 1094 "zone", |
1095 "clusterId" | 1095 "clusterId" |
1096 ], | 1096 ], |
1097 "parameters": { | 1097 "parameters": { |
| 1098 "projectId": { |
| 1099 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
| 1100 "location": "path", |
| 1101 "required": true, |
| 1102 "type": "string" |
| 1103 }, |
1098 "zone": { | 1104 "zone": { |
1099 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 1105 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1100 "location": "path", | 1106 "location": "path", |
1101 "required": true, | 1107 "required": true, |
1102 "type": "string" | 1108 "type": "string" |
1103 }, | 1109 }, |
1104 "clusterId": { | 1110 "clusterId": { |
1105 "description": "The name of
the cluster.", | 1111 "description": "The name of
the cluster.", |
1106 "location": "path", | 1112 "location": "path", |
1107 "required": true, | 1113 "required": true, |
1108 "type": "string" | 1114 "type": "string" |
1109 }, | |
1110 "projectId": { | |
1111 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | |
1112 "location": "path", | |
1113 "required": true, | |
1114 "type": "string" | |
1115 } | 1115 } |
1116 }, | 1116 }, |
1117 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", | 1117 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", |
1118 "request": { | 1118 "request": { |
1119 "$ref": "CreateNodePoolRequest" | 1119 "$ref": "CreateNodePoolRequest" |
1120 }, | 1120 }, |
1121 "response": { | 1121 "response": { |
1122 "$ref": "Operation" | 1122 "$ref": "Operation" |
1123 }, | 1123 }, |
1124 "scopes": [ | 1124 "scopes": [ |
1125 "https://www.googleapis.com/auth
/cloud-platform" | 1125 "https://www.googleapis.com/auth
/cloud-platform" |
1126 ] | 1126 ] |
1127 }, | 1127 }, |
1128 "autoscaling": { | 1128 "autoscaling": { |
1129 "description": "Sets the autoscaling
settings of a specific node pool.", | 1129 "description": "Sets the autoscaling
settings of a specific node pool.", |
1130 "httpMethod": "POST", | 1130 "httpMethod": "POST", |
1131 "id": "container.projects.zones.clus
ters.nodePools.autoscaling", | 1131 "id": "container.projects.zones.clus
ters.nodePools.autoscaling", |
1132 "parameterOrder": [ | 1132 "parameterOrder": [ |
1133 "projectId", | 1133 "projectId", |
1134 "zone", | 1134 "zone", |
1135 "clusterId", | 1135 "clusterId", |
1136 "nodePoolId" | 1136 "nodePoolId" |
1137 ], | 1137 ], |
1138 "parameters": { | 1138 "parameters": { |
1139 "projectId": { | |
1140 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | |
1141 "location": "path", | |
1142 "required": true, | |
1143 "type": "string" | |
1144 }, | |
1145 "zone": { | 1139 "zone": { |
1146 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 1140 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
1147 "location": "path", | 1141 "location": "path", |
1148 "required": true, | 1142 "required": true, |
1149 "type": "string" | 1143 "type": "string" |
1150 }, | 1144 }, |
1151 "clusterId": { | 1145 "clusterId": { |
1152 "description": "The name of
the cluster to upgrade.", | 1146 "description": "The name of
the cluster to upgrade.", |
1153 "location": "path", | 1147 "location": "path", |
1154 "required": true, | 1148 "required": true, |
1155 "type": "string" | 1149 "type": "string" |
1156 }, | 1150 }, |
1157 "nodePoolId": { | 1151 "nodePoolId": { |
1158 "description": "The name of
the node pool to upgrade.", | 1152 "description": "The name of
the node pool to upgrade.", |
1159 "location": "path", | 1153 "location": "path", |
1160 "required": true, | 1154 "required": true, |
1161 "type": "string" | 1155 "type": "string" |
| 1156 }, |
| 1157 "projectId": { |
| 1158 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
| 1159 "location": "path", |
| 1160 "required": true, |
| 1161 "type": "string" |
1162 } | 1162 } |
1163 }, | 1163 }, |
1164 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling", | 1164 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/autoscaling", |
1165 "request": { | 1165 "request": { |
1166 "$ref": "SetNodePoolAutoscalingR
equest" | 1166 "$ref": "SetNodePoolAutoscalingR
equest" |
1167 }, | 1167 }, |
1168 "response": { | 1168 "response": { |
1169 "$ref": "Operation" | 1169 "$ref": "Operation" |
1170 }, | 1170 }, |
1171 "scopes": [ | 1171 "scopes": [ |
1172 "https://www.googleapis.com/auth
/cloud-platform" | 1172 "https://www.googleapis.com/auth
/cloud-platform" |
1173 ] | 1173 ] |
1174 } | 1174 } |
1175 } | 1175 } |
1176 } | 1176 } |
1177 } | 1177 } |
1178 }, | 1178 }, |
1179 "operations": { | 1179 "operations": { |
1180 "methods": { | 1180 "methods": { |
1181 "cancel": { | 1181 "cancel": { |
1182 "description": "Cancels the specified operat
ion.", | 1182 "description": "Cancels the specified operat
ion.", |
1183 "httpMethod": "POST", | 1183 "httpMethod": "POST", |
1184 "id": "container.projects.zones.operations.c
ancel", | 1184 "id": "container.projects.zones.operations.c
ancel", |
1185 "parameterOrder": [ | 1185 "parameterOrder": [ |
1186 "projectId", | 1186 "projectId", |
1187 "zone", | 1187 "zone", |
1188 "operationId" | 1188 "operationId" |
1189 ], | 1189 ], |
1190 "parameters": { | 1190 "parameters": { |
| 1191 "zone": { |
| 1192 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the operation
resides.", |
| 1193 "location": "path", |
| 1194 "required": true, |
| 1195 "type": "string" |
| 1196 }, |
1191 "operationId": { | 1197 "operationId": { |
1192 "description": "The server-assigned
`name` of the operation.", | 1198 "description": "The server-assigned
`name` of the operation.", |
1193 "location": "path", | 1199 "location": "path", |
1194 "required": true, | 1200 "required": true, |
1195 "type": "string" | 1201 "type": "string" |
1196 }, | 1202 }, |
1197 "projectId": { | 1203 "projectId": { |
1198 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 1204 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
1199 "location": "path", | 1205 "location": "path", |
1200 "required": true, | 1206 "required": true, |
1201 "type": "string" | 1207 "type": "string" |
1202 }, | |
1203 "zone": { | |
1204 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the operation
resides.", | |
1205 "location": "path", | |
1206 "required": true, | |
1207 "type": "string" | |
1208 } | 1208 } |
1209 }, | 1209 }, |
1210 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}:cancel", | 1210 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}:cancel", |
1211 "request": { | 1211 "request": { |
1212 "$ref": "CancelOperationRequest" | 1212 "$ref": "CancelOperationRequest" |
1213 }, | 1213 }, |
1214 "response": { | 1214 "response": { |
1215 "$ref": "Empty" | 1215 "$ref": "Empty" |
1216 }, | 1216 }, |
1217 "scopes": [ | 1217 "scopes": [ |
1218 "https://www.googleapis.com/auth/cloud-p
latform" | 1218 "https://www.googleapis.com/auth/cloud-p
latform" |
1219 ] | 1219 ] |
1220 }, | 1220 }, |
1221 "get": { | 1221 "get": { |
1222 "description": "Gets the specified operation
.", | 1222 "description": "Gets the specified operation
.", |
1223 "httpMethod": "GET", | 1223 "httpMethod": "GET", |
1224 "id": "container.projects.zones.operations.g
et", | 1224 "id": "container.projects.zones.operations.g
et", |
1225 "parameterOrder": [ | 1225 "parameterOrder": [ |
1226 "projectId", | 1226 "projectId", |
1227 "zone", | 1227 "zone", |
1228 "operationId" | 1228 "operationId" |
1229 ], | 1229 ], |
1230 "parameters": { | 1230 "parameters": { |
| 1231 "zone": { |
| 1232 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 1233 "location": "path", |
| 1234 "required": true, |
| 1235 "type": "string" |
| 1236 }, |
1231 "operationId": { | 1237 "operationId": { |
1232 "description": "The server-assigned
`name` of the operation.", | 1238 "description": "The server-assigned
`name` of the operation.", |
1233 "location": "path", | 1239 "location": "path", |
1234 "required": true, | 1240 "required": true, |
1235 "type": "string" | 1241 "type": "string" |
1236 }, | 1242 }, |
1237 "projectId": { | 1243 "projectId": { |
1238 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 1244 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
1239 "location": "path", | 1245 "location": "path", |
1240 "required": true, | 1246 "required": true, |
1241 "type": "string" | 1247 "type": "string" |
1242 }, | |
1243 "zone": { | |
1244 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | |
1245 "location": "path", | |
1246 "required": true, | |
1247 "type": "string" | |
1248 } | 1248 } |
1249 }, | 1249 }, |
1250 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}", | 1250 "path": "v1/projects/{projectId}/zones/{zone
}/operations/{operationId}", |
1251 "response": { | 1251 "response": { |
1252 "$ref": "Operation" | 1252 "$ref": "Operation" |
1253 }, | 1253 }, |
1254 "scopes": [ | 1254 "scopes": [ |
1255 "https://www.googleapis.com/auth/cloud-p
latform" | 1255 "https://www.googleapis.com/auth/cloud-p
latform" |
1256 ] | 1256 ] |
1257 }, | 1257 }, |
1258 "list": { | 1258 "list": { |
1259 "description": "Lists all operations in a pr
oject in a specific zone or all zones.", | 1259 "description": "Lists all operations in a pr
oject in a specific zone or all zones.", |
1260 "httpMethod": "GET", | 1260 "httpMethod": "GET", |
1261 "id": "container.projects.zones.operations.l
ist", | 1261 "id": "container.projects.zones.operations.l
ist", |
1262 "parameterOrder": [ | 1262 "parameterOrder": [ |
1263 "projectId", | 1263 "projectId", |
1264 "zone" | 1264 "zone" |
1265 ], | 1265 ], |
1266 "parameters": { | 1266 "parameters": { |
1267 "projectId": { | 1267 "zone": { |
1268 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 1268 "description": "The name of the Goog
le Compute Engine [zone](/compute/docs/zones#available)\nto return operations fo
r, or `-` for all zones.", |
1269 "location": "path", | 1269 "location": "path", |
1270 "required": true, | 1270 "required": true, |
1271 "type": "string" | 1271 "type": "string" |
1272 }, | 1272 }, |
1273 "zone": { | 1273 "projectId": { |
1274 "description": "The name of the Goog
le Compute Engine [zone](/compute/docs/zones#available)\nto return operations fo
r, or `-` for all zones.", | 1274 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
1275 "location": "path", | 1275 "location": "path", |
1276 "required": true, | 1276 "required": true, |
1277 "type": "string" | 1277 "type": "string" |
1278 } | 1278 } |
1279 }, | 1279 }, |
1280 "path": "v1/projects/{projectId}/zones/{zone
}/operations", | 1280 "path": "v1/projects/{projectId}/zones/{zone
}/operations", |
1281 "response": { | 1281 "response": { |
1282 "$ref": "ListOperationsResponse" | 1282 "$ref": "ListOperationsResponse" |
1283 }, | 1283 }, |
1284 "scopes": [ | 1284 "scopes": [ |
1285 "https://www.googleapis.com/auth/cloud-p
latform" | 1285 "https://www.googleapis.com/auth/cloud-p
latform" |
1286 ] | 1286 ] |
1287 } | 1287 } |
1288 } | 1288 } |
1289 } | 1289 } |
1290 } | 1290 } |
1291 } | 1291 } |
1292 } | 1292 } |
1293 } | 1293 } |
1294 }, | 1294 }, |
1295 "revision": "20170627", | 1295 "revision": "20170717", |
1296 "rootUrl": "https://container.googleapis.com/", | 1296 "rootUrl": "https://container.googleapis.com/", |
1297 "schemas": { | 1297 "schemas": { |
1298 "ListNodePoolsResponse": { | |
1299 "description": "ListNodePoolsResponse is the result of ListNodePools
Request.", | |
1300 "id": "ListNodePoolsResponse", | |
1301 "properties": { | |
1302 "nodePools": { | |
1303 "description": "A list of node pools for a cluster.", | |
1304 "items": { | |
1305 "$ref": "NodePool" | |
1306 }, | |
1307 "type": "array" | |
1308 } | |
1309 }, | |
1310 "type": "object" | |
1311 }, | |
1312 "CompleteIPRotationRequest": { | |
1313 "description": "CompleteIPRotationRequest moves the cluster master b
ack into single-IP mode.", | |
1314 "id": "CompleteIPRotationRequest", | |
1315 "properties": {}, | |
1316 "type": "object" | |
1317 }, | |
1318 "StartIPRotationRequest": { | |
1319 "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."
, | |
1320 "id": "StartIPRotationRequest", | |
1321 "properties": {}, | |
1322 "type": "object" | |
1323 }, | |
1324 "UpdateNodePoolRequest": { | |
1325 "description": "UpdateNodePoolRequests update a node pool's image an
d/or version.", | |
1326 "id": "UpdateNodePoolRequest", | |
1327 "properties": { | |
1328 "imageType": { | |
1329 "description": "The desired image type for the node pool.", | |
1330 "type": "string" | |
1331 }, | |
1332 "nodeVersion": { | |
1333 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", | |
1334 "type": "string" | |
1335 } | |
1336 }, | |
1337 "type": "object" | |
1338 }, | |
1339 "LegacyAbac": { | |
1340 "description": "Configuration for the legacy Attribute Based Access
Control authorization\nmode.", | |
1341 "id": "LegacyAbac", | |
1342 "properties": { | |
1343 "enabled": { | |
1344 "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.", | |
1345 "type": "boolean" | |
1346 } | |
1347 }, | |
1348 "type": "object" | |
1349 }, | |
1350 "SetAddonsConfigRequest": { | |
1351 "description": "SetAddonsConfigRequest sets the addons associated wi
th the cluster.", | |
1352 "id": "SetAddonsConfigRequest", | |
1353 "properties": { | |
1354 "addonsConfig": { | |
1355 "$ref": "AddonsConfig", | |
1356 "description": "The desired configurations for the various a
ddons available to run in the\ncluster." | |
1357 } | |
1358 }, | |
1359 "type": "object" | |
1360 }, | |
1361 "NodePool": { | |
1362 "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.", | |
1363 "id": "NodePool", | |
1364 "properties": { | |
1365 "status": { | |
1366 "description": "[Output only] The status of the nodes in thi
s pool instance.", | |
1367 "enum": [ | |
1368 "STATUS_UNSPECIFIED", | |
1369 "PROVISIONING", | |
1370 "RUNNING", | |
1371 "RUNNING_WITH_ERROR", | |
1372 "RECONCILING", | |
1373 "STOPPING", | |
1374 "ERROR" | |
1375 ], | |
1376 "enumDescriptions": [ | |
1377 "Not set.", | |
1378 "The PROVISIONING state indicates the node pool is being
created.", | |
1379 "The RUNNING state indicates the node pool has been crea
ted\nand is fully usable.", | |
1380 "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.", | |
1381 "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.", | |
1382 "The STOPPING state indicates the node pool is being del
eted.", | |
1383 "The ERROR state indicates the node pool may be unusable
. Details\ncan be found in the `statusMessage` field." | |
1384 ], | |
1385 "type": "string" | |
1386 }, | |
1387 "config": { | |
1388 "$ref": "NodeConfig", | |
1389 "description": "The node configuration of the pool." | |
1390 }, | |
1391 "statusMessage": { | |
1392 "description": "[Output only] Additional information about t
he current status of this\nnode pool instance, if available.", | |
1393 "type": "string" | |
1394 }, | |
1395 "name": { | |
1396 "description": "The name of the node pool.", | |
1397 "type": "string" | |
1398 }, | |
1399 "autoscaling": { | |
1400 "$ref": "NodePoolAutoscaling", | |
1401 "description": "Autoscaler configuration for this NodePool.
Autoscaler is enabled\nonly if a valid configuration is present." | |
1402 }, | |
1403 "initialNodeCount": { | |
1404 "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.", | |
1405 "format": "int32", | |
1406 "type": "integer" | |
1407 }, | |
1408 "management": { | |
1409 "$ref": "NodeManagement", | |
1410 "description": "NodeManagement configuration for this NodePo
ol." | |
1411 }, | |
1412 "selfLink": { | |
1413 "description": "[Output only] Server-defined URL for the res
ource.", | |
1414 "type": "string" | |
1415 }, | |
1416 "instanceGroupUrls": { | |
1417 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\nnode pool.", | |
1418 "items": { | |
1419 "type": "string" | |
1420 }, | |
1421 "type": "array" | |
1422 }, | |
1423 "version": { | |
1424 "description": "[Output only] The version of the Kubernetes
of this node.", | |
1425 "type": "string" | |
1426 } | |
1427 }, | |
1428 "type": "object" | |
1429 }, | |
1430 "SetLabelsRequest": { | |
1431 "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", | |
1432 "id": "SetLabelsRequest", | |
1433 "properties": { | |
1434 "resourceLabels": { | |
1435 "additionalProperties": { | |
1436 "type": "string" | |
1437 }, | |
1438 "description": "The labels to set for that cluster.", | |
1439 "type": "object" | |
1440 }, | |
1441 "labelFingerprint": { | |
1442 "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.", | |
1443 "type": "string" | |
1444 } | |
1445 }, | |
1446 "type": "object" | |
1447 }, | |
1448 "NodeManagement": { | 1298 "NodeManagement": { |
1449 "description": "NodeManagement defines the set of node management se
rvices turned on for the\nnode pool.", | 1299 "description": "NodeManagement defines the set of node management se
rvices turned on for the\nnode pool.", |
1450 "id": "NodeManagement", | 1300 "id": "NodeManagement", |
1451 "properties": { | 1301 "properties": { |
1452 "autoRepair": { | 1302 "autoRepair": { |
1453 "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.", | 1303 "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.", |
1454 "type": "boolean" | 1304 "type": "boolean" |
1455 }, | 1305 }, |
1456 "autoUpgrade": { | 1306 "autoUpgrade": { |
1457 "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.", | 1307 "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.", |
(...skipping 16 matching lines...) Expand all Loading... |
1474 "description": "SetLegacyAbacRequest enables or disables the ABAC au
thorization mechanism for\na cluster.", | 1324 "description": "SetLegacyAbacRequest enables or disables the ABAC au
thorization mechanism for\na cluster.", |
1475 "id": "SetLegacyAbacRequest", | 1325 "id": "SetLegacyAbacRequest", |
1476 "properties": { | 1326 "properties": { |
1477 "enabled": { | 1327 "enabled": { |
1478 "description": "Whether ABAC authorization will be enabled i
n the cluster.", | 1328 "description": "Whether ABAC authorization will be enabled i
n the cluster.", |
1479 "type": "boolean" | 1329 "type": "boolean" |
1480 } | 1330 } |
1481 }, | 1331 }, |
1482 "type": "object" | 1332 "type": "object" |
1483 }, | 1333 }, |
| 1334 "KubernetesDashboard": { |
| 1335 "description": "Configuration for the Kubernetes Dashboard.", |
| 1336 "id": "KubernetesDashboard", |
| 1337 "properties": { |
| 1338 "disabled": { |
| 1339 "description": "Whether the Kubernetes Dashboard is enabled
for this cluster.", |
| 1340 "type": "boolean" |
| 1341 } |
| 1342 }, |
| 1343 "type": "object" |
| 1344 }, |
1484 "Operation": { | 1345 "Operation": { |
1485 "description": "This operation resource represents operations that m
ay have happened or are\nhappening on the cluster. All fields are output only.", | 1346 "description": "This operation resource represents operations that m
ay have happened or are\nhappening on the cluster. All fields are output only.", |
1486 "id": "Operation", | 1347 "id": "Operation", |
1487 "properties": { | 1348 "properties": { |
| 1349 "name": { |
| 1350 "description": "The server-assigned ID for the operation.", |
| 1351 "type": "string" |
| 1352 }, |
1488 "statusMessage": { | 1353 "statusMessage": { |
1489 "description": "If an error has occurred, a textual descript
ion of the error.", | 1354 "description": "If an error has occurred, a textual descript
ion of the error.", |
1490 "type": "string" | 1355 "type": "string" |
1491 }, | 1356 }, |
1492 "name": { | |
1493 "description": "The server-assigned ID for the operation.", | |
1494 "type": "string" | |
1495 }, | |
1496 "selfLink": { | 1357 "selfLink": { |
1497 "description": "Server-defined URL for the resource.", | 1358 "description": "Server-defined URL for the resource.", |
1498 "type": "string" | 1359 "type": "string" |
1499 }, | 1360 }, |
| 1361 "detail": { |
| 1362 "description": "Detailed operation progress, if available.", |
| 1363 "type": "string" |
| 1364 }, |
1500 "targetLink": { | 1365 "targetLink": { |
1501 "description": "Server-defined URL for the target of the ope
ration.", | 1366 "description": "Server-defined URL for the target of the ope
ration.", |
1502 "type": "string" | 1367 "type": "string" |
1503 }, | 1368 }, |
1504 "detail": { | |
1505 "description": "Detailed operation progress, if available.", | |
1506 "type": "string" | |
1507 }, | |
1508 "operationType": { | 1369 "operationType": { |
1509 "description": "The operation type.", | 1370 "description": "The operation type.", |
1510 "enum": [ | 1371 "enum": [ |
1511 "TYPE_UNSPECIFIED", | 1372 "TYPE_UNSPECIFIED", |
1512 "CREATE_CLUSTER", | 1373 "CREATE_CLUSTER", |
1513 "DELETE_CLUSTER", | 1374 "DELETE_CLUSTER", |
1514 "UPGRADE_MASTER", | 1375 "UPGRADE_MASTER", |
1515 "UPGRADE_NODES", | 1376 "UPGRADE_NODES", |
1516 "REPAIR_CLUSTER", | 1377 "REPAIR_CLUSTER", |
1517 "UPDATE_CLUSTER", | 1378 "UPDATE_CLUSTER", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1574 "description": "Configuration for the addons that can be automatical
ly spun up in the\ncluster, enabling additional functionality.", | 1435 "description": "Configuration for the addons that can be automatical
ly spun up in the\ncluster, enabling additional functionality.", |
1575 "id": "AddonsConfig", | 1436 "id": "AddonsConfig", |
1576 "properties": { | 1437 "properties": { |
1577 "horizontalPodAutoscaling": { | 1438 "horizontalPodAutoscaling": { |
1578 "$ref": "HorizontalPodAutoscaling", | 1439 "$ref": "HorizontalPodAutoscaling", |
1579 "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." | 1440 "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." |
1580 }, | 1441 }, |
1581 "httpLoadBalancing": { | 1442 "httpLoadBalancing": { |
1582 "$ref": "HttpLoadBalancing", | 1443 "$ref": "HttpLoadBalancing", |
1583 "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." | 1444 "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." |
| 1445 }, |
| 1446 "kubernetesDashboard": { |
| 1447 "$ref": "KubernetesDashboard", |
| 1448 "description": "Configuration for the Kubernetes Dashboard." |
1584 } | 1449 } |
1585 }, | 1450 }, |
1586 "type": "object" | 1451 "type": "object" |
1587 }, | 1452 }, |
1588 "SetLocationsRequest": { | 1453 "SetLocationsRequest": { |
1589 "description": "SetLocationsRequest sets the locations of the cluste
r.", | 1454 "description": "SetLocationsRequest sets the locations of the cluste
r.", |
1590 "id": "SetLocationsRequest", | 1455 "id": "SetLocationsRequest", |
1591 "properties": { | 1456 "properties": { |
1592 "locations": { | 1457 "locations": { |
1593 "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.", | 1458 "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.", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1632 "description": "Configuration options for the NetworkPolicy feature.
\nhttps://kubernetes.io/docs/concepts/services-networking/networkpolicies/", | 1497 "description": "Configuration options for the NetworkPolicy feature.
\nhttps://kubernetes.io/docs/concepts/services-networking/networkpolicies/", |
1633 "id": "NetworkPolicy", | 1498 "id": "NetworkPolicy", |
1634 "properties": { | 1499 "properties": { |
1635 "enabled": { | 1500 "enabled": { |
1636 "description": "Whether network policy is enabled on the clu
ster.", | 1501 "description": "Whether network policy is enabled on the clu
ster.", |
1637 "type": "boolean" | 1502 "type": "boolean" |
1638 }, | 1503 }, |
1639 "provider": { | 1504 "provider": { |
1640 "description": "The selected network policy provider.", | 1505 "description": "The selected network policy provider.", |
1641 "enum": [ | 1506 "enum": [ |
1642 "UNKNOWN", | 1507 "PROVIDER_UNSPECIFIED", |
1643 "CALICO" | 1508 "CALICO" |
1644 ], | 1509 ], |
1645 "enumDescriptions": [ | 1510 "enumDescriptions": [ |
1646 "Not set", | 1511 "Not set", |
1647 "Tigera (Calico Felix)." | 1512 "Tigera (Calico Felix)." |
1648 ], | 1513 ], |
1649 "type": "string" | 1514 "type": "string" |
1650 } | 1515 } |
1651 }, | 1516 }, |
1652 "type": "object" | 1517 "type": "object" |
1653 }, | 1518 }, |
1654 "UpdateMasterRequest": { | 1519 "UpdateMasterRequest": { |
1655 "description": "UpdateMasterRequest updates the master of the cluste
r.", | 1520 "description": "UpdateMasterRequest updates the master of the cluste
r.", |
1656 "id": "UpdateMasterRequest", | 1521 "id": "UpdateMasterRequest", |
1657 "properties": { | 1522 "properties": { |
1658 "masterVersion": { | 1523 "masterVersion": { |
1659 "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.", | 1524 "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.", |
1660 "type": "string" | 1525 "type": "string" |
1661 } | 1526 } |
1662 }, | 1527 }, |
1663 "type": "object" | 1528 "type": "object" |
1664 }, | 1529 }, |
1665 "Cluster": { | 1530 "Cluster": { |
1666 "description": "A Google Container Engine cluster.", | 1531 "description": "A Google Container Engine cluster.", |
1667 "id": "Cluster", | 1532 "id": "Cluster", |
1668 "properties": { | 1533 "properties": { |
| 1534 "subnetwork": { |
| 1535 "description": "The name of the Google Compute Engine\n[subn
etwork](/compute/docs/subnetworks) to which the\ncluster is connected.", |
| 1536 "type": "string" |
| 1537 }, |
| 1538 "currentNodeVersion": { |
| 1539 "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.", |
| 1540 "type": "string" |
| 1541 }, |
| 1542 "resourceLabels": { |
| 1543 "additionalProperties": { |
| 1544 "type": "string" |
| 1545 }, |
| 1546 "description": "The resource labels for the cluster to use t
o annotate any related\nGoogle Compute Engine resources.", |
| 1547 "type": "object" |
| 1548 }, |
| 1549 "name": { |
| 1550 "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.", |
| 1551 "type": "string" |
| 1552 }, |
| 1553 "initialClusterVersion": { |
| 1554 "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.", |
| 1555 "type": "string" |
| 1556 }, |
| 1557 "ipAllocationPolicy": { |
| 1558 "$ref": "IPAllocationPolicy", |
| 1559 "description": "Configuration for cluster IP allocation." |
| 1560 }, |
| 1561 "endpoint": { |
| 1562 "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.", |
| 1563 "type": "string" |
| 1564 }, |
| 1565 "legacyAbac": { |
| 1566 "$ref": "LegacyAbac", |
| 1567 "description": "Configuration for the legacy ABAC authorizat
ion mode." |
| 1568 }, |
| 1569 "createTime": { |
| 1570 "description": "[Output only] The time the cluster was creat
ed, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", |
| 1571 "type": "string" |
| 1572 }, |
| 1573 "clusterIpv4Cidr": { |
| 1574 "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`.", |
| 1575 "type": "string" |
| 1576 }, |
| 1577 "initialNodeCount": { |
| 1578 "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.", |
| 1579 "format": "int32", |
| 1580 "type": "integer" |
| 1581 }, |
| 1582 "selfLink": { |
| 1583 "description": "[Output only] Server-defined URL for the res
ource.", |
| 1584 "type": "string" |
| 1585 }, |
| 1586 "locations": { |
| 1587 "description": "The list of Google Compute Engine\n[location
s](/compute/docs/zones#available) in which the cluster's nodes\nshould be locate
d.", |
| 1588 "items": { |
| 1589 "type": "string" |
| 1590 }, |
| 1591 "type": "array" |
| 1592 }, |
| 1593 "nodePools": { |
| 1594 "description": "The node pools associated with this cluster.
\nThis field should not be set if \"node_config\" or \"initial_node_count\" are\
nspecified.", |
| 1595 "items": { |
| 1596 "$ref": "NodePool" |
| 1597 }, |
| 1598 "type": "array" |
| 1599 }, |
| 1600 "instanceGroupUrls": { |
| 1601 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\ncluster.", |
| 1602 "items": { |
| 1603 "type": "string" |
| 1604 }, |
| 1605 "type": "array" |
| 1606 }, |
| 1607 "servicesIpv4Cidr": { |
| 1608 "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.", |
| 1609 "type": "string" |
| 1610 }, |
| 1611 "networkPolicy": { |
| 1612 "$ref": "NetworkPolicy", |
| 1613 "description": "Configuration options for the NetworkPolicy
feature." |
| 1614 }, |
| 1615 "enableKubernetesAlpha": { |
| 1616 "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.", |
| 1617 "type": "boolean" |
| 1618 }, |
| 1619 "description": { |
| 1620 "description": "An optional description of this cluster.", |
| 1621 "type": "string" |
| 1622 }, |
| 1623 "currentNodeCount": { |
| 1624 "description": "[Output only] The number of nodes currently
in the cluster.", |
| 1625 "format": "int32", |
| 1626 "type": "integer" |
| 1627 }, |
| 1628 "monitoringService": { |
| 1629 "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.", |
| 1630 "type": "string" |
| 1631 }, |
1669 "network": { | 1632 "network": { |
1670 "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.", | 1633 "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.", |
1671 "type": "string" | 1634 "type": "string" |
1672 }, | 1635 }, |
1673 "labelFingerprint": { | 1636 "labelFingerprint": { |
1674 "description": "The fingerprint of the set of labels for thi
s cluster.", | 1637 "description": "The fingerprint of the set of labels for thi
s cluster.", |
1675 "type": "string" | 1638 "type": "string" |
1676 }, | 1639 }, |
1677 "zone": { | 1640 "zone": { |
1678 "description": "[Output only] The name of the Google Compute
Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", | 1641 "description": "[Output only] The name of the Google Compute
Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
1679 "type": "string" | 1642 "type": "string" |
1680 }, | 1643 }, |
1681 "loggingService": { | 1644 "loggingService": { |
1682 "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.", | 1645 "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.", |
1683 "type": "string" | 1646 "type": "string" |
1684 }, | 1647 }, |
1685 "nodeIpv4CidrSize": { | 1648 "nodeIpv4CidrSize": { |
1686 "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.", | 1649 "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.", |
1687 "format": "int32", | 1650 "format": "int32", |
1688 "type": "integer" | 1651 "type": "integer" |
1689 }, | 1652 }, |
1690 "expireTime": { | 1653 "expireTime": { |
1691 "description": "[Output only] The time the cluster will be a
utomatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text fo
rmat.", | 1654 "description": "[Output only] The time the cluster will be a
utomatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text fo
rmat.", |
1692 "type": "string" | 1655 "type": "string" |
1693 }, | 1656 }, |
| 1657 "masterAuthorizedNetworksConfig": { |
| 1658 "$ref": "MasterAuthorizedNetworksConfig", |
| 1659 "description": "Master authorized networks is a Beta feature
.\nThe configuration options for master authorized networks feature." |
| 1660 }, |
1694 "statusMessage": { | 1661 "statusMessage": { |
1695 "description": "[Output only] Additional information about t
he current status of this\ncluster, if available.", | 1662 "description": "[Output only] Additional information about t
he current status of this\ncluster, if available.", |
1696 "type": "string" | 1663 "type": "string" |
1697 }, | 1664 }, |
1698 "masterAuth": { | 1665 "masterAuth": { |
1699 "$ref": "MasterAuth", | 1666 "$ref": "MasterAuth", |
1700 "description": "The authentication information for accessing
the master endpoint." | 1667 "description": "The authentication information for accessing
the master endpoint." |
1701 }, | 1668 }, |
1702 "currentMasterVersion": { | 1669 "currentMasterVersion": { |
1703 "description": "[Output only] The current software version o
f the master endpoint.", | 1670 "description": "[Output only] The current software version o
f the master endpoint.", |
(...skipping 19 matching lines...) Expand all Loading... |
1723 ], | 1690 ], |
1724 "enumDescriptions": [ | 1691 "enumDescriptions": [ |
1725 "Not set.", | 1692 "Not set.", |
1726 "The PROVISIONING state indicates the cluster is being c
reated.", | 1693 "The PROVISIONING state indicates the cluster is being c
reated.", |
1727 "The RUNNING state indicates the cluster has been create
d and is fully\nusable.", | 1694 "The RUNNING state indicates the cluster has been create
d and is fully\nusable.", |
1728 "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.", | 1695 "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.", |
1729 "The STOPPING state indicates the cluster is being delet
ed.", | 1696 "The STOPPING state indicates the cluster is being delet
ed.", |
1730 "The ERROR state indicates the cluster may be unusable.
Details\ncan be found in the `statusMessage` field." | 1697 "The ERROR state indicates the cluster may be unusable.
Details\ncan be found in the `statusMessage` field." |
1731 ], | 1698 ], |
1732 "type": "string" | 1699 "type": "string" |
1733 }, | 1700 } |
1734 "currentNodeVersion": { | 1701 }, |
1735 "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.", | 1702 "type": "object" |
1736 "type": "string" | 1703 }, |
1737 }, | 1704 "ListOperationsResponse": { |
1738 "subnetwork": { | 1705 "description": "ListOperationsResponse is the result of ListOperatio
nsRequest.", |
1739 "description": "The name of the Google Compute Engine\n[subn
etwork](/compute/docs/subnetworks) to which the\ncluster is connected.", | 1706 "id": "ListOperationsResponse", |
1740 "type": "string" | 1707 "properties": { |
1741 }, | 1708 "operations": { |
1742 "name": { | 1709 "description": "A list of operations in the project in the s
pecified zone.", |
1743 "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.", | |
1744 "type": "string" | |
1745 }, | |
1746 "resourceLabels": { | |
1747 "additionalProperties": { | |
1748 "type": "string" | |
1749 }, | |
1750 "description": "The resource labels for the cluster to use t
o annotate any related\nGoogle Compute Engine resources.", | |
1751 "type": "object" | |
1752 }, | |
1753 "initialClusterVersion": { | |
1754 "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.", | |
1755 "type": "string" | |
1756 }, | |
1757 "ipAllocationPolicy": { | |
1758 "$ref": "IPAllocationPolicy", | |
1759 "description": "Configuration for cluster IP allocation." | |
1760 }, | |
1761 "endpoint": { | |
1762 "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.", | |
1763 "type": "string" | |
1764 }, | |
1765 "legacyAbac": { | |
1766 "$ref": "LegacyAbac", | |
1767 "description": "Configuration for the legacy ABAC authorizat
ion mode." | |
1768 }, | |
1769 "createTime": { | |
1770 "description": "[Output only] The time the cluster was creat
ed, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", | |
1771 "type": "string" | |
1772 }, | |
1773 "clusterIpv4Cidr": { | |
1774 "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`.", | |
1775 "type": "string" | |
1776 }, | |
1777 "initialNodeCount": { | |
1778 "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.", | |
1779 "format": "int32", | |
1780 "type": "integer" | |
1781 }, | |
1782 "selfLink": { | |
1783 "description": "[Output only] Server-defined URL for the res
ource.", | |
1784 "type": "string" | |
1785 }, | |
1786 "nodePools": { | |
1787 "description": "The node pools associated with this cluster.
\nThis field should not be set if \"node_config\" or \"initial_node_count\" are\
nspecified.", | |
1788 "items": { | 1710 "items": { |
1789 "$ref": "NodePool" | 1711 "$ref": "Operation" |
1790 }, | 1712 }, |
1791 "type": "array" | 1713 "type": "array" |
1792 }, | 1714 }, |
1793 "locations": { | 1715 "missingZones": { |
1794 "description": "The list of Google Compute Engine\n[location
s](/compute/docs/zones#available) in which the cluster's nodes\nshould be locate
d.", | 1716 "description": "If any zones are listed here, the list of op
erations returned\nmay be missing the operations from those zones.", |
1795 "items": { | 1717 "items": { |
1796 "type": "string" | 1718 "type": "string" |
1797 }, | 1719 }, |
1798 "type": "array" | 1720 "type": "array" |
1799 }, | |
1800 "instanceGroupUrls": { | |
1801 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\ncluster.", | |
1802 "items": { | |
1803 "type": "string" | |
1804 }, | |
1805 "type": "array" | |
1806 }, | |
1807 "networkPolicy": { | |
1808 "$ref": "NetworkPolicy", | |
1809 "description": "Configuration options for the NetworkPolicy
feature." | |
1810 }, | |
1811 "servicesIpv4Cidr": { | |
1812 "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.", | |
1813 "type": "string" | |
1814 }, | |
1815 "enableKubernetesAlpha": { | |
1816 "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.", | |
1817 "type": "boolean" | |
1818 }, | |
1819 "description": { | |
1820 "description": "An optional description of this cluster.", | |
1821 "type": "string" | |
1822 }, | |
1823 "currentNodeCount": { | |
1824 "description": "[Output only] The number of nodes currently
in the cluster.", | |
1825 "format": "int32", | |
1826 "type": "integer" | |
1827 }, | |
1828 "monitoringService": { | |
1829 "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.", | |
1830 "type": "string" | |
1831 } | 1721 } |
1832 }, | 1722 }, |
1833 "type": "object" | 1723 "type": "object" |
1834 }, | 1724 }, |
1835 "CreateNodePoolRequest": { | 1725 "CreateNodePoolRequest": { |
1836 "description": "CreateNodePoolRequest creates a node pool for a clus
ter.", | 1726 "description": "CreateNodePoolRequest creates a node pool for a clus
ter.", |
1837 "id": "CreateNodePoolRequest", | 1727 "id": "CreateNodePoolRequest", |
1838 "properties": { | 1728 "properties": { |
1839 "nodePool": { | 1729 "nodePool": { |
1840 "$ref": "NodePool", | 1730 "$ref": "NodePool", |
1841 "description": "The node pool to create." | 1731 "description": "The node pool to create." |
1842 } | 1732 } |
1843 }, | 1733 }, |
1844 "type": "object" | 1734 "type": "object" |
1845 }, | 1735 }, |
1846 "ListOperationsResponse": { | 1736 "CidrBlock": { |
1847 "description": "ListOperationsResponse is the result of ListOperatio
nsRequest.", | 1737 "description": "CidrBlock contains an optional name and one CIDR blo
ck.", |
1848 "id": "ListOperationsResponse", | 1738 "id": "CidrBlock", |
1849 "properties": { | 1739 "properties": { |
1850 "missingZones": { | 1740 "cidrBlock": { |
1851 "description": "If any zones are listed here, the list of op
erations returned\nmay be missing the operations from those zones.", | 1741 "description": "cidr_block must be specified in CIDR notatio
n.", |
1852 "items": { | 1742 "type": "string" |
1853 "type": "string" | |
1854 }, | |
1855 "type": "array" | |
1856 }, | 1743 }, |
1857 "operations": { | 1744 "displayName": { |
1858 "description": "A list of operations in the project in the s
pecified zone.", | 1745 "description": "display_name is an optional field for users
to identify CIDR blocks.", |
1859 "items": { | 1746 "type": "string" |
1860 "$ref": "Operation" | |
1861 }, | |
1862 "type": "array" | |
1863 } | 1747 } |
1864 }, | 1748 }, |
1865 "type": "object" | 1749 "type": "object" |
1866 }, | 1750 }, |
1867 "SetMonitoringServiceRequest": { | 1751 "SetMonitoringServiceRequest": { |
1868 "description": "SetMonitoringServiceRequest sets the monitoring serv
ice of a cluster.", | 1752 "description": "SetMonitoringServiceRequest sets the monitoring serv
ice of a cluster.", |
1869 "id": "SetMonitoringServiceRequest", | 1753 "id": "SetMonitoringServiceRequest", |
1870 "properties": { | 1754 "properties": { |
1871 "monitoringService": { | 1755 "monitoringService": { |
1872 "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", | 1756 "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", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1904 "validNodeVersions": { | 1788 "validNodeVersions": { |
1905 "description": "List of valid node upgrade target versions."
, | 1789 "description": "List of valid node upgrade target versions."
, |
1906 "items": { | 1790 "items": { |
1907 "type": "string" | 1791 "type": "string" |
1908 }, | 1792 }, |
1909 "type": "array" | 1793 "type": "array" |
1910 } | 1794 } |
1911 }, | 1795 }, |
1912 "type": "object" | 1796 "type": "object" |
1913 }, | 1797 }, |
| 1798 "MasterAuth": { |
| 1799 "description": "The authentication information for accessing the mas
ter endpoint.\nAuthentication can be done using HTTP basic auth or using client\
ncertificates.", |
| 1800 "id": "MasterAuth", |
| 1801 "properties": { |
| 1802 "clientCertificate": { |
| 1803 "description": "[Output only] Base64-encoded public certific
ate used by clients to\nauthenticate to the cluster endpoint.", |
| 1804 "type": "string" |
| 1805 }, |
| 1806 "username": { |
| 1807 "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.", |
| 1808 "type": "string" |
| 1809 }, |
| 1810 "password": { |
| 1811 "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.", |
| 1812 "type": "string" |
| 1813 }, |
| 1814 "clientCertificateConfig": { |
| 1815 "$ref": "ClientCertificateConfig", |
| 1816 "description": "Configuration for client certificate authent
ication on the cluster. If no\nconfiguration is specified, a client certificate
is issued." |
| 1817 }, |
| 1818 "clientKey": { |
| 1819 "description": "[Output only] Base64-encoded private key use
d by clients to authenticate\nto the cluster endpoint.", |
| 1820 "type": "string" |
| 1821 }, |
| 1822 "clusterCaCertificate": { |
| 1823 "description": "[Output only] Base64-encoded public certific
ate that is the root of\ntrust for the cluster.", |
| 1824 "type": "string" |
| 1825 } |
| 1826 }, |
| 1827 "type": "object" |
| 1828 }, |
1914 "NodeConfig": { | 1829 "NodeConfig": { |
1915 "description": "Parameters that describe the nodes in a cluster.", | 1830 "description": "Parameters that describe the nodes in a cluster.", |
1916 "id": "NodeConfig", | 1831 "id": "NodeConfig", |
1917 "properties": { | 1832 "properties": { |
| 1833 "preemptible": { |
| 1834 "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.", |
| 1835 "type": "boolean" |
| 1836 }, |
| 1837 "labels": { |
| 1838 "additionalProperties": { |
| 1839 "type": "string" |
| 1840 }, |
| 1841 "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", |
| 1842 "type": "object" |
| 1843 }, |
| 1844 "localSsdCount": { |
| 1845 "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.", |
| 1846 "format": "int32", |
| 1847 "type": "integer" |
| 1848 }, |
1918 "metadata": { | 1849 "metadata": { |
1919 "additionalProperties": { | 1850 "additionalProperties": { |
1920 "type": "string" | 1851 "type": "string" |
1921 }, | 1852 }, |
1922 "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.", | 1853 "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.", |
1923 "type": "object" | 1854 "type": "object" |
1924 }, | 1855 }, |
1925 "diskSizeGb": { | 1856 "diskSizeGb": { |
1926 "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.", | 1857 "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.", |
1927 "format": "int32", | 1858 "format": "int32", |
1928 "type": "integer" | 1859 "type": "integer" |
1929 }, | 1860 }, |
1930 "tags": { | 1861 "tags": { |
1931 "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.", | 1862 "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.", |
1932 "items": { | 1863 "items": { |
1933 "type": "string" | 1864 "type": "string" |
1934 }, | 1865 }, |
1935 "type": "array" | 1866 "type": "array" |
1936 }, | 1867 }, |
1937 "serviceAccount": { | 1868 "serviceAccount": { |
1938 "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.", | 1869 "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.", |
1939 "type": "string" | 1870 "type": "string" |
1940 }, | 1871 }, |
| 1872 "accelerators": { |
| 1873 "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.", |
| 1874 "items": { |
| 1875 "$ref": "AcceleratorConfig" |
| 1876 }, |
| 1877 "type": "array" |
| 1878 }, |
1941 "machineType": { | 1879 "machineType": { |
1942 "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`.", | 1880 "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`.", |
1943 "type": "string" | 1881 "type": "string" |
1944 }, | 1882 }, |
1945 "imageType": { | 1883 "imageType": { |
1946 "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.", | 1884 "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.", |
1947 "type": "string" | 1885 "type": "string" |
1948 }, | 1886 }, |
1949 "oauthScopes": { | 1887 "oauthScopes": { |
1950 "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.", | 1888 "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.", |
1951 "items": { | 1889 "items": { |
1952 "type": "string" | 1890 "type": "string" |
1953 }, | 1891 }, |
1954 "type": "array" | 1892 "type": "array" |
1955 }, | |
1956 "preemptible": { | |
1957 "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.", | |
1958 "type": "boolean" | |
1959 }, | |
1960 "labels": { | |
1961 "additionalProperties": { | |
1962 "type": "string" | |
1963 }, | |
1964 "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", | |
1965 "type": "object" | |
1966 }, | |
1967 "localSsdCount": { | |
1968 "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.", | |
1969 "format": "int32", | |
1970 "type": "integer" | |
1971 } | 1893 } |
1972 }, | 1894 }, |
1973 "type": "object" | 1895 "type": "object" |
1974 }, | |
1975 "MasterAuth": { | |
1976 "description": "The authentication information for accessing the mas
ter endpoint.\nAuthentication can be done using HTTP basic auth or using client\
ncertificates.", | |
1977 "id": "MasterAuth", | |
1978 "properties": { | |
1979 "clusterCaCertificate": { | |
1980 "description": "[Output only] Base64-encoded public certific
ate that is the root of\ntrust for the cluster.", | |
1981 "type": "string" | |
1982 }, | |
1983 "clientCertificate": { | |
1984 "description": "[Output only] Base64-encoded public certific
ate used by clients to\nauthenticate to the cluster endpoint.", | |
1985 "type": "string" | |
1986 }, | |
1987 "username": { | |
1988 "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.", | |
1989 "type": "string" | |
1990 }, | |
1991 "password": { | |
1992 "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.", | |
1993 "type": "string" | |
1994 }, | |
1995 "clientCertificateConfig": { | |
1996 "$ref": "ClientCertificateConfig", | |
1997 "description": "Configuration for client certificate authent
ication on the cluster. If no\nconfiguration is specified, a client certificate
is issued." | |
1998 }, | |
1999 "clientKey": { | |
2000 "description": "[Output only] Base64-encoded private key use
d by clients to authenticate\nto the cluster endpoint.", | |
2001 "type": "string" | |
2002 } | |
2003 }, | |
2004 "type": "object" | |
2005 }, | 1896 }, |
2006 "AutoUpgradeOptions": { | 1897 "AutoUpgradeOptions": { |
2007 "description": "AutoUpgradeOptions defines the set of options for th
e user to control how\nthe Auto Upgrades will proceed.", | 1898 "description": "AutoUpgradeOptions defines the set of options for th
e user to control how\nthe Auto Upgrades will proceed.", |
2008 "id": "AutoUpgradeOptions", | 1899 "id": "AutoUpgradeOptions", |
2009 "properties": { | 1900 "properties": { |
2010 "description": { | 1901 "description": { |
2011 "description": "[Output only] This field is set when upgrade
s are about to commence\nwith the description of the upgrade.", | 1902 "description": "[Output only] This field is set when upgrade
s are about to commence\nwith the description of the upgrade.", |
2012 "type": "string" | 1903 "type": "string" |
2013 }, | 1904 }, |
2014 "autoUpgradeStartTime": { | 1905 "autoUpgradeStartTime": { |
2015 "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.", | 1906 "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.", |
2016 "type": "string" | 1907 "type": "string" |
2017 } | 1908 } |
2018 }, | 1909 }, |
2019 "type": "object" | 1910 "type": "object" |
2020 }, | 1911 }, |
2021 "ListClustersResponse": { | 1912 "ListClustersResponse": { |
2022 "description": "ListClustersResponse is the result of ListClustersRe
quest.", | 1913 "description": "ListClustersResponse is the result of ListClustersRe
quest.", |
2023 "id": "ListClustersResponse", | 1914 "id": "ListClustersResponse", |
2024 "properties": { | 1915 "properties": { |
| 1916 "clusters": { |
| 1917 "description": "A list of clusters in the project in the spe
cified zone, or\nacross all ones.", |
| 1918 "items": { |
| 1919 "$ref": "Cluster" |
| 1920 }, |
| 1921 "type": "array" |
| 1922 }, |
2025 "missingZones": { | 1923 "missingZones": { |
2026 "description": "If any zones are listed here, the list of cl
usters returned\nmay be missing those zones.", | 1924 "description": "If any zones are listed here, the list of cl
usters returned\nmay be missing those zones.", |
2027 "items": { | 1925 "items": { |
2028 "type": "string" | 1926 "type": "string" |
2029 }, | 1927 }, |
2030 "type": "array" | 1928 "type": "array" |
2031 }, | |
2032 "clusters": { | |
2033 "description": "A list of clusters in the project in the spe
cified zone, or\nacross all ones.", | |
2034 "items": { | |
2035 "$ref": "Cluster" | |
2036 }, | |
2037 "type": "array" | |
2038 } | 1929 } |
2039 }, | 1930 }, |
2040 "type": "object" | 1931 "type": "object" |
2041 }, | 1932 }, |
2042 "HttpLoadBalancing": { | 1933 "HttpLoadBalancing": { |
2043 "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.", | 1934 "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.", |
2044 "id": "HttpLoadBalancing", | 1935 "id": "HttpLoadBalancing", |
2045 "properties": { | 1936 "properties": { |
2046 "disabled": { | 1937 "disabled": { |
2047 "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.", | 1938 "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.", |
2048 "type": "boolean" | 1939 "type": "boolean" |
2049 } | 1940 } |
2050 }, | 1941 }, |
2051 "type": "object" | 1942 "type": "object" |
2052 }, | 1943 }, |
2053 "SetNetworkPolicyRequest": { | 1944 "SetNetworkPolicyRequest": { |
2054 "description": "SetNetworkPolicyRequest enables/disables network pol
icy for a cluster.", | 1945 "description": "SetNetworkPolicyRequest enables/disables network pol
icy for a cluster.", |
2055 "id": "SetNetworkPolicyRequest", | 1946 "id": "SetNetworkPolicyRequest", |
2056 "properties": { | 1947 "properties": { |
2057 "networkPolicy": { | 1948 "networkPolicy": { |
2058 "$ref": "NetworkPolicy", | 1949 "$ref": "NetworkPolicy", |
2059 "description": "Configuration options for the NetworkPolicy
feature." | 1950 "description": "Configuration options for the NetworkPolicy
feature." |
2060 } | 1951 } |
2061 }, | 1952 }, |
2062 "type": "object" | 1953 "type": "object" |
2063 }, | 1954 }, |
| 1955 "SetMasterAuthRequest": { |
| 1956 "description": "SetMasterAuthRequest updates the admin password of a
cluster.", |
| 1957 "id": "SetMasterAuthRequest", |
| 1958 "properties": { |
| 1959 "update": { |
| 1960 "$ref": "MasterAuth", |
| 1961 "description": "A description of the update." |
| 1962 }, |
| 1963 "action": { |
| 1964 "description": "The exact form of action to be taken on the
master auth", |
| 1965 "enum": [ |
| 1966 "UNKNOWN", |
| 1967 "SET_PASSWORD", |
| 1968 "GENERATE_PASSWORD" |
| 1969 ], |
| 1970 "enumDescriptions": [ |
| 1971 "Operation is unknown and will error out", |
| 1972 "Set the password to a user generated value.", |
| 1973 "Generate a new password and set it to that." |
| 1974 ], |
| 1975 "type": "string" |
| 1976 } |
| 1977 }, |
| 1978 "type": "object" |
| 1979 }, |
2064 "ClientCertificateConfig": { | 1980 "ClientCertificateConfig": { |
2065 "description": "Configuration for client certificates on the cluster
.", | 1981 "description": "Configuration for client certificates on the cluster
.", |
2066 "id": "ClientCertificateConfig", | 1982 "id": "ClientCertificateConfig", |
2067 "properties": { | 1983 "properties": { |
2068 "issueClientCertificate": { | 1984 "issueClientCertificate": { |
2069 "description": "Issue a client certificate.", | 1985 "description": "Issue a client certificate.", |
2070 "type": "boolean" | 1986 "type": "boolean" |
2071 } | 1987 } |
2072 }, | 1988 }, |
2073 "type": "object" | 1989 "type": "object" |
(...skipping 12 matching lines...) Expand all Loading... |
2086 "format": "int32", | 2002 "format": "int32", |
2087 "type": "integer" | 2003 "type": "integer" |
2088 }, | 2004 }, |
2089 "enabled": { | 2005 "enabled": { |
2090 "description": "Is autoscaling enabled for this node pool.", | 2006 "description": "Is autoscaling enabled for this node pool.", |
2091 "type": "boolean" | 2007 "type": "boolean" |
2092 } | 2008 } |
2093 }, | 2009 }, |
2094 "type": "object" | 2010 "type": "object" |
2095 }, | 2011 }, |
2096 "SetMasterAuthRequest": { | |
2097 "description": "SetMasterAuthRequest updates the admin password of a
cluster.", | |
2098 "id": "SetMasterAuthRequest", | |
2099 "properties": { | |
2100 "update": { | |
2101 "$ref": "MasterAuth", | |
2102 "description": "A description of the update." | |
2103 }, | |
2104 "action": { | |
2105 "description": "The exact form of action to be taken on the
master auth", | |
2106 "enum": [ | |
2107 "UNKNOWN", | |
2108 "SET_PASSWORD", | |
2109 "GENERATE_PASSWORD" | |
2110 ], | |
2111 "enumDescriptions": [ | |
2112 "Operation is unknown and will error out", | |
2113 "Set the password to a user generated value.", | |
2114 "Generate a new password and set it to that." | |
2115 ], | |
2116 "type": "string" | |
2117 } | |
2118 }, | |
2119 "type": "object" | |
2120 }, | |
2121 "IPAllocationPolicy": { | 2012 "IPAllocationPolicy": { |
2122 "description": "Configuration for controlling how IPs are allocated
in the cluster.", | 2013 "description": "Configuration for controlling how IPs are allocated
in the cluster.", |
2123 "id": "IPAllocationPolicy", | 2014 "id": "IPAllocationPolicy", |
2124 "properties": { | 2015 "properties": { |
2125 "subnetworkName": { | 2016 "subnetworkName": { |
2126 "description": "A custom subnetwork name to be used if `crea
te_subnetwork` is true. If\nthis field is empty, then an automatic name will ch
oosen for the new\nsubnetwork.", | 2017 "description": "A custom subnetwork name to be used if `crea
te_subnetwork` is true. If\nthis field is empty, then an automatic name will ch
oosen for the new\nsubnetwork.", |
2127 "type": "string" | 2018 "type": "string" |
2128 }, | 2019 }, |
2129 "clusterIpv4Cidr": { | 2020 "clusterIpv4Cidr": { |
2130 "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.", | 2021 "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.", |
2131 "type": "string" | 2022 "type": "string" |
2132 }, | 2023 }, |
2133 "nodeIpv4Cidr": { | 2024 "nodeIpv4Cidr": { |
2134 "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.", | 2025 "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.", |
2135 "type": "string" | 2026 "type": "string" |
2136 }, | 2027 }, |
2137 "servicesIpv4Cidr": { | 2028 "servicesIpv4Cidr": { |
2138 "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.", | 2029 "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.", |
2139 "type": "string" | 2030 "type": "string" |
2140 }, | 2031 }, |
| 2032 "createSubnetwork": { |
| 2033 "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.", |
| 2034 "type": "boolean" |
| 2035 }, |
2141 "useIpAliases": { | 2036 "useIpAliases": { |
2142 "description": "Whether alias IPs will be used for pod IPs i
n the cluster.", | 2037 "description": "Whether alias IPs will be used for pod IPs i
n the cluster.", |
2143 "type": "boolean" | 2038 "type": "boolean" |
2144 }, | |
2145 "createSubnetwork": { | |
2146 "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.", | |
2147 "type": "boolean" | |
2148 } | 2039 } |
2149 }, | 2040 }, |
2150 "type": "object" | 2041 "type": "object" |
2151 }, | 2042 }, |
2152 "ClusterUpdate": { | 2043 "ClusterUpdate": { |
2153 "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.", | 2044 "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.", |
2154 "id": "ClusterUpdate", | 2045 "id": "ClusterUpdate", |
2155 "properties": { | 2046 "properties": { |
| 2047 "desiredAddonsConfig": { |
| 2048 "$ref": "AddonsConfig", |
| 2049 "description": "Configurations for the various addons availa
ble to run in the cluster." |
| 2050 }, |
| 2051 "desiredNodePoolId": { |
| 2052 "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.", |
| 2053 "type": "string" |
| 2054 }, |
2156 "desiredNodeVersion": { | 2055 "desiredNodeVersion": { |
2157 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", | 2056 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", |
2158 "type": "string" | 2057 "type": "string" |
2159 }, | 2058 }, |
2160 "desiredMasterVersion": { | 2059 "desiredMasterVersion": { |
2161 "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.", | 2060 "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.", |
2162 "type": "string" | 2061 "type": "string" |
2163 }, | 2062 }, |
2164 "desiredNodePoolAutoscaling": { | 2063 "desiredMasterAuthorizedNetworksConfig": { |
2165 "$ref": "NodePoolAutoscaling", | 2064 "$ref": "MasterAuthorizedNetworksConfig", |
2166 "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." | 2065 "description": "Master authorized networks is a Beta feature
.\nThe desired configuration options for master authorized networks feature." |
2167 }, | 2066 }, |
2168 "desiredLocations": { | 2067 "desiredLocations": { |
2169 "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.", | 2068 "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.", |
2170 "items": { | 2069 "items": { |
2171 "type": "string" | 2070 "type": "string" |
2172 }, | 2071 }, |
2173 "type": "array" | 2072 "type": "array" |
2174 }, | 2073 }, |
| 2074 "desiredNodePoolAutoscaling": { |
| 2075 "$ref": "NodePoolAutoscaling", |
| 2076 "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." |
| 2077 }, |
2175 "desiredMonitoringService": { | 2078 "desiredMonitoringService": { |
2176 "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", | 2079 "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", |
2177 "type": "string" | 2080 "type": "string" |
2178 }, | 2081 }, |
2179 "desiredImageType": { | 2082 "desiredImageType": { |
2180 "description": "The desired image type for the node pool.\nN
OTE: Set the \"desired_node_pool\" field as well.", | 2083 "description": "The desired image type for the node pool.\nN
OTE: Set the \"desired_node_pool\" field as well.", |
2181 "type": "string" | 2084 "type": "string" |
2182 }, | |
2183 "desiredAddonsConfig": { | |
2184 "$ref": "AddonsConfig", | |
2185 "description": "Configurations for the various addons availa
ble to run in the cluster." | |
2186 }, | |
2187 "desiredNodePoolId": { | |
2188 "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.", | |
2189 "type": "string" | |
2190 } | 2085 } |
2191 }, | 2086 }, |
2192 "type": "object" | 2087 "type": "object" |
2193 }, | 2088 }, |
2194 "SetLoggingServiceRequest": { | 2089 "SetLoggingServiceRequest": { |
2195 "description": "SetLoggingServiceRequest sets the logging service of
a cluster.", | 2090 "description": "SetLoggingServiceRequest sets the logging service of
a cluster.", |
2196 "id": "SetLoggingServiceRequest", | 2091 "id": "SetLoggingServiceRequest", |
2197 "properties": { | 2092 "properties": { |
2198 "loggingService": { | 2093 "loggingService": { |
2199 "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", | 2094 "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", |
2200 "type": "string" | 2095 "type": "string" |
2201 } | 2096 } |
2202 }, | 2097 }, |
2203 "type": "object" | 2098 "type": "object" |
2204 }, | 2099 }, |
2205 "HorizontalPodAutoscaling": { | 2100 "HorizontalPodAutoscaling": { |
2206 "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.", | 2101 "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.", |
2207 "id": "HorizontalPodAutoscaling", | 2102 "id": "HorizontalPodAutoscaling", |
2208 "properties": { | 2103 "properties": { |
2209 "disabled": { | 2104 "disabled": { |
2210 "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.", | 2105 "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.", |
2211 "type": "boolean" | 2106 "type": "boolean" |
2212 } | 2107 } |
2213 }, | 2108 }, |
2214 "type": "object" | 2109 "type": "object" |
2215 }, | 2110 }, |
| 2111 "MasterAuthorizedNetworksConfig": { |
| 2112 "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.", |
| 2113 "id": "MasterAuthorizedNetworksConfig", |
| 2114 "properties": { |
| 2115 "enabled": { |
| 2116 "description": "Whether or not master authorized networks is
enabled.", |
| 2117 "type": "boolean" |
| 2118 }, |
| 2119 "cidrBlocks": { |
| 2120 "description": "cidr_blocks define up to 10 external network
s that could access\nKubernetes master through HTTPS.", |
| 2121 "items": { |
| 2122 "$ref": "CidrBlock" |
| 2123 }, |
| 2124 "type": "array" |
| 2125 } |
| 2126 }, |
| 2127 "type": "object" |
| 2128 }, |
2216 "Empty": { | 2129 "Empty": { |
2217 "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 `{}`.", | 2130 "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 `{}`.", |
2218 "id": "Empty", | 2131 "id": "Empty", |
2219 "properties": {}, | 2132 "properties": {}, |
2220 "type": "object" | 2133 "type": "object" |
2221 }, | 2134 }, |
2222 "SetNodePoolManagementRequest": { | 2135 "SetNodePoolManagementRequest": { |
2223 "description": "SetNodePoolManagementRequest sets the node managemen
t properties of a node\npool.", | 2136 "description": "SetNodePoolManagementRequest sets the node managemen
t properties of a node\npool.", |
2224 "id": "SetNodePoolManagementRequest", | 2137 "id": "SetNodePoolManagementRequest", |
2225 "properties": { | 2138 "properties": { |
(...skipping 18 matching lines...) Expand all Loading... |
2244 "CreateClusterRequest": { | 2157 "CreateClusterRequest": { |
2245 "description": "CreateClusterRequest creates a cluster.", | 2158 "description": "CreateClusterRequest creates a cluster.", |
2246 "id": "CreateClusterRequest", | 2159 "id": "CreateClusterRequest", |
2247 "properties": { | 2160 "properties": { |
2248 "cluster": { | 2161 "cluster": { |
2249 "$ref": "Cluster", | 2162 "$ref": "Cluster", |
2250 "description": "A [cluster\nresource](/container-engine/refe
rence/rest/v1/projects.zones.clusters)" | 2163 "description": "A [cluster\nresource](/container-engine/refe
rence/rest/v1/projects.zones.clusters)" |
2251 } | 2164 } |
2252 }, | 2165 }, |
2253 "type": "object" | 2166 "type": "object" |
| 2167 }, |
| 2168 "ListNodePoolsResponse": { |
| 2169 "description": "ListNodePoolsResponse is the result of ListNodePools
Request.", |
| 2170 "id": "ListNodePoolsResponse", |
| 2171 "properties": { |
| 2172 "nodePools": { |
| 2173 "description": "A list of node pools for a cluster.", |
| 2174 "items": { |
| 2175 "$ref": "NodePool" |
| 2176 }, |
| 2177 "type": "array" |
| 2178 } |
| 2179 }, |
| 2180 "type": "object" |
| 2181 }, |
| 2182 "CompleteIPRotationRequest": { |
| 2183 "description": "CompleteIPRotationRequest moves the cluster master b
ack into single-IP mode.", |
| 2184 "id": "CompleteIPRotationRequest", |
| 2185 "properties": {}, |
| 2186 "type": "object" |
| 2187 }, |
| 2188 "StartIPRotationRequest": { |
| 2189 "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."
, |
| 2190 "id": "StartIPRotationRequest", |
| 2191 "properties": {}, |
| 2192 "type": "object" |
| 2193 }, |
| 2194 "UpdateNodePoolRequest": { |
| 2195 "description": "UpdateNodePoolRequests update a node pool's image an
d/or version.", |
| 2196 "id": "UpdateNodePoolRequest", |
| 2197 "properties": { |
| 2198 "nodeVersion": { |
| 2199 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", |
| 2200 "type": "string" |
| 2201 }, |
| 2202 "imageType": { |
| 2203 "description": "The desired image type for the node pool.", |
| 2204 "type": "string" |
| 2205 } |
| 2206 }, |
| 2207 "type": "object" |
| 2208 }, |
| 2209 "AcceleratorConfig": { |
| 2210 "description": "AcceleratorConfig represents a Hardware Accelerator
request.", |
| 2211 "id": "AcceleratorConfig", |
| 2212 "properties": { |
| 2213 "acceleratorType": { |
| 2214 "description": "The accelerator type resource name. List of
supported accelerators\n[here](/compute/docs/gpus/#Introduction)", |
| 2215 "type": "string" |
| 2216 }, |
| 2217 "acceleratorCount": { |
| 2218 "description": "The number of the accelerator cards exposed
to an instance.", |
| 2219 "format": "int64", |
| 2220 "type": "string" |
| 2221 } |
| 2222 }, |
| 2223 "type": "object" |
| 2224 }, |
| 2225 "LegacyAbac": { |
| 2226 "description": "Configuration for the legacy Attribute Based Access
Control authorization\nmode.", |
| 2227 "id": "LegacyAbac", |
| 2228 "properties": { |
| 2229 "enabled": { |
| 2230 "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.", |
| 2231 "type": "boolean" |
| 2232 } |
| 2233 }, |
| 2234 "type": "object" |
| 2235 }, |
| 2236 "SetAddonsConfigRequest": { |
| 2237 "description": "SetAddonsConfigRequest sets the addons associated wi
th the cluster.", |
| 2238 "id": "SetAddonsConfigRequest", |
| 2239 "properties": { |
| 2240 "addonsConfig": { |
| 2241 "$ref": "AddonsConfig", |
| 2242 "description": "The desired configurations for the various a
ddons available to run in the\ncluster." |
| 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 "config": { |
| 2252 "$ref": "NodeConfig", |
| 2253 "description": "The node configuration of the pool." |
| 2254 }, |
| 2255 "statusMessage": { |
| 2256 "description": "[Output only] Additional information about t
he current status of this\nnode pool instance, if available.", |
| 2257 "type": "string" |
| 2258 }, |
| 2259 "name": { |
| 2260 "description": "The name of the node pool.", |
| 2261 "type": "string" |
| 2262 }, |
| 2263 "autoscaling": { |
| 2264 "$ref": "NodePoolAutoscaling", |
| 2265 "description": "Autoscaler configuration for this NodePool.
Autoscaler is enabled\nonly if a valid configuration is present." |
| 2266 }, |
| 2267 "management": { |
| 2268 "$ref": "NodeManagement", |
| 2269 "description": "NodeManagement configuration for this NodePo
ol." |
| 2270 }, |
| 2271 "initialNodeCount": { |
| 2272 "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.", |
| 2273 "format": "int32", |
| 2274 "type": "integer" |
| 2275 }, |
| 2276 "selfLink": { |
| 2277 "description": "[Output only] Server-defined URL for the res
ource.", |
| 2278 "type": "string" |
| 2279 }, |
| 2280 "instanceGroupUrls": { |
| 2281 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\nnode pool.", |
| 2282 "items": { |
| 2283 "type": "string" |
| 2284 }, |
| 2285 "type": "array" |
| 2286 }, |
| 2287 "version": { |
| 2288 "description": "[Output only] The version of the Kubernetes
of this node.", |
| 2289 "type": "string" |
| 2290 }, |
| 2291 "status": { |
| 2292 "description": "[Output only] The status of the nodes in thi
s pool instance.", |
| 2293 "enum": [ |
| 2294 "STATUS_UNSPECIFIED", |
| 2295 "PROVISIONING", |
| 2296 "RUNNING", |
| 2297 "RUNNING_WITH_ERROR", |
| 2298 "RECONCILING", |
| 2299 "STOPPING", |
| 2300 "ERROR" |
| 2301 ], |
| 2302 "enumDescriptions": [ |
| 2303 "Not set.", |
| 2304 "The PROVISIONING state indicates the node pool is being
created.", |
| 2305 "The RUNNING state indicates the node pool has been crea
ted\nand is fully usable.", |
| 2306 "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.", |
| 2307 "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.", |
| 2308 "The STOPPING state indicates the node pool is being del
eted.", |
| 2309 "The ERROR state indicates the node pool may be unusable
. Details\ncan be found in the `statusMessage` field." |
| 2310 ], |
| 2311 "type": "string" |
| 2312 } |
| 2313 }, |
| 2314 "type": "object" |
| 2315 }, |
| 2316 "SetLabelsRequest": { |
| 2317 "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", |
| 2318 "id": "SetLabelsRequest", |
| 2319 "properties": { |
| 2320 "resourceLabels": { |
| 2321 "additionalProperties": { |
| 2322 "type": "string" |
| 2323 }, |
| 2324 "description": "The labels to set for that cluster.", |
| 2325 "type": "object" |
| 2326 }, |
| 2327 "labelFingerprint": { |
| 2328 "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.", |
| 2329 "type": "string" |
| 2330 } |
| 2331 }, |
| 2332 "type": "object" |
2254 } | 2333 } |
2255 }, | 2334 }, |
2256 "servicePath": "", | 2335 "servicePath": "", |
2257 "title": "Google Container Engine API", | 2336 "title": "Google Container Engine API", |
2258 "version": "v1" | 2337 "version": "v1" |
2259 } | 2338 } |
OLD | NEW |