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 "alt": { | 27 "key": { |
28 "default": "json", | 28 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
29 "description": "Data format for response.", | |
30 "enum": [ | |
31 "json", | |
32 "media", | |
33 "proto" | |
34 ], | |
35 "enumDescriptions": [ | |
36 "Responses with Content-Type of application/json", | |
37 "Media download with context-dependent Content-Type", | |
38 "Responses with Content-Type of application/x-protobuf" | |
39 ], | |
40 "location": "query", | 29 "location": "query", |
41 "type": "string" | 30 "type": "string" |
42 }, | 31 }, |
43 "access_token": { | 32 "access_token": { |
44 "description": "OAuth access token.", | 33 "description": "OAuth access token.", |
45 "location": "query", | 34 "location": "query", |
46 "type": "string" | 35 "type": "string" |
47 }, | 36 }, |
48 "key": { | |
49 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
50 "location": "query", | |
51 "type": "string" | |
52 }, | |
53 "quotaUser": { | 37 "quotaUser": { |
54 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | 38 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
55 "location": "query", | 39 "location": "query", |
56 "type": "string" | 40 "type": "string" |
57 }, | 41 }, |
58 "pp": { | 42 "pp": { |
59 "default": "true", | 43 "default": "true", |
60 "description": "Pretty-print response.", | 44 "description": "Pretty-print response.", |
61 "location": "query", | 45 "location": "query", |
62 "type": "boolean" | 46 "type": "boolean" |
(...skipping 12 matching lines...) Expand all Loading... |
75 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 59 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
76 "location": "query", | 60 "location": "query", |
77 "type": "string" | 61 "type": "string" |
78 }, | 62 }, |
79 "prettyPrint": { | 63 "prettyPrint": { |
80 "default": "true", | 64 "default": "true", |
81 "description": "Returns response with indentations and line breaks."
, | 65 "description": "Returns response with indentations and line breaks."
, |
82 "location": "query", | 66 "location": "query", |
83 "type": "boolean" | 67 "type": "boolean" |
84 }, | 68 }, |
| 69 "fields": { |
| 70 "description": "Selector specifying which fields to include in a par
tial response.", |
| 71 "location": "query", |
| 72 "type": "string" |
| 73 }, |
85 "uploadType": { | 74 "uploadType": { |
86 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 75 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
87 "location": "query", | 76 "location": "query", |
88 "type": "string" | 77 "type": "string" |
89 }, | 78 }, |
90 "fields": { | |
91 "description": "Selector specifying which fields to include in a par
tial response.", | |
92 "location": "query", | |
93 "type": "string" | |
94 }, | |
95 "$.xgafv": { | 79 "$.xgafv": { |
96 "description": "V1 error format.", | 80 "description": "V1 error format.", |
97 "enum": [ | 81 "enum": [ |
98 "1", | 82 "1", |
99 "2" | 83 "2" |
100 ], | 84 ], |
101 "enumDescriptions": [ | 85 "enumDescriptions": [ |
102 "v1 error format", | 86 "v1 error format", |
103 "v2 error format" | 87 "v2 error format" |
104 ], | 88 ], |
105 "location": "query", | 89 "location": "query", |
106 "type": "string" | 90 "type": "string" |
107 }, | 91 }, |
108 "callback": { | 92 "callback": { |
109 "description": "JSONP", | 93 "description": "JSONP", |
110 "location": "query", | 94 "location": "query", |
111 "type": "string" | 95 "type": "string" |
| 96 }, |
| 97 "alt": { |
| 98 "default": "json", |
| 99 "description": "Data format for response.", |
| 100 "enum": [ |
| 101 "json", |
| 102 "media", |
| 103 "proto" |
| 104 ], |
| 105 "enumDescriptions": [ |
| 106 "Responses with Content-Type of application/json", |
| 107 "Media download with context-dependent Content-Type", |
| 108 "Responses with Content-Type of application/x-protobuf" |
| 109 ], |
| 110 "location": "query", |
| 111 "type": "string" |
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 "methods": { | 153 "methods": { |
154 "list": { | 154 "list": { |
155 "description": "Lists all operations in a pr
oject in a specific zone or all zones.", | 155 "description": "Lists all operations in a pr
oject in a specific zone or all zones.", |
156 "httpMethod": "GET", | 156 "httpMethod": "GET", |
157 "id": "container.projects.zones.operations.l
ist", | 157 "id": "container.projects.zones.operations.l
ist", |
158 "parameterOrder": [ | 158 "parameterOrder": [ |
159 "projectId", | 159 "projectId", |
160 "zone" | 160 "zone" |
161 ], | 161 ], |
162 "parameters": { | 162 "parameters": { |
| 163 "projectId": { |
| 164 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 165 "location": "path", |
| 166 "required": true, |
| 167 "type": "string" |
| 168 }, |
163 "zone": { | 169 "zone": { |
164 "description": "The name of the Goog
le Compute Engine [zone](/compute/docs/zones#available)\nto return operations fo
r, or `-` for all zones.", | 170 "description": "The name of the Goog
le Compute Engine [zone](/compute/docs/zones#available)\nto return operations fo
r, or `-` for all zones.", |
165 "location": "path", | 171 "location": "path", |
166 "required": true, | 172 "required": true, |
167 "type": "string" | 173 "type": "string" |
168 }, | |
169 "projectId": { | |
170 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
171 "location": "path", | |
172 "required": true, | |
173 "type": "string" | |
174 } | 174 } |
175 }, | 175 }, |
176 "path": "v1/projects/{projectId}/zones/{zone
}/operations", | 176 "path": "v1/projects/{projectId}/zones/{zone
}/operations", |
177 "response": { | 177 "response": { |
178 "$ref": "ListOperationsResponse" | 178 "$ref": "ListOperationsResponse" |
179 }, | 179 }, |
180 "scopes": [ | 180 "scopes": [ |
181 "https://www.googleapis.com/auth/cloud-p
latform" | 181 "https://www.googleapis.com/auth/cloud-p
latform" |
182 ] | 182 ] |
183 }, | 183 }, |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 "$ref": "Empty" | 255 "$ref": "Empty" |
256 }, | 256 }, |
257 "scopes": [ | 257 "scopes": [ |
258 "https://www.googleapis.com/auth/cloud-p
latform" | 258 "https://www.googleapis.com/auth/cloud-p
latform" |
259 ] | 259 ] |
260 } | 260 } |
261 } | 261 } |
262 }, | 262 }, |
263 "clusters": { | 263 "clusters": { |
264 "methods": { | 264 "methods": { |
265 "legacyAbac": { | 265 "setMasterAuth": { |
266 "description": "Enables or disables the ABAC
authorization mechanism on a cluster.", | 266 "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.", |
267 "httpMethod": "POST", | 267 "httpMethod": "POST", |
268 "id": "container.projects.zones.clusters.leg
acyAbac", | 268 "id": "container.projects.zones.clusters.set
MasterAuth", |
269 "parameterOrder": [ | 269 "parameterOrder": [ |
270 "projectId", | 270 "projectId", |
271 "zone", | 271 "zone", |
272 "clusterId" | 272 "clusterId" |
273 ], | 273 ], |
274 "parameters": { | 274 "parameters": { |
275 "projectId": { | 275 "projectId": { |
276 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 276 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
277 "location": "path", | 277 "location": "path", |
278 "required": true, | 278 "required": true, |
279 "type": "string" | 279 "type": "string" |
280 }, | 280 }, |
281 "zone": { | 281 "zone": { |
282 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 282 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
283 "location": "path", | 283 "location": "path", |
284 "required": true, | 284 "required": true, |
285 "type": "string" | 285 "type": "string" |
286 }, | 286 }, |
287 "clusterId": { | 287 "clusterId": { |
288 "description": "The name of the clus
ter to update.", | 288 "description": "The name of the clus
ter to upgrade.", |
289 "location": "path", | 289 "location": "path", |
290 "required": true, | 290 "required": true, |
291 "type": "string" | 291 "type": "string" |
292 } | 292 } |
293 }, | 293 }, |
294 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/legacyAbac", | 294 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:setMasterAuth", |
295 "request": { | 295 "request": { |
296 "$ref": "SetLegacyAbacRequest" | 296 "$ref": "SetMasterAuthRequest" |
297 }, | 297 }, |
298 "response": { | 298 "response": { |
299 "$ref": "Operation" | 299 "$ref": "Operation" |
300 }, | 300 }, |
301 "scopes": [ | 301 "scopes": [ |
302 "https://www.googleapis.com/auth/cloud-p
latform" | 302 "https://www.googleapis.com/auth/cloud-p
latform" |
303 ] | 303 ] |
304 }, | 304 }, |
305 "get": { | 305 "delete": { |
306 "description": "Gets the details of a specif
ic cluster.", | 306 "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."
, |
307 "httpMethod": "GET", | 307 "httpMethod": "DELETE", |
308 "id": "container.projects.zones.clusters.get
", | 308 "id": "container.projects.zones.clusters.del
ete", |
309 "parameterOrder": [ | 309 "parameterOrder": [ |
310 "projectId", | 310 "projectId", |
311 "zone", | 311 "zone", |
312 "clusterId" | 312 "clusterId" |
313 ], | 313 ], |
314 "parameters": { | 314 "parameters": { |
315 "projectId": { | |
316 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | |
317 "location": "path", | |
318 "required": true, | |
319 "type": "string" | |
320 }, | |
321 "zone": { | 315 "zone": { |
322 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 316 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
323 "location": "path", | 317 "location": "path", |
324 "required": true, | 318 "required": true, |
325 "type": "string" | 319 "type": "string" |
326 }, | 320 }, |
327 "clusterId": { | 321 "clusterId": { |
328 "description": "The name of the clus
ter to retrieve.", | 322 "description": "The name of the clus
ter to delete.", |
329 "location": "path", | 323 "location": "path", |
330 "required": true, | 324 "required": true, |
331 "type": "string" | 325 "type": "string" |
| 326 }, |
| 327 "projectId": { |
| 328 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
| 329 "location": "path", |
| 330 "required": true, |
| 331 "type": "string" |
332 } | 332 } |
333 }, | 333 }, |
334 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", | 334 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", |
335 "response": { | 335 "response": { |
336 "$ref": "Cluster" | 336 "$ref": "Operation" |
337 }, | 337 }, |
338 "scopes": [ | 338 "scopes": [ |
339 "https://www.googleapis.com/auth/cloud-p
latform" | 339 "https://www.googleapis.com/auth/cloud-p
latform" |
340 ] | 340 ] |
341 }, | 341 }, |
342 "update": { | 342 "list": { |
343 "description": "Updates the settings of a sp
ecific cluster.", | 343 "description": "Lists all clusters owned by
a project in either the specified zone or all\nzones.", |
344 "httpMethod": "PUT", | 344 "httpMethod": "GET", |
345 "id": "container.projects.zones.clusters.upd
ate", | 345 "id": "container.projects.zones.clusters.lis
t", |
346 "parameterOrder": [ | 346 "parameterOrder": [ |
347 "projectId", | 347 "projectId", |
348 "zone", | 348 "zone" |
349 "clusterId" | |
350 ], | 349 ], |
351 "parameters": { | 350 "parameters": { |
352 "projectId": { | 351 "projectId": { |
353 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 352 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
354 "location": "path", | 353 "location": "path", |
355 "required": true, | 354 "required": true, |
356 "type": "string" | 355 "type": "string" |
357 }, | 356 }, |
358 "zone": { | 357 "zone": { |
359 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 358 "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.", |
360 "location": "path", | |
361 "required": true, | |
362 "type": "string" | |
363 }, | |
364 "clusterId": { | |
365 "description": "The name of the clus
ter to upgrade.", | |
366 "location": "path", | 359 "location": "path", |
367 "required": true, | 360 "required": true, |
368 "type": "string" | 361 "type": "string" |
369 } | 362 } |
370 }, | 363 }, |
371 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", | 364 "path": "v1/projects/{projectId}/zones/{zone
}/clusters", |
372 "request": { | |
373 "$ref": "UpdateClusterRequest" | |
374 }, | |
375 "response": { | 365 "response": { |
376 "$ref": "Operation" | 366 "$ref": "ListClustersResponse" |
377 }, | 367 }, |
378 "scopes": [ | 368 "scopes": [ |
379 "https://www.googleapis.com/auth/cloud-p
latform" | 369 "https://www.googleapis.com/auth/cloud-p
latform" |
380 ] | 370 ] |
381 }, | 371 }, |
382 "startIpRotation": { | 372 "create": { |
383 "description": "Start master IP rotation.", | 373 "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.", |
384 "httpMethod": "POST", | 374 "httpMethod": "POST", |
385 "id": "container.projects.zones.clusters.sta
rtIpRotation", | 375 "id": "container.projects.zones.clusters.cre
ate", |
386 "parameterOrder": [ | 376 "parameterOrder": [ |
387 "projectId", | 377 "projectId", |
388 "zone", | 378 "zone" |
389 "clusterId" | |
390 ], | 379 ], |
391 "parameters": { | 380 "parameters": { |
392 "projectId": { | 381 "projectId": { |
393 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", | 382 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
394 "location": "path", | 383 "location": "path", |
395 "required": true, | 384 "required": true, |
396 "type": "string" | 385 "type": "string" |
397 }, | 386 }, |
398 "zone": { | 387 "zone": { |
399 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 388 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
400 "location": "path", | 389 "location": "path", |
401 "required": true, | 390 "required": true, |
402 "type": "string" | 391 "type": "string" |
403 }, | |
404 "clusterId": { | |
405 "description": "The name of the clus
ter.", | |
406 "location": "path", | |
407 "required": true, | |
408 "type": "string" | |
409 } | 392 } |
410 }, | 393 }, |
411 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:startIpRotation", | 394 "path": "v1/projects/{projectId}/zones/{zone
}/clusters", |
412 "request": { | 395 "request": { |
413 "$ref": "StartIPRotationRequest" | 396 "$ref": "CreateClusterRequest" |
414 }, | 397 }, |
415 "response": { | 398 "response": { |
416 "$ref": "Operation" | 399 "$ref": "Operation" |
417 }, | 400 }, |
418 "scopes": [ | 401 "scopes": [ |
419 "https://www.googleapis.com/auth/cloud-p
latform" | 402 "https://www.googleapis.com/auth/cloud-p
latform" |
420 ] | 403 ] |
421 }, | 404 }, |
422 "setMasterAuth": { | 405 "resourceLabels": { |
423 "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.", | 406 "description": "Sets labels on a cluster.", |
424 "httpMethod": "POST", | 407 "httpMethod": "POST", |
425 "id": "container.projects.zones.clusters.set
MasterAuth", | 408 "id": "container.projects.zones.clusters.res
ourceLabels", |
426 "parameterOrder": [ | 409 "parameterOrder": [ |
427 "projectId", | 410 "projectId", |
428 "zone", | 411 "zone", |
429 "clusterId" | 412 "clusterId" |
430 ], | 413 ], |
431 "parameters": { | 414 "parameters": { |
432 "projectId": { | 415 "projectId": { |
433 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 416 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", |
434 "location": "path", | 417 "location": "path", |
435 "required": true, | 418 "required": true, |
436 "type": "string" | 419 "type": "string" |
437 }, | 420 }, |
438 "zone": { | 421 "zone": { |
439 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 422 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
440 "location": "path", | 423 "location": "path", |
441 "required": true, | 424 "required": true, |
442 "type": "string" | 425 "type": "string" |
443 }, | 426 }, |
444 "clusterId": { | 427 "clusterId": { |
445 "description": "The name of the clus
ter to upgrade.", | 428 "description": "The name of the clus
ter.", |
446 "location": "path", | 429 "location": "path", |
447 "required": true, | 430 "required": true, |
448 "type": "string" | 431 "type": "string" |
449 } | 432 } |
450 }, | 433 }, |
451 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:setMasterAuth", | 434 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/resourceLabels", |
452 "request": { | 435 "request": { |
453 "$ref": "SetMasterAuthRequest" | 436 "$ref": "SetLabelsRequest" |
454 }, | 437 }, |
455 "response": { | 438 "response": { |
456 "$ref": "Operation" | 439 "$ref": "Operation" |
457 }, | 440 }, |
458 "scopes": [ | 441 "scopes": [ |
459 "https://www.googleapis.com/auth/cloud-p
latform" | 442 "https://www.googleapis.com/auth/cloud-p
latform" |
460 ] | 443 ] |
461 }, | 444 }, |
462 "delete": { | 445 "completeIpRotation": { |
463 "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."
, | 446 "description": "Completes master IP rotation
.", |
464 "httpMethod": "DELETE", | 447 "httpMethod": "POST", |
465 "id": "container.projects.zones.clusters.del
ete", | 448 "id": "container.projects.zones.clusters.com
pleteIpRotation", |
466 "parameterOrder": [ | 449 "parameterOrder": [ |
467 "projectId", | 450 "projectId", |
468 "zone", | 451 "zone", |
469 "clusterId" | 452 "clusterId" |
470 ], | 453 ], |
471 "parameters": { | 454 "parameters": { |
472 "projectId": { | 455 "projectId": { |
473 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 456 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", |
474 "location": "path", | 457 "location": "path", |
475 "required": true, | 458 "required": true, |
476 "type": "string" | 459 "type": "string" |
477 }, | 460 }, |
478 "zone": { | 461 "zone": { |
479 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 462 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
480 "location": "path", | 463 "location": "path", |
481 "required": true, | 464 "required": true, |
482 "type": "string" | 465 "type": "string" |
483 }, | 466 }, |
484 "clusterId": { | 467 "clusterId": { |
485 "description": "The name of the clus
ter to delete.", | 468 "description": "The name of the clus
ter.", |
486 "location": "path", | 469 "location": "path", |
487 "required": true, | 470 "required": true, |
488 "type": "string" | 471 "type": "string" |
489 } | 472 } |
490 }, | 473 }, |
491 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", | 474 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:completeIpRotation", |
| 475 "request": { |
| 476 "$ref": "CompleteIPRotationRequest" |
| 477 }, |
492 "response": { | 478 "response": { |
493 "$ref": "Operation" | 479 "$ref": "Operation" |
494 }, | 480 }, |
495 "scopes": [ | 481 "scopes": [ |
496 "https://www.googleapis.com/auth/cloud-p
latform" | 482 "https://www.googleapis.com/auth/cloud-p
latform" |
497 ] | 483 ] |
498 }, | 484 }, |
499 "list": { | 485 "legacyAbac": { |
500 "description": "Lists all clusters owned by
a project in either the specified zone or all\nzones.", | 486 "description": "Enables or disables the ABAC
authorization mechanism on a cluster.", |
501 "httpMethod": "GET", | 487 "httpMethod": "POST", |
502 "id": "container.projects.zones.clusters.lis
t", | 488 "id": "container.projects.zones.clusters.leg
acyAbac", |
503 "parameterOrder": [ | 489 "parameterOrder": [ |
504 "projectId", | 490 "projectId", |
505 "zone" | 491 "zone", |
| 492 "clusterId" |
506 ], | 493 ], |
507 "parameters": { | 494 "parameters": { |
508 "projectId": { | 495 "projectId": { |
509 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", | 496 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
510 "location": "path", | 497 "location": "path", |
511 "required": true, | 498 "required": true, |
512 "type": "string" | 499 "type": "string" |
513 }, | 500 }, |
514 "zone": { | 501 "zone": { |
515 "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.", | 502 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 503 "location": "path", |
| 504 "required": true, |
| 505 "type": "string" |
| 506 }, |
| 507 "clusterId": { |
| 508 "description": "The name of the clus
ter to update.", |
516 "location": "path", | 509 "location": "path", |
517 "required": true, | 510 "required": true, |
518 "type": "string" | 511 "type": "string" |
519 } | 512 } |
520 }, | 513 }, |
521 "path": "v1/projects/{projectId}/zones/{zone
}/clusters", | 514 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/legacyAbac", |
| 515 "request": { |
| 516 "$ref": "SetLegacyAbacRequest" |
| 517 }, |
522 "response": { | 518 "response": { |
523 "$ref": "ListClustersResponse" | 519 "$ref": "Operation" |
524 }, | 520 }, |
525 "scopes": [ | 521 "scopes": [ |
526 "https://www.googleapis.com/auth/cloud-p
latform" | 522 "https://www.googleapis.com/auth/cloud-p
latform" |
527 ] | 523 ] |
528 }, | 524 }, |
529 "resourceLabels": { | 525 "get": { |
530 "description": "Sets labels on a cluster.", | 526 "description": "Gets the details of a specif
ic cluster.", |
531 "httpMethod": "POST", | 527 "httpMethod": "GET", |
532 "id": "container.projects.zones.clusters.res
ourceLabels", | 528 "id": "container.projects.zones.clusters.get
", |
533 "parameterOrder": [ | 529 "parameterOrder": [ |
534 "projectId", | 530 "projectId", |
535 "zone", | 531 "zone", |
536 "clusterId" | 532 "clusterId" |
537 ], | 533 ], |
538 "parameters": { | 534 "parameters": { |
539 "zone": { | 535 "zone": { |
540 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 536 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
541 "location": "path", | 537 "location": "path", |
542 "required": true, | 538 "required": true, |
543 "type": "string" | 539 "type": "string" |
544 }, | 540 }, |
545 "clusterId": { | 541 "clusterId": { |
546 "description": "The name of the clus
ter.", | 542 "description": "The name of the clus
ter to retrieve.", |
547 "location": "path", | 543 "location": "path", |
548 "required": true, | 544 "required": true, |
549 "type": "string" | 545 "type": "string" |
550 }, | 546 }, |
551 "projectId": { | 547 "projectId": { |
552 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", | 548 "description": "The Google Developer
s Console [project ID or project\nnumber](https://support.google.com/cloud/answe
r/6158840).", |
553 "location": "path", | 549 "location": "path", |
554 "required": true, | 550 "required": true, |
555 "type": "string" | 551 "type": "string" |
556 } | 552 } |
557 }, | 553 }, |
558 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}/resourceLabels", | 554 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", |
559 "request": { | |
560 "$ref": "SetLabelsRequest" | |
561 }, | |
562 "response": { | 555 "response": { |
563 "$ref": "Operation" | 556 "$ref": "Cluster" |
564 }, | 557 }, |
565 "scopes": [ | 558 "scopes": [ |
566 "https://www.googleapis.com/auth/cloud-p
latform" | 559 "https://www.googleapis.com/auth/cloud-p
latform" |
567 ] | 560 ] |
568 }, | 561 }, |
569 "create": { | 562 "update": { |
570 "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.", | 563 "description": "Updates the settings of a sp
ecific cluster.", |
571 "httpMethod": "POST", | 564 "httpMethod": "PUT", |
572 "id": "container.projects.zones.clusters.cre
ate", | 565 "id": "container.projects.zones.clusters.upd
ate", |
573 "parameterOrder": [ | 566 "parameterOrder": [ |
574 "projectId", | 567 "projectId", |
575 "zone" | 568 "zone", |
| 569 "clusterId" |
576 ], | 570 ], |
577 "parameters": { | 571 "parameters": { |
| 572 "zone": { |
| 573 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
| 574 "location": "path", |
| 575 "required": true, |
| 576 "type": "string" |
| 577 }, |
| 578 "clusterId": { |
| 579 "description": "The name of the clus
ter to upgrade.", |
| 580 "location": "path", |
| 581 "required": true, |
| 582 "type": "string" |
| 583 }, |
578 "projectId": { | 584 "projectId": { |
579 "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://support.google.com/cloud/answe
r/6158840).", |
580 "location": "path", | 586 "location": "path", |
581 "required": true, | 587 "required": true, |
582 "type": "string" | 588 "type": "string" |
583 }, | |
584 "zone": { | |
585 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | |
586 "location": "path", | |
587 "required": true, | |
588 "type": "string" | |
589 } | 589 } |
590 }, | 590 }, |
591 "path": "v1/projects/{projectId}/zones/{zone
}/clusters", | 591 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}", |
592 "request": { | 592 "request": { |
593 "$ref": "CreateClusterRequest" | 593 "$ref": "UpdateClusterRequest" |
594 }, | 594 }, |
595 "response": { | 595 "response": { |
596 "$ref": "Operation" | 596 "$ref": "Operation" |
597 }, | 597 }, |
598 "scopes": [ | 598 "scopes": [ |
599 "https://www.googleapis.com/auth/cloud-p
latform" | 599 "https://www.googleapis.com/auth/cloud-p
latform" |
600 ] | 600 ] |
601 }, | 601 }, |
602 "completeIpRotation": { | 602 "startIpRotation": { |
603 "description": "Completes master IP rotation
.", | 603 "description": "Start master IP rotation.", |
604 "httpMethod": "POST", | 604 "httpMethod": "POST", |
605 "id": "container.projects.zones.clusters.com
pleteIpRotation", | 605 "id": "container.projects.zones.clusters.sta
rtIpRotation", |
606 "parameterOrder": [ | 606 "parameterOrder": [ |
607 "projectId", | 607 "projectId", |
608 "zone", | 608 "zone", |
609 "clusterId" | 609 "clusterId" |
610 ], | 610 ], |
611 "parameters": { | 611 "parameters": { |
612 "projectId": { | |
613 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", | |
614 "location": "path", | |
615 "required": true, | |
616 "type": "string" | |
617 }, | |
618 "zone": { | 612 "zone": { |
619 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", | 613 "description": "The name of the Goog
le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr
esides.", |
620 "location": "path", | 614 "location": "path", |
621 "required": true, | 615 "required": true, |
622 "type": "string" | 616 "type": "string" |
623 }, | 617 }, |
624 "clusterId": { | 618 "clusterId": { |
625 "description": "The name of the clus
ter.", | 619 "description": "The name of the clus
ter.", |
626 "location": "path", | 620 "location": "path", |
627 "required": true, | 621 "required": true, |
628 "type": "string" | 622 "type": "string" |
| 623 }, |
| 624 "projectId": { |
| 625 "description": "The Google Developer
s Console [project ID or project\nnumber](https://developers.google.com/console/
help/new/#projectnumber).", |
| 626 "location": "path", |
| 627 "required": true, |
| 628 "type": "string" |
629 } | 629 } |
630 }, | 630 }, |
631 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:completeIpRotation", | 631 "path": "v1/projects/{projectId}/zones/{zone
}/clusters/{clusterId}:startIpRotation", |
632 "request": { | 632 "request": { |
633 "$ref": "CompleteIPRotationRequest" | 633 "$ref": "StartIPRotationRequest" |
634 }, | 634 }, |
635 "response": { | 635 "response": { |
636 "$ref": "Operation" | 636 "$ref": "Operation" |
637 }, | 637 }, |
638 "scopes": [ | 638 "scopes": [ |
639 "https://www.googleapis.com/auth/cloud-p
latform" | 639 "https://www.googleapis.com/auth/cloud-p
latform" |
640 ] | 640 ] |
641 } | 641 } |
642 }, | 642 }, |
643 "resources": { | 643 "resources": { |
644 "nodePools": { | 644 "nodePools": { |
645 "methods": { | 645 "methods": { |
646 "list": { | 646 "get": { |
647 "description": "Lists the node pools
for a cluster.", | 647 "description": "Retrieves the node p
ool requested.", |
648 "httpMethod": "GET", | 648 "httpMethod": "GET", |
649 "id": "container.projects.zones.clus
ters.nodePools.list", | 649 "id": "container.projects.zones.clus
ters.nodePools.get", |
650 "parameterOrder": [ | 650 "parameterOrder": [ |
651 "projectId", | 651 "projectId", |
652 "zone", | 652 "zone", |
653 "clusterId" | 653 "clusterId", |
| 654 "nodePoolId" |
654 ], | 655 ], |
655 "parameters": { | 656 "parameters": { |
656 "projectId": { | 657 "projectId": { |
657 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | 658 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
658 "location": "path", | 659 "location": "path", |
659 "required": true, | 660 "required": true, |
660 "type": "string" | 661 "type": "string" |
661 }, | 662 }, |
662 "zone": { | 663 "zone": { |
663 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 664 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
664 "location": "path", | 665 "location": "path", |
665 "required": true, | 666 "required": true, |
666 "type": "string" | 667 "type": "string" |
667 }, | 668 }, |
668 "clusterId": { | 669 "clusterId": { |
669 "description": "The name of
the cluster.", | 670 "description": "The name of
the cluster.", |
670 "location": "path", | 671 "location": "path", |
671 "required": true, | 672 "required": true, |
672 "type": "string" | 673 "type": "string" |
| 674 }, |
| 675 "nodePoolId": { |
| 676 "description": "The name of
the node pool.", |
| 677 "location": "path", |
| 678 "required": true, |
| 679 "type": "string" |
673 } | 680 } |
674 }, | 681 }, |
675 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", | 682 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
676 "response": { | 683 "response": { |
677 "$ref": "ListNodePoolsResponse" | 684 "$ref": "NodePool" |
678 }, | 685 }, |
679 "scopes": [ | 686 "scopes": [ |
680 "https://www.googleapis.com/auth
/cloud-platform" | 687 "https://www.googleapis.com/auth
/cloud-platform" |
681 ] | 688 ] |
682 }, | 689 }, |
683 "rollback": { | 690 "setManagement": { |
684 "description": "Roll back the previo
usly Aborted or Failed NodePool upgrade.\nThis will be an no-op if the last upgr
ade successfully completed.", | 691 "description": "Sets the NodeManagem
ent options for a node pool.", |
685 "httpMethod": "POST", | 692 "httpMethod": "POST", |
686 "id": "container.projects.zones.clus
ters.nodePools.rollback", | 693 "id": "container.projects.zones.clus
ters.nodePools.setManagement", |
687 "parameterOrder": [ | 694 "parameterOrder": [ |
688 "projectId", | 695 "projectId", |
689 "zone", | 696 "zone", |
690 "clusterId", | 697 "clusterId", |
691 "nodePoolId" | 698 "nodePoolId" |
692 ], | 699 ], |
693 "parameters": { | 700 "parameters": { |
694 "projectId": { | 701 "projectId": { |
695 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | 702 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
696 "location": "path", | 703 "location": "path", |
697 "required": true, | 704 "required": true, |
698 "type": "string" | 705 "type": "string" |
699 }, | 706 }, |
700 "zone": { | 707 "zone": { |
701 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 708 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
702 "location": "path", | 709 "location": "path", |
703 "required": true, | 710 "required": true, |
704 "type": "string" | 711 "type": "string" |
705 }, | 712 }, |
706 "clusterId": { | 713 "clusterId": { |
707 "description": "The name of
the cluster to rollback.", | 714 "description": "The name of
the cluster to update.", |
708 "location": "path", | 715 "location": "path", |
709 "required": true, | 716 "required": true, |
710 "type": "string" | 717 "type": "string" |
711 }, | 718 }, |
712 "nodePoolId": { | 719 "nodePoolId": { |
713 "description": "The name of
the node pool to rollback.", | 720 "description": "The name of
the node pool to update.", |
714 "location": "path", | 721 "location": "path", |
715 "required": true, | 722 "required": true, |
716 "type": "string" | 723 "type": "string" |
717 } | 724 } |
718 }, | 725 }, |
719 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", | 726 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", |
720 "request": { | 727 "request": { |
721 "$ref": "RollbackNodePoolUpgrade
Request" | 728 "$ref": "SetNodePoolManagementRe
quest" |
722 }, | 729 }, |
723 "response": { | 730 "response": { |
724 "$ref": "Operation" | 731 "$ref": "Operation" |
725 }, | 732 }, |
726 "scopes": [ | 733 "scopes": [ |
727 "https://www.googleapis.com/auth
/cloud-platform" | 734 "https://www.googleapis.com/auth
/cloud-platform" |
728 ] | 735 ] |
729 }, | 736 }, |
730 "create": { | 737 "delete": { |
731 "description": "Creates a node pool
for a cluster.", | 738 "description": "Deletes a node pool
from a cluster.", |
732 "httpMethod": "POST", | 739 "httpMethod": "DELETE", |
733 "id": "container.projects.zones.clus
ters.nodePools.create", | 740 "id": "container.projects.zones.clus
ters.nodePools.delete", |
734 "parameterOrder": [ | 741 "parameterOrder": [ |
735 "projectId", | 742 "projectId", |
736 "zone", | 743 "zone", |
737 "clusterId" | 744 "clusterId", |
| 745 "nodePoolId" |
738 ], | 746 ], |
739 "parameters": { | 747 "parameters": { |
| 748 "nodePoolId": { |
| 749 "description": "The name of
the node pool to delete.", |
| 750 "location": "path", |
| 751 "required": true, |
| 752 "type": "string" |
| 753 }, |
740 "projectId": { | 754 "projectId": { |
741 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | 755 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
742 "location": "path", | 756 "location": "path", |
743 "required": true, | 757 "required": true, |
744 "type": "string" | 758 "type": "string" |
745 }, | 759 }, |
746 "zone": { | 760 "zone": { |
747 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 761 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
748 "location": "path", | 762 "location": "path", |
749 "required": true, | 763 "required": true, |
750 "type": "string" | 764 "type": "string" |
751 }, | 765 }, |
752 "clusterId": { | 766 "clusterId": { |
753 "description": "The name of
the cluster.", | 767 "description": "The name of
the cluster.", |
754 "location": "path", | 768 "location": "path", |
755 "required": true, | 769 "required": true, |
756 "type": "string" | 770 "type": "string" |
757 } | 771 } |
758 }, | 772 }, |
759 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", | 773 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", |
760 "request": { | |
761 "$ref": "CreateNodePoolRequest" | |
762 }, | |
763 "response": { | 774 "response": { |
764 "$ref": "Operation" | 775 "$ref": "Operation" |
765 }, | 776 }, |
766 "scopes": [ | 777 "scopes": [ |
767 "https://www.googleapis.com/auth
/cloud-platform" | 778 "https://www.googleapis.com/auth
/cloud-platform" |
768 ] | 779 ] |
769 }, | 780 }, |
770 "get": { | 781 "list": { |
771 "description": "Retrieves the node p
ool requested.", | 782 "description": "Lists the node pools
for a cluster.", |
772 "httpMethod": "GET", | 783 "httpMethod": "GET", |
773 "id": "container.projects.zones.clus
ters.nodePools.get", | 784 "id": "container.projects.zones.clus
ters.nodePools.list", |
774 "parameterOrder": [ | 785 "parameterOrder": [ |
775 "projectId", | 786 "projectId", |
776 "zone", | 787 "zone", |
777 "clusterId", | 788 "clusterId" |
778 "nodePoolId" | |
779 ], | 789 ], |
780 "parameters": { | 790 "parameters": { |
781 "nodePoolId": { | |
782 "description": "The name of
the node pool.", | |
783 "location": "path", | |
784 "required": true, | |
785 "type": "string" | |
786 }, | |
787 "projectId": { | 791 "projectId": { |
788 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | 792 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
789 "location": "path", | 793 "location": "path", |
790 "required": true, | 794 "required": true, |
791 "type": "string" | 795 "type": "string" |
792 }, | 796 }, |
793 "zone": { | 797 "zone": { |
794 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 798 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
795 "location": "path", | 799 "location": "path", |
796 "required": true, | 800 "required": true, |
797 "type": "string" | 801 "type": "string" |
798 }, | 802 }, |
799 "clusterId": { | 803 "clusterId": { |
800 "description": "The name of
the cluster.", | 804 "description": "The name of
the cluster.", |
801 "location": "path", | 805 "location": "path", |
802 "required": true, | 806 "required": true, |
803 "type": "string" | 807 "type": "string" |
804 } | 808 } |
805 }, | 809 }, |
806 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", | 810 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", |
807 "response": { | 811 "response": { |
808 "$ref": "NodePool" | 812 "$ref": "ListNodePoolsResponse" |
809 }, | 813 }, |
810 "scopes": [ | 814 "scopes": [ |
811 "https://www.googleapis.com/auth
/cloud-platform" | 815 "https://www.googleapis.com/auth
/cloud-platform" |
812 ] | 816 ] |
813 }, | 817 }, |
814 "setManagement": { | 818 "rollback": { |
815 "description": "Sets the NodeManagem
ent options for a node pool.", | 819 "description": "Roll back the previo
usly Aborted or Failed NodePool upgrade.\nThis will be an no-op if the last upgr
ade successfully completed.", |
816 "httpMethod": "POST", | 820 "httpMethod": "POST", |
817 "id": "container.projects.zones.clus
ters.nodePools.setManagement", | 821 "id": "container.projects.zones.clus
ters.nodePools.rollback", |
818 "parameterOrder": [ | 822 "parameterOrder": [ |
819 "projectId", | 823 "projectId", |
820 "zone", | 824 "zone", |
821 "clusterId", | 825 "clusterId", |
822 "nodePoolId" | 826 "nodePoolId" |
823 ], | 827 ], |
824 "parameters": { | 828 "parameters": { |
825 "nodePoolId": { | |
826 "description": "The name of
the node pool to update.", | |
827 "location": "path", | |
828 "required": true, | |
829 "type": "string" | |
830 }, | |
831 "projectId": { | 829 "projectId": { |
832 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", | 830 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://support.google.com/clo
ud/answer/6158840).", |
833 "location": "path", | 831 "location": "path", |
834 "required": true, | 832 "required": true, |
835 "type": "string" | 833 "type": "string" |
836 }, | 834 }, |
837 "zone": { | 835 "zone": { |
838 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 836 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
839 "location": "path", | 837 "location": "path", |
840 "required": true, | 838 "required": true, |
841 "type": "string" | 839 "type": "string" |
842 }, | 840 }, |
843 "clusterId": { | 841 "clusterId": { |
844 "description": "The name of
the cluster to update.", | 842 "description": "The name of
the cluster to rollback.", |
| 843 "location": "path", |
| 844 "required": true, |
| 845 "type": "string" |
| 846 }, |
| 847 "nodePoolId": { |
| 848 "description": "The name of
the node pool to rollback.", |
845 "location": "path", | 849 "location": "path", |
846 "required": true, | 850 "required": true, |
847 "type": "string" | 851 "type": "string" |
848 } | 852 } |
849 }, | 853 }, |
850 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", | 854 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", |
851 "request": { | 855 "request": { |
852 "$ref": "SetNodePoolManagementRe
quest" | 856 "$ref": "RollbackNodePoolUpgrade
Request" |
853 }, | 857 }, |
854 "response": { | 858 "response": { |
855 "$ref": "Operation" | 859 "$ref": "Operation" |
856 }, | 860 }, |
857 "scopes": [ | 861 "scopes": [ |
858 "https://www.googleapis.com/auth
/cloud-platform" | 862 "https://www.googleapis.com/auth
/cloud-platform" |
859 ] | 863 ] |
860 }, | 864 }, |
861 "delete": { | 865 "create": { |
862 "description": "Deletes a node pool
from a cluster.", | 866 "description": "Creates a node pool
for a cluster.", |
863 "httpMethod": "DELETE", | 867 "httpMethod": "POST", |
864 "id": "container.projects.zones.clus
ters.nodePools.delete", | 868 "id": "container.projects.zones.clus
ters.nodePools.create", |
865 "parameterOrder": [ | 869 "parameterOrder": [ |
866 "projectId", | 870 "projectId", |
867 "zone", | 871 "zone", |
868 "clusterId", | 872 "clusterId" |
869 "nodePoolId" | |
870 ], | 873 ], |
871 "parameters": { | 874 "parameters": { |
872 "projectId": { | |
873 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", | |
874 "location": "path", | |
875 "required": true, | |
876 "type": "string" | |
877 }, | |
878 "zone": { | 875 "zone": { |
879 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", | 876 "description": "The name of
the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl
uster\nresides.", |
880 "location": "path", | 877 "location": "path", |
881 "required": true, | 878 "required": true, |
882 "type": "string" | 879 "type": "string" |
883 }, | 880 }, |
884 "clusterId": { | 881 "clusterId": { |
885 "description": "The name of
the cluster.", | 882 "description": "The name of
the cluster.", |
886 "location": "path", | 883 "location": "path", |
887 "required": true, | 884 "required": true, |
888 "type": "string" | 885 "type": "string" |
889 }, | 886 }, |
890 "nodePoolId": { | 887 "projectId": { |
891 "description": "The name of
the node pool to delete.", | 888 "description": "The Google D
evelopers Console [project ID or project\nnumber](https://developers.google.com/
console/help/new/#projectnumber).", |
892 "location": "path", | 889 "location": "path", |
893 "required": true, | 890 "required": true, |
894 "type": "string" | 891 "type": "string" |
895 } | 892 } |
896 }, | 893 }, |
897 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", | 894 "path": "v1/projects/{projectId}/zon
es/{zone}/clusters/{clusterId}/nodePools", |
| 895 "request": { |
| 896 "$ref": "CreateNodePoolRequest" |
| 897 }, |
898 "response": { | 898 "response": { |
899 "$ref": "Operation" | 899 "$ref": "Operation" |
900 }, | 900 }, |
901 "scopes": [ | 901 "scopes": [ |
902 "https://www.googleapis.com/auth
/cloud-platform" | 902 "https://www.googleapis.com/auth
/cloud-platform" |
903 ] | 903 ] |
904 } | 904 } |
905 } | 905 } |
906 } | 906 } |
907 } | 907 } |
908 } | 908 } |
909 } | 909 } |
910 } | 910 } |
911 } | 911 } |
912 } | 912 } |
913 }, | 913 }, |
914 "revision": "20170430", | 914 "revision": "20170526", |
915 "rootUrl": "https://container.googleapis.com/", | 915 "rootUrl": "https://container.googleapis.com/", |
916 "schemas": { | 916 "schemas": { |
917 "HttpLoadBalancing": { | |
918 "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.", | |
919 "id": "HttpLoadBalancing", | |
920 "properties": { | |
921 "disabled": { | |
922 "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.", | |
923 "type": "boolean" | |
924 } | |
925 }, | |
926 "type": "object" | |
927 }, | |
928 "NodePoolAutoscaling": { | |
929 "description": "NodePoolAutoscaling contains information required by
cluster autoscaler to\nadjust the size of the node pool to the current cluster
usage.", | |
930 "id": "NodePoolAutoscaling", | |
931 "properties": { | |
932 "maxNodeCount": { | |
933 "description": "Maximum number of nodes in the NodePool. Mus
t be >= min_node_count. There\nhas to enough quota to scale up the cluster.", | |
934 "format": "int32", | |
935 "type": "integer" | |
936 }, | |
937 "minNodeCount": { | |
938 "description": "Minimum number of nodes in the NodePool. Mus
t be >= 1 and <=\nmax_node_count.", | |
939 "format": "int32", | |
940 "type": "integer" | |
941 }, | |
942 "enabled": { | |
943 "description": "Is autoscaling enabled for this node pool.", | |
944 "type": "boolean" | |
945 } | |
946 }, | |
947 "type": "object" | |
948 }, | |
949 "SetMasterAuthRequest": { | |
950 "description": "SetMasterAuthRequest updates the admin password of a
cluster.", | |
951 "id": "SetMasterAuthRequest", | |
952 "properties": { | |
953 "update": { | |
954 "$ref": "MasterAuth", | |
955 "description": "A description of the update." | |
956 }, | |
957 "action": { | |
958 "description": "The exact form of action to be taken on the
master auth", | |
959 "enum": [ | |
960 "UNKNOWN", | |
961 "SET_PASSWORD", | |
962 "GENERATE_PASSWORD" | |
963 ], | |
964 "enumDescriptions": [ | |
965 "Operation is unknown and will error out", | |
966 "Set the password to a user generated value.", | |
967 "Generate a new password and set it to that." | |
968 ], | |
969 "type": "string" | |
970 } | |
971 }, | |
972 "type": "object" | |
973 }, | |
974 "ClusterUpdate": { | |
975 "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.", | |
976 "id": "ClusterUpdate", | |
977 "properties": { | |
978 "desiredLocations": { | |
979 "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.", | |
980 "items": { | |
981 "type": "string" | |
982 }, | |
983 "type": "array" | |
984 }, | |
985 "desiredNodePoolAutoscaling": { | |
986 "$ref": "NodePoolAutoscaling", | |
987 "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." | |
988 }, | |
989 "desiredMonitoringService": { | |
990 "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", | |
991 "type": "string" | |
992 }, | |
993 "desiredImageType": { | |
994 "description": "The desired image type for the node pool.\nN
OTE: Set the \"desired_node_pool\" field as well.", | |
995 "type": "string" | |
996 }, | |
997 "desiredAddonsConfig": { | |
998 "$ref": "AddonsConfig", | |
999 "description": "Configurations for the various addons availa
ble to run in the cluster." | |
1000 }, | |
1001 "desiredNodePoolId": { | |
1002 "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.", | |
1003 "type": "string" | |
1004 }, | |
1005 "desiredNodeVersion": { | |
1006 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", | |
1007 "type": "string" | |
1008 }, | |
1009 "desiredMasterVersion": { | |
1010 "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.", | |
1011 "type": "string" | |
1012 } | |
1013 }, | |
1014 "type": "object" | |
1015 }, | |
1016 "HorizontalPodAutoscaling": { | |
1017 "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.", | |
1018 "id": "HorizontalPodAutoscaling", | |
1019 "properties": { | |
1020 "disabled": { | |
1021 "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.", | |
1022 "type": "boolean" | |
1023 } | |
1024 }, | |
1025 "type": "object" | |
1026 }, | |
1027 "Empty": { | |
1028 "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 `{}`.", | |
1029 "id": "Empty", | |
1030 "properties": {}, | |
1031 "type": "object" | |
1032 }, | |
1033 "SetNodePoolManagementRequest": { | |
1034 "description": "SetNodePoolManagementRequest sets the node managemen
t properties of a node\npool.", | |
1035 "id": "SetNodePoolManagementRequest", | |
1036 "properties": { | |
1037 "management": { | |
1038 "$ref": "NodeManagement", | |
1039 "description": "NodeManagement configuration for the node po
ol." | |
1040 } | |
1041 }, | |
1042 "type": "object" | |
1043 }, | |
1044 "CreateClusterRequest": { | |
1045 "description": "CreateClusterRequest creates a cluster.", | |
1046 "id": "CreateClusterRequest", | |
1047 "properties": { | |
1048 "cluster": { | |
1049 "$ref": "Cluster", | |
1050 "description": "A [cluster\nresource](/container-engine/refe
rence/rest/v1/projects.zones.clusters)" | |
1051 } | |
1052 }, | |
1053 "type": "object" | |
1054 }, | |
1055 "ListNodePoolsResponse": { | 917 "ListNodePoolsResponse": { |
1056 "description": "ListNodePoolsResponse is the result of ListNodePools
Request.", | 918 "description": "ListNodePoolsResponse is the result of ListNodePools
Request.", |
1057 "id": "ListNodePoolsResponse", | 919 "id": "ListNodePoolsResponse", |
1058 "properties": { | 920 "properties": { |
1059 "nodePools": { | 921 "nodePools": { |
1060 "description": "A list of node pools for a cluster.", | 922 "description": "A list of node pools for a cluster.", |
1061 "items": { | 923 "items": { |
1062 "$ref": "NodePool" | 924 "$ref": "NodePool" |
1063 }, | 925 }, |
1064 "type": "array" | 926 "type": "array" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1130 "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.", | 992 "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.", |
1131 "The STOPPING state indicates the node pool is being del
eted.", | 993 "The STOPPING state indicates the node pool is being del
eted.", |
1132 "The ERROR state indicates the node pool may be unusable
. Details\ncan be found in the `statusMessage` field." | 994 "The ERROR state indicates the node pool may be unusable
. Details\ncan be found in the `statusMessage` field." |
1133 ], | 995 ], |
1134 "type": "string" | 996 "type": "string" |
1135 }, | 997 }, |
1136 "config": { | 998 "config": { |
1137 "$ref": "NodeConfig", | 999 "$ref": "NodeConfig", |
1138 "description": "The node configuration of the pool." | 1000 "description": "The node configuration of the pool." |
1139 }, | 1001 }, |
| 1002 "statusMessage": { |
| 1003 "description": "[Output only] Additional information about t
he current status of this\nnode pool instance, if available.", |
| 1004 "type": "string" |
| 1005 }, |
1140 "name": { | 1006 "name": { |
1141 "description": "The name of the node pool.", | 1007 "description": "The name of the node pool.", |
1142 "type": "string" | 1008 "type": "string" |
1143 }, | 1009 }, |
1144 "statusMessage": { | |
1145 "description": "[Output only] Additional information about t
he current status of this\nnode pool instance, if available.", | |
1146 "type": "string" | |
1147 }, | |
1148 "autoscaling": { | 1010 "autoscaling": { |
1149 "$ref": "NodePoolAutoscaling", | 1011 "$ref": "NodePoolAutoscaling", |
1150 "description": "Autoscaler configuration for this NodePool.
Autoscaler is enabled\nonly if a valid configuration is present." | 1012 "description": "Autoscaler configuration for this NodePool.
Autoscaler is enabled\nonly if a valid configuration is present." |
1151 }, | 1013 }, |
| 1014 "management": { |
| 1015 "$ref": "NodeManagement", |
| 1016 "description": "NodeManagement configuration for this NodePo
ol." |
| 1017 }, |
1152 "initialNodeCount": { | 1018 "initialNodeCount": { |
1153 "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.", | 1019 "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.", |
1154 "format": "int32", | 1020 "format": "int32", |
1155 "type": "integer" | 1021 "type": "integer" |
1156 }, | 1022 }, |
1157 "management": { | |
1158 "$ref": "NodeManagement", | |
1159 "description": "NodeManagement configuration for this NodePo
ol." | |
1160 }, | |
1161 "selfLink": { | 1023 "selfLink": { |
1162 "description": "[Output only] Server-defined URL for the res
ource.", | 1024 "description": "[Output only] Server-defined URL for the res
ource.", |
1163 "type": "string" | 1025 "type": "string" |
1164 }, | 1026 }, |
1165 "instanceGroupUrls": { | 1027 "instanceGroupUrls": { |
1166 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\nnode pool.", | 1028 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\nnode pool.", |
1167 "items": { | 1029 "items": { |
1168 "type": "string" | 1030 "type": "string" |
1169 }, | 1031 }, |
1170 "type": "array" | 1032 "type": "array" |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1209 "description": "Whether ABAC authorization will be enabled i
n the cluster.", | 1071 "description": "Whether ABAC authorization will be enabled i
n the cluster.", |
1210 "type": "boolean" | 1072 "type": "boolean" |
1211 } | 1073 } |
1212 }, | 1074 }, |
1213 "type": "object" | 1075 "type": "object" |
1214 }, | 1076 }, |
1215 "Operation": { | 1077 "Operation": { |
1216 "description": "This operation resource represents operations that m
ay have happened or are\nhappening on the cluster. All fields are output only.", | 1078 "description": "This operation resource represents operations that m
ay have happened or are\nhappening on the cluster. All fields are output only.", |
1217 "id": "Operation", | 1079 "id": "Operation", |
1218 "properties": { | 1080 "properties": { |
| 1081 "status": { |
| 1082 "description": "The current status of the operation.", |
| 1083 "enum": [ |
| 1084 "STATUS_UNSPECIFIED", |
| 1085 "PENDING", |
| 1086 "RUNNING", |
| 1087 "DONE", |
| 1088 "ABORTING" |
| 1089 ], |
| 1090 "enumDescriptions": [ |
| 1091 "Not set.", |
| 1092 "The operation has been created.", |
| 1093 "The operation is currently running.", |
| 1094 "The operation is done, either cancelled or completed.", |
| 1095 "The operation is aborting." |
| 1096 ], |
| 1097 "type": "string" |
| 1098 }, |
| 1099 "statusMessage": { |
| 1100 "description": "If an error has occurred, a textual descript
ion of the error.", |
| 1101 "type": "string" |
| 1102 }, |
| 1103 "name": { |
| 1104 "description": "The server-assigned ID for the operation.", |
| 1105 "type": "string" |
| 1106 }, |
1219 "selfLink": { | 1107 "selfLink": { |
1220 "description": "Server-defined URL for the resource.", | 1108 "description": "Server-defined URL for the resource.", |
1221 "type": "string" | 1109 "type": "string" |
1222 }, | 1110 }, |
| 1111 "detail": { |
| 1112 "description": "Detailed operation progress, if available.", |
| 1113 "type": "string" |
| 1114 }, |
1223 "targetLink": { | 1115 "targetLink": { |
1224 "description": "Server-defined URL for the target of the ope
ration.", | 1116 "description": "Server-defined URL for the target of the ope
ration.", |
1225 "type": "string" | 1117 "type": "string" |
1226 }, | 1118 }, |
1227 "detail": { | |
1228 "description": "Detailed operation progress, if available.", | |
1229 "type": "string" | |
1230 }, | |
1231 "operationType": { | 1119 "operationType": { |
1232 "description": "The operation type.", | 1120 "description": "The operation type.", |
1233 "enum": [ | 1121 "enum": [ |
1234 "TYPE_UNSPECIFIED", | 1122 "TYPE_UNSPECIFIED", |
1235 "CREATE_CLUSTER", | 1123 "CREATE_CLUSTER", |
1236 "DELETE_CLUSTER", | 1124 "DELETE_CLUSTER", |
1237 "UPGRADE_MASTER", | 1125 "UPGRADE_MASTER", |
1238 "UPGRADE_NODES", | 1126 "UPGRADE_NODES", |
1239 "REPAIR_CLUSTER", | 1127 "REPAIR_CLUSTER", |
1240 "UPDATE_CLUSTER", | 1128 "UPDATE_CLUSTER", |
(...skipping 19 matching lines...) Expand all Loading... |
1260 "Automatic node pool repair.", | 1148 "Automatic node pool repair.", |
1261 "Automatic node upgrade.", | 1149 "Automatic node upgrade.", |
1262 "Set labels.", | 1150 "Set labels.", |
1263 "Set/generate master auth materials" | 1151 "Set/generate master auth materials" |
1264 ], | 1152 ], |
1265 "type": "string" | 1153 "type": "string" |
1266 }, | 1154 }, |
1267 "zone": { | 1155 "zone": { |
1268 "description": "The name of the Google Compute Engine\n[zone
](/compute/docs/zones#available) in which the operation\nis taking place.", | 1156 "description": "The name of the Google Compute Engine\n[zone
](/compute/docs/zones#available) in which the operation\nis taking place.", |
1269 "type": "string" | 1157 "type": "string" |
1270 }, | |
1271 "status": { | |
1272 "description": "The current status of the operation.", | |
1273 "enum": [ | |
1274 "STATUS_UNSPECIFIED", | |
1275 "PENDING", | |
1276 "RUNNING", | |
1277 "DONE", | |
1278 "ABORTING" | |
1279 ], | |
1280 "enumDescriptions": [ | |
1281 "Not set.", | |
1282 "The operation has been created.", | |
1283 "The operation is currently running.", | |
1284 "The operation is done, either cancelled or completed.", | |
1285 "The operation is aborting." | |
1286 ], | |
1287 "type": "string" | |
1288 }, | |
1289 "name": { | |
1290 "description": "The server-assigned ID for the operation.", | |
1291 "type": "string" | |
1292 }, | |
1293 "statusMessage": { | |
1294 "description": "If an error has occurred, a textual descript
ion of the error.", | |
1295 "type": "string" | |
1296 } | 1158 } |
1297 }, | 1159 }, |
1298 "type": "object" | 1160 "type": "object" |
1299 }, | 1161 }, |
1300 "AddonsConfig": { | 1162 "AddonsConfig": { |
1301 "description": "Configuration for the addons that can be automatical
ly spun up in the\ncluster, enabling additional functionality.", | 1163 "description": "Configuration for the addons that can be automatical
ly spun up in the\ncluster, enabling additional functionality.", |
1302 "id": "AddonsConfig", | 1164 "id": "AddonsConfig", |
1303 "properties": { | 1165 "properties": { |
1304 "horizontalPodAutoscaling": { | 1166 "horizontalPodAutoscaling": { |
1305 "$ref": "HorizontalPodAutoscaling", | 1167 "$ref": "HorizontalPodAutoscaling", |
(...skipping 20 matching lines...) Expand all Loading... |
1326 "$ref": "ClusterUpdate", | 1188 "$ref": "ClusterUpdate", |
1327 "description": "A description of the update." | 1189 "description": "A description of the update." |
1328 } | 1190 } |
1329 }, | 1191 }, |
1330 "type": "object" | 1192 "type": "object" |
1331 }, | 1193 }, |
1332 "Cluster": { | 1194 "Cluster": { |
1333 "description": "A Google Container Engine cluster.", | 1195 "description": "A Google Container Engine cluster.", |
1334 "id": "Cluster", | 1196 "id": "Cluster", |
1335 "properties": { | 1197 "properties": { |
| 1198 "servicesIpv4Cidr": { |
| 1199 "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.", |
| 1200 "type": "string" |
| 1201 }, |
| 1202 "enableKubernetesAlpha": { |
| 1203 "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.", |
| 1204 "type": "boolean" |
| 1205 }, |
| 1206 "description": { |
| 1207 "description": "An optional description of this cluster.", |
| 1208 "type": "string" |
| 1209 }, |
| 1210 "currentNodeCount": { |
| 1211 "description": "[Output only] The number of nodes currently
in the cluster.", |
| 1212 "format": "int32", |
| 1213 "type": "integer" |
| 1214 }, |
| 1215 "monitoringService": { |
| 1216 "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.", |
| 1217 "type": "string" |
| 1218 }, |
| 1219 "network": { |
| 1220 "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.", |
| 1221 "type": "string" |
| 1222 }, |
| 1223 "labelFingerprint": { |
| 1224 "description": "The fingerprint of the set of labels for thi
s cluster.", |
| 1225 "type": "string" |
| 1226 }, |
| 1227 "zone": { |
| 1228 "description": "[Output only] The name of the Google Compute
Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", |
| 1229 "type": "string" |
| 1230 }, |
| 1231 "loggingService": { |
| 1232 "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.", |
| 1233 "type": "string" |
| 1234 }, |
| 1235 "nodeIpv4CidrSize": { |
| 1236 "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.", |
| 1237 "format": "int32", |
| 1238 "type": "integer" |
| 1239 }, |
| 1240 "expireTime": { |
| 1241 "description": "[Output only] The time the cluster will be a
utomatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text fo
rmat.", |
| 1242 "type": "string" |
| 1243 }, |
1336 "statusMessage": { | 1244 "statusMessage": { |
1337 "description": "[Output only] Additional information about t
he current status of this\ncluster, if available.", | 1245 "description": "[Output only] Additional information about t
he current status of this\ncluster, if available.", |
1338 "type": "string" | 1246 "type": "string" |
1339 }, | 1247 }, |
1340 "masterAuth": { | 1248 "masterAuth": { |
1341 "$ref": "MasterAuth", | 1249 "$ref": "MasterAuth", |
1342 "description": "The authentication information for accessing
the master endpoint." | 1250 "description": "The authentication information for accessing
the master endpoint." |
1343 }, | 1251 }, |
1344 "currentMasterVersion": { | 1252 "currentMasterVersion": { |
1345 "description": "[Output only] The current software version o
f the master endpoint.", | 1253 "description": "[Output only] The current software version o
f the master endpoint.", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1378 "type": "string" | 1286 "type": "string" |
1379 }, | 1287 }, |
1380 "currentNodeVersion": { | 1288 "currentNodeVersion": { |
1381 "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.", | 1289 "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.", |
1382 "type": "string" | 1290 "type": "string" |
1383 }, | 1291 }, |
1384 "resourceLabels": { | 1292 "resourceLabels": { |
1385 "additionalProperties": { | 1293 "additionalProperties": { |
1386 "type": "string" | 1294 "type": "string" |
1387 }, | 1295 }, |
1388 "description": "The resource labels for the cluster to use t
o annotate any related GCE\nresources.", | 1296 "description": "The resource labels for the cluster to use t
o annotate any related\nGoogle Compute Engine resources.", |
1389 "type": "object" | 1297 "type": "object" |
1390 }, | 1298 }, |
1391 "name": { | 1299 "name": { |
1392 "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.", | 1300 "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.", |
1393 "type": "string" | 1301 "type": "string" |
1394 }, | 1302 }, |
1395 "initialClusterVersion": { | 1303 "initialClusterVersion": { |
1396 "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.", | 1304 "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.", |
1397 "type": "string" | 1305 "type": "string" |
1398 }, | 1306 }, |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1434 "selfLink": { | 1342 "selfLink": { |
1435 "description": "[Output only] Server-defined URL for the res
ource.", | 1343 "description": "[Output only] Server-defined URL for the res
ource.", |
1436 "type": "string" | 1344 "type": "string" |
1437 }, | 1345 }, |
1438 "instanceGroupUrls": { | 1346 "instanceGroupUrls": { |
1439 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\ncluster.", | 1347 "description": "[Output only] The resource URLs of [instance
\ngroups](/compute/docs/instance-groups/) associated with this\ncluster.", |
1440 "items": { | 1348 "items": { |
1441 "type": "string" | 1349 "type": "string" |
1442 }, | 1350 }, |
1443 "type": "array" | 1351 "type": "array" |
1444 }, | |
1445 "servicesIpv4Cidr": { | |
1446 "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.", | |
1447 "type": "string" | |
1448 }, | |
1449 "enableKubernetesAlpha": { | |
1450 "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.", | |
1451 "type": "boolean" | |
1452 }, | |
1453 "description": { | |
1454 "description": "An optional description of this cluster.", | |
1455 "type": "string" | |
1456 }, | |
1457 "currentNodeCount": { | |
1458 "description": "[Output only] The number of nodes currently
in the cluster.", | |
1459 "format": "int32", | |
1460 "type": "integer" | |
1461 }, | |
1462 "monitoringService": { | |
1463 "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.", | |
1464 "type": "string" | |
1465 }, | |
1466 "network": { | |
1467 "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.", | |
1468 "type": "string" | |
1469 }, | |
1470 "labelFingerprint": { | |
1471 "description": "The fingerprint of the set of labels for thi
s cluster.", | |
1472 "type": "string" | |
1473 }, | |
1474 "zone": { | |
1475 "description": "[Output only] The name of the Google Compute
Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.", | |
1476 "type": "string" | |
1477 }, | |
1478 "nodeIpv4CidrSize": { | |
1479 "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.", | |
1480 "format": "int32", | |
1481 "type": "integer" | |
1482 }, | |
1483 "loggingService": { | |
1484 "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.", | |
1485 "type": "string" | |
1486 }, | |
1487 "expireTime": { | |
1488 "description": "[Output only] The time the cluster will be a
utomatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text fo
rmat.", | |
1489 "type": "string" | |
1490 } | 1352 } |
1491 }, | 1353 }, |
1492 "type": "object" | 1354 "type": "object" |
1493 }, | 1355 }, |
1494 "CreateNodePoolRequest": { | 1356 "CreateNodePoolRequest": { |
1495 "description": "CreateNodePoolRequest creates a node pool for a clus
ter.", | 1357 "description": "CreateNodePoolRequest creates a node pool for a clus
ter.", |
1496 "id": "CreateNodePoolRequest", | 1358 "id": "CreateNodePoolRequest", |
1497 "properties": { | 1359 "properties": { |
1498 "nodePool": { | 1360 "nodePool": { |
1499 "$ref": "NodePool", | 1361 "$ref": "NodePool", |
1500 "description": "The node pool to create." | 1362 "description": "The node pool to create." |
1501 } | 1363 } |
1502 }, | 1364 }, |
1503 "type": "object" | 1365 "type": "object" |
1504 }, | 1366 }, |
1505 "ListOperationsResponse": { | 1367 "ListOperationsResponse": { |
1506 "description": "ListOperationsResponse is the result of ListOperatio
nsRequest.", | 1368 "description": "ListOperationsResponse is the result of ListOperatio
nsRequest.", |
1507 "id": "ListOperationsResponse", | 1369 "id": "ListOperationsResponse", |
1508 "properties": { | 1370 "properties": { |
| 1371 "operations": { |
| 1372 "description": "A list of operations in the project in the s
pecified zone.", |
| 1373 "items": { |
| 1374 "$ref": "Operation" |
| 1375 }, |
| 1376 "type": "array" |
| 1377 }, |
1509 "missingZones": { | 1378 "missingZones": { |
1510 "description": "If any zones are listed here, the list of op
erations returned\nmay be missing the operations from those zones.", | 1379 "description": "If any zones are listed here, the list of op
erations returned\nmay be missing the operations from those zones.", |
1511 "items": { | 1380 "items": { |
1512 "type": "string" | 1381 "type": "string" |
1513 }, | 1382 }, |
1514 "type": "array" | 1383 "type": "array" |
1515 }, | |
1516 "operations": { | |
1517 "description": "A list of operations in the project in the s
pecified zone.", | |
1518 "items": { | |
1519 "$ref": "Operation" | |
1520 }, | |
1521 "type": "array" | |
1522 } | 1384 } |
1523 }, | 1385 }, |
1524 "type": "object" | 1386 "type": "object" |
1525 }, | 1387 }, |
1526 "ServerConfig": { | 1388 "ServerConfig": { |
1527 "description": "Container Engine service configuration.", | 1389 "description": "Container Engine service configuration.", |
1528 "id": "ServerConfig", | 1390 "id": "ServerConfig", |
1529 "properties": { | 1391 "properties": { |
1530 "validMasterVersions": { | |
1531 "description": "List of valid master versions.", | |
1532 "items": { | |
1533 "type": "string" | |
1534 }, | |
1535 "type": "array" | |
1536 }, | |
1537 "defaultClusterVersion": { | 1392 "defaultClusterVersion": { |
1538 "description": "Version of Kubernetes the service deploys by
default.", | 1393 "description": "Version of Kubernetes the service deploys by
default.", |
1539 "type": "string" | 1394 "type": "string" |
1540 }, | 1395 }, |
1541 "defaultImageType": { | 1396 "defaultImageType": { |
1542 "description": "Default image type.", | 1397 "description": "Default image type.", |
1543 "type": "string" | 1398 "type": "string" |
1544 }, | 1399 }, |
1545 "validNodeVersions": { | 1400 "validNodeVersions": { |
1546 "description": "List of valid node upgrade target versions."
, | 1401 "description": "List of valid node upgrade target versions."
, |
1547 "items": { | 1402 "items": { |
1548 "type": "string" | 1403 "type": "string" |
1549 }, | 1404 }, |
1550 "type": "array" | 1405 "type": "array" |
1551 }, | 1406 }, |
1552 "validImageTypes": { | 1407 "validImageTypes": { |
1553 "description": "List of valid image types.", | 1408 "description": "List of valid image types.", |
1554 "items": { | 1409 "items": { |
1555 "type": "string" | 1410 "type": "string" |
1556 }, | 1411 }, |
1557 "type": "array" | 1412 "type": "array" |
| 1413 }, |
| 1414 "validMasterVersions": { |
| 1415 "description": "List of valid master versions.", |
| 1416 "items": { |
| 1417 "type": "string" |
| 1418 }, |
| 1419 "type": "array" |
1558 } | 1420 } |
1559 }, | 1421 }, |
1560 "type": "object" | 1422 "type": "object" |
1561 }, | |
1562 "MasterAuth": { | |
1563 "description": "The authentication information for accessing the mas
ter endpoint.\nAuthentication can be done using HTTP basic auth or using client\
ncertificates.", | |
1564 "id": "MasterAuth", | |
1565 "properties": { | |
1566 "password": { | |
1567 "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.", | |
1568 "type": "string" | |
1569 }, | |
1570 "clientCertificate": { | |
1571 "description": "[Output only] Base64-encoded public certific
ate used by clients to\nauthenticate to the cluster endpoint.", | |
1572 "type": "string" | |
1573 }, | |
1574 "username": { | |
1575 "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.", | |
1576 "type": "string" | |
1577 }, | |
1578 "clientKey": { | |
1579 "description": "[Output only] Base64-encoded private key use
d by clients to authenticate\nto the cluster endpoint.", | |
1580 "type": "string" | |
1581 }, | |
1582 "clusterCaCertificate": { | |
1583 "description": "[Output only] Base64-encoded public certific
ate that is the root of\ntrust for the cluster.", | |
1584 "type": "string" | |
1585 } | |
1586 }, | |
1587 "type": "object" | |
1588 }, | 1423 }, |
1589 "NodeConfig": { | 1424 "NodeConfig": { |
1590 "description": "Parameters that describe the nodes in a cluster.", | 1425 "description": "Parameters that describe the nodes in a cluster.", |
1591 "id": "NodeConfig", | 1426 "id": "NodeConfig", |
1592 "properties": { | 1427 "properties": { |
| 1428 "labels": { |
| 1429 "additionalProperties": { |
| 1430 "type": "string" |
| 1431 }, |
| 1432 "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", |
| 1433 "type": "object" |
| 1434 }, |
| 1435 "localSsdCount": { |
| 1436 "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.", |
| 1437 "format": "int32", |
| 1438 "type": "integer" |
| 1439 }, |
| 1440 "metadata": { |
| 1441 "additionalProperties": { |
| 1442 "type": "string" |
| 1443 }, |
| 1444 "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.", |
| 1445 "type": "object" |
| 1446 }, |
1593 "diskSizeGb": { | 1447 "diskSizeGb": { |
1594 "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.", | 1448 "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.", |
1595 "format": "int32", | 1449 "format": "int32", |
1596 "type": "integer" | 1450 "type": "integer" |
1597 }, | 1451 }, |
1598 "tags": { | 1452 "tags": { |
1599 "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.", | 1453 "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.", |
1600 "items": { | 1454 "items": { |
1601 "type": "string" | 1455 "type": "string" |
1602 }, | 1456 }, |
(...skipping 12 matching lines...) Expand all Loading... |
1615 "type": "string" | 1469 "type": "string" |
1616 }, | 1470 }, |
1617 "oauthScopes": { | 1471 "oauthScopes": { |
1618 "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.", | 1472 "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.", |
1619 "items": { | 1473 "items": { |
1620 "type": "string" | 1474 "type": "string" |
1621 }, | 1475 }, |
1622 "type": "array" | 1476 "type": "array" |
1623 }, | 1477 }, |
1624 "preemptible": { | 1478 "preemptible": { |
1625 "description": "Whether the nodes are created as preemptible
VM instances. See:\nhttps://cloud.google.com/compute/docs/instances/preemptible
for more\ninforamtion about preemptible VM instances.", | 1479 "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.", |
1626 "type": "boolean" | 1480 "type": "boolean" |
1627 }, | |
1628 "labels": { | |
1629 "additionalProperties": { | |
1630 "type": "string" | |
1631 }, | |
1632 "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", | |
1633 "type": "object" | |
1634 }, | |
1635 "localSsdCount": { | |
1636 "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.", | |
1637 "format": "int32", | |
1638 "type": "integer" | |
1639 }, | |
1640 "metadata": { | |
1641 "additionalProperties": { | |
1642 "type": "string" | |
1643 }, | |
1644 "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.", | |
1645 "type": "object" | |
1646 } | 1481 } |
1647 }, | 1482 }, |
1648 "type": "object" | 1483 "type": "object" |
| 1484 }, |
| 1485 "MasterAuth": { |
| 1486 "description": "The authentication information for accessing the mas
ter endpoint.\nAuthentication can be done using HTTP basic auth or using client\
ncertificates.", |
| 1487 "id": "MasterAuth", |
| 1488 "properties": { |
| 1489 "clientKey": { |
| 1490 "description": "[Output only] Base64-encoded private key use
d by clients to authenticate\nto the cluster endpoint.", |
| 1491 "type": "string" |
| 1492 }, |
| 1493 "clusterCaCertificate": { |
| 1494 "description": "[Output only] Base64-encoded public certific
ate that is the root of\ntrust for the cluster.", |
| 1495 "type": "string" |
| 1496 }, |
| 1497 "password": { |
| 1498 "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.", |
| 1499 "type": "string" |
| 1500 }, |
| 1501 "clientCertificate": { |
| 1502 "description": "[Output only] Base64-encoded public certific
ate used by clients to\nauthenticate to the cluster endpoint.", |
| 1503 "type": "string" |
| 1504 }, |
| 1505 "username": { |
| 1506 "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.", |
| 1507 "type": "string" |
| 1508 } |
| 1509 }, |
| 1510 "type": "object" |
1649 }, | 1511 }, |
1650 "AutoUpgradeOptions": { | 1512 "AutoUpgradeOptions": { |
1651 "description": "AutoUpgradeOptions defines the set of options for th
e user to control how\nthe Auto Upgrades will proceed.", | 1513 "description": "AutoUpgradeOptions defines the set of options for th
e user to control how\nthe Auto Upgrades will proceed.", |
1652 "id": "AutoUpgradeOptions", | 1514 "id": "AutoUpgradeOptions", |
1653 "properties": { | 1515 "properties": { |
| 1516 "autoUpgradeStartTime": { |
| 1517 "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.", |
| 1518 "type": "string" |
| 1519 }, |
1654 "description": { | 1520 "description": { |
1655 "description": "[Output only] This field is set when upgrade
s are about to commence\nwith the description of the upgrade.", | 1521 "description": "[Output only] This field is set when upgrade
s are about to commence\nwith the description of the upgrade.", |
1656 "type": "string" | 1522 "type": "string" |
1657 }, | |
1658 "autoUpgradeStartTime": { | |
1659 "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.", | |
1660 "type": "string" | |
1661 } | 1523 } |
1662 }, | 1524 }, |
1663 "type": "object" | 1525 "type": "object" |
1664 }, | 1526 }, |
1665 "ListClustersResponse": { | 1527 "ListClustersResponse": { |
1666 "description": "ListClustersResponse is the result of ListClustersRe
quest.", | 1528 "description": "ListClustersResponse is the result of ListClustersRe
quest.", |
1667 "id": "ListClustersResponse", | 1529 "id": "ListClustersResponse", |
1668 "properties": { | 1530 "properties": { |
| 1531 "clusters": { |
| 1532 "description": "A list of clusters in the project in the spe
cified zone, or\nacross all ones.", |
| 1533 "items": { |
| 1534 "$ref": "Cluster" |
| 1535 }, |
| 1536 "type": "array" |
| 1537 }, |
1669 "missingZones": { | 1538 "missingZones": { |
1670 "description": "If any zones are listed here, the list of cl
usters returned\nmay be missing those zones.", | 1539 "description": "If any zones are listed here, the list of cl
usters returned\nmay be missing those zones.", |
1671 "items": { | 1540 "items": { |
1672 "type": "string" | 1541 "type": "string" |
1673 }, | 1542 }, |
1674 "type": "array" | 1543 "type": "array" |
1675 }, | |
1676 "clusters": { | |
1677 "description": "A list of clusters in the project in the spe
cified zone, or\nacross all ones.", | |
1678 "items": { | |
1679 "$ref": "Cluster" | |
1680 }, | |
1681 "type": "array" | |
1682 } | 1544 } |
1683 }, | 1545 }, |
1684 "type": "object" | 1546 "type": "object" |
| 1547 }, |
| 1548 "HttpLoadBalancing": { |
| 1549 "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.", |
| 1550 "id": "HttpLoadBalancing", |
| 1551 "properties": { |
| 1552 "disabled": { |
| 1553 "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.", |
| 1554 "type": "boolean" |
| 1555 } |
| 1556 }, |
| 1557 "type": "object" |
| 1558 }, |
| 1559 "NodePoolAutoscaling": { |
| 1560 "description": "NodePoolAutoscaling contains information required by
cluster autoscaler to\nadjust the size of the node pool to the current cluster
usage.", |
| 1561 "id": "NodePoolAutoscaling", |
| 1562 "properties": { |
| 1563 "enabled": { |
| 1564 "description": "Is autoscaling enabled for this node pool.", |
| 1565 "type": "boolean" |
| 1566 }, |
| 1567 "maxNodeCount": { |
| 1568 "description": "Maximum number of nodes in the NodePool. Mus
t be >= min_node_count. There\nhas to enough quota to scale up the cluster.", |
| 1569 "format": "int32", |
| 1570 "type": "integer" |
| 1571 }, |
| 1572 "minNodeCount": { |
| 1573 "description": "Minimum number of nodes in the NodePool. Mus
t be >= 1 and <=\nmax_node_count.", |
| 1574 "format": "int32", |
| 1575 "type": "integer" |
| 1576 } |
| 1577 }, |
| 1578 "type": "object" |
| 1579 }, |
| 1580 "SetMasterAuthRequest": { |
| 1581 "description": "SetMasterAuthRequest updates the admin password of a
cluster.", |
| 1582 "id": "SetMasterAuthRequest", |
| 1583 "properties": { |
| 1584 "update": { |
| 1585 "$ref": "MasterAuth", |
| 1586 "description": "A description of the update." |
| 1587 }, |
| 1588 "action": { |
| 1589 "description": "The exact form of action to be taken on the
master auth", |
| 1590 "enum": [ |
| 1591 "UNKNOWN", |
| 1592 "SET_PASSWORD", |
| 1593 "GENERATE_PASSWORD" |
| 1594 ], |
| 1595 "enumDescriptions": [ |
| 1596 "Operation is unknown and will error out", |
| 1597 "Set the password to a user generated value.", |
| 1598 "Generate a new password and set it to that." |
| 1599 ], |
| 1600 "type": "string" |
| 1601 } |
| 1602 }, |
| 1603 "type": "object" |
| 1604 }, |
| 1605 "ClusterUpdate": { |
| 1606 "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.", |
| 1607 "id": "ClusterUpdate", |
| 1608 "properties": { |
| 1609 "desiredAddonsConfig": { |
| 1610 "$ref": "AddonsConfig", |
| 1611 "description": "Configurations for the various addons availa
ble to run in the cluster." |
| 1612 }, |
| 1613 "desiredNodePoolId": { |
| 1614 "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.", |
| 1615 "type": "string" |
| 1616 }, |
| 1617 "desiredNodeVersion": { |
| 1618 "description": "The Kubernetes version to change the nodes t
o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by
\nthe server.", |
| 1619 "type": "string" |
| 1620 }, |
| 1621 "desiredMasterVersion": { |
| 1622 "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.", |
| 1623 "type": "string" |
| 1624 }, |
| 1625 "desiredLocations": { |
| 1626 "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.", |
| 1627 "items": { |
| 1628 "type": "string" |
| 1629 }, |
| 1630 "type": "array" |
| 1631 }, |
| 1632 "desiredNodePoolAutoscaling": { |
| 1633 "$ref": "NodePoolAutoscaling", |
| 1634 "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." |
| 1635 }, |
| 1636 "desiredMonitoringService": { |
| 1637 "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", |
| 1638 "type": "string" |
| 1639 }, |
| 1640 "desiredImageType": { |
| 1641 "description": "The desired image type for the node pool.\nN
OTE: Set the \"desired_node_pool\" field as well.", |
| 1642 "type": "string" |
| 1643 } |
| 1644 }, |
| 1645 "type": "object" |
| 1646 }, |
| 1647 "HorizontalPodAutoscaling": { |
| 1648 "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.", |
| 1649 "id": "HorizontalPodAutoscaling", |
| 1650 "properties": { |
| 1651 "disabled": { |
| 1652 "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.", |
| 1653 "type": "boolean" |
| 1654 } |
| 1655 }, |
| 1656 "type": "object" |
| 1657 }, |
| 1658 "SetNodePoolManagementRequest": { |
| 1659 "description": "SetNodePoolManagementRequest sets the node managemen
t properties of a node\npool.", |
| 1660 "id": "SetNodePoolManagementRequest", |
| 1661 "properties": { |
| 1662 "management": { |
| 1663 "$ref": "NodeManagement", |
| 1664 "description": "NodeManagement configuration for the node po
ol." |
| 1665 } |
| 1666 }, |
| 1667 "type": "object" |
| 1668 }, |
| 1669 "Empty": { |
| 1670 "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 `{}`.", |
| 1671 "id": "Empty", |
| 1672 "properties": {}, |
| 1673 "type": "object" |
| 1674 }, |
| 1675 "CreateClusterRequest": { |
| 1676 "description": "CreateClusterRequest creates a cluster.", |
| 1677 "id": "CreateClusterRequest", |
| 1678 "properties": { |
| 1679 "cluster": { |
| 1680 "$ref": "Cluster", |
| 1681 "description": "A [cluster\nresource](/container-engine/refe
rence/rest/v1/projects.zones.clusters)" |
| 1682 } |
| 1683 }, |
| 1684 "type": "object" |
1685 } | 1685 } |
1686 }, | 1686 }, |
1687 "servicePath": "", | 1687 "servicePath": "", |
1688 "title": "Google Container Engine API", | 1688 "title": "Google Container Engine API", |
1689 "version": "v1" | 1689 "version": "v1" |
1690 } | 1690 } |
OLD | NEW |