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

Side by Side Diff: discovery/googleapis/container__v1.json

Issue 2824163002: Api-roll 48: 2017-04-18 (Closed)
Patch Set: Revert changes to pubspecs Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/consumersurveys__v2.json ('k') | discovery/googleapis/content__v2.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://container.googleapis.com/", 12 "baseUrl": "https://container.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "description": "Builds and manages clusters that run container-based applica tions, powered by open source Kubernetes technology.", 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 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/aTs6tIgXySgjqhtr4EU6PD-kvdQ\"",
18 "icons": { 17 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 18 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 19 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 20 },
22 "id": "container:v1", 21 "id": "container:v1",
23 "kind": "discovery#restDescription", 22 "kind": "discovery#restDescription",
24 "name": "container", 23 "name": "container",
25 "ownerDomain": "google.com", 24 "ownerDomain": "google.com",
26 "ownerName": "Google", 25 "ownerName": "Google",
27 "parameters": { 26 "parameters": {
28 "access_token": { 27 "oauth_token": {
29 "description": "OAuth access token.", 28 "description": "OAuth 2.0 token for the current user.",
30 "location": "query",
31 "type": "string"
32 },
33 "alt": {
34 "default": "json",
35 "description": "Data format for response.",
36 "enumDescriptions": [
37 "Responses with Content-Type of application/json",
38 "Media download with context-dependent Content-Type",
39 "Responses with Content-Type of application/x-protobuf"
40 ],
41 "location": "query", 29 "location": "query",
42 "type": "string" 30 "type": "string"
43 }, 31 },
44 "bearer_token": { 32 "bearer_token": {
45 "description": "OAuth bearer token.", 33 "description": "OAuth bearer token.",
46 "location": "query", 34 "location": "query",
47 "type": "string" 35 "type": "string"
48 }, 36 },
49 "callback": { 37 "upload_protocol": {
50 "description": "JSONP", 38 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
51 "location": "query", 39 "location": "query",
52 "type": "string" 40 "type": "string"
53 }, 41 },
42 "prettyPrint": {
43 "default": "true",
44 "description": "Returns response with indentations and line breaks." ,
45 "location": "query",
46 "type": "boolean"
47 },
48 "uploadType": {
49 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
50 "location": "query",
51 "type": "string"
52 },
54 "fields": { 53 "fields": {
55 "description": "Selector specifying which fields to include in a par tial response.", 54 "description": "Selector specifying which fields to include in a par tial response.",
56 "location": "query", 55 "location": "query",
57 "type": "string" 56 "type": "string"
58 }, 57 },
58 "$.xgafv": {
59 "description": "V1 error format.",
60 "enum": [
61 "1",
62 "2"
63 ],
64 "enumDescriptions": [
65 "v1 error format",
66 "v2 error format"
67 ],
68 "location": "query",
69 "type": "string"
70 },
71 "callback": {
72 "description": "JSONP",
73 "location": "query",
74 "type": "string"
75 },
76 "alt": {
77 "default": "json",
78 "description": "Data format for response.",
79 "enum": [
80 "json",
81 "media",
82 "proto"
83 ],
84 "enumDescriptions": [
85 "Responses with Content-Type of application/json",
86 "Media download with context-dependent Content-Type",
87 "Responses with Content-Type of application/x-protobuf"
88 ],
89 "location": "query",
90 "type": "string"
91 },
59 "key": { 92 "key": {
60 "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.", 93 "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.",
61 "location": "query", 94 "location": "query",
62 "type": "string" 95 "type": "string"
63 }, 96 },
64 "oauth_token": { 97 "access_token": {
65 "description": "OAuth 2.0 token for the current user.", 98 "description": "OAuth access token.",
99 "location": "query",
100 "type": "string"
101 },
102 "quotaUser": {
103 "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.",
66 "location": "query", 104 "location": "query",
67 "type": "string" 105 "type": "string"
68 }, 106 },
69 "pp": { 107 "pp": {
70 "default": "true", 108 "default": "true",
71 "description": "Pretty-print response.", 109 "description": "Pretty-print response.",
72 "location": "query", 110 "location": "query",
73 "type": "boolean" 111 "type": "boolean"
74 },
75 "prettyPrint": {
76 "default": "true",
77 "description": "Returns response with indentations and line breaks." ,
78 "location": "query",
79 "type": "boolean"
80 },
81 "quotaUser": {
82 "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.",
83 "location": "query",
84 "type": "string"
85 },
86 "upload_protocol": {
87 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
88 "location": "query",
89 "type": "string"
90 },
91 "uploadType": {
92 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
93 "location": "query",
94 "type": "string"
95 },
96 "$.xgafv": {
97 "description": "V1 error format.",
98 "enumDescriptions": [
99 "v1 error format",
100 "v2 error format"
101 ],
102 "location": "query",
103 "type": "string"
104 } 112 }
105 }, 113 },
106 "protocol": "rest", 114 "protocol": "rest",
107 "resources": { 115 "resources": {
108 "projects": { 116 "projects": {
109 "resources": { 117 "resources": {
110 "zones": { 118 "zones": {
111 "methods": { 119 "methods": {
112 "getServerconfig": { 120 "getServerconfig": {
113 "description": "Returns configuration info about the Container Engine service.", 121 "description": "Returns configuration info about the Container Engine service.",
114 "httpMethod": "GET", 122 "httpMethod": "GET",
115 "id": "container.projects.zones.getServerconfig", 123 "id": "container.projects.zones.getServerconfig",
116 "parameterOrder": [ 124 "parameterOrder": [
117 "projectId", 125 "projectId",
118 "zone" 126 "zone"
119 ], 127 ],
120 "parameters": { 128 "parameters": {
121 "projectId": { 129 "projectId": {
122 "description": "The Google Developers Consol e [project ID or project number](https://support.google.com/cloud/answer/6158840 ).", 130 "description": "The Google Developers Consol e [project ID or project\nnumber](https://support.google.com/cloud/answer/615884 0).",
123 "location": "path", 131 "location": "path",
124 "required": true, 132 "required": true,
125 "type": "string" 133 "type": "string"
126 }, 134 },
127 "zone": { 135 "zone": {
128 "description": "The name of the Google Compu te Engine [zone](/compute/docs/zones#available) to return operations for.", 136 "description": "The name of the Google Compu te Engine [zone](/compute/docs/zones#available)\nto return operations for.",
129 "location": "path", 137 "location": "path",
130 "required": true, 138 "required": true,
131 "type": "string" 139 "type": "string"
132 } 140 }
133 }, 141 },
134 "path": "v1/projects/{projectId}/zones/{zone}/server config", 142 "path": "v1/projects/{projectId}/zones/{zone}/server config",
135 "response": { 143 "response": {
136 "$ref": "ServerConfig" 144 "$ref": "ServerConfig"
137 }, 145 },
138 "scopes": [ 146 "scopes": [
139 "https://www.googleapis.com/auth/cloud-platform" 147 "https://www.googleapis.com/auth/cloud-platform"
140 ] 148 ]
141 } 149 }
142 }, 150 },
143 "resources": { 151 "resources": {
144 "clusters": { 152 "clusters": {
145 "methods": { 153 "methods": {
146 "list": { 154 "legacyAbac": {
147 "description": "Lists all clusters owned by a project in either the specified zone or all zones.", 155 "description": "Enables or disables the ABAC authorization mechanism on a cluster.",
148 "httpMethod": "GET", 156 "httpMethod": "POST",
149 "id": "container.projects.zones.clusters.lis t", 157 "id": "container.projects.zones.clusters.leg acyAbac",
150 "parameterOrder": [ 158 "parameterOrder": [
151 "projectId", 159 "projectId",
152 "zone" 160 "zone",
161 "clusterId"
153 ], 162 ],
154 "parameters": { 163 "parameters": {
155 "projectId": { 164 "zone": {
156 "description": "The Google Developer s Console [project ID or project number](https://support.google.com/cloud/answer /6158840).", 165 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr esides.",
157 "location": "path", 166 "location": "path",
158 "required": true, 167 "required": true,
159 "type": "string" 168 "type": "string"
160 }, 169 },
161 "zone": { 170 "clusterId": {
162 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available) in which the cluster res ides, or \"-\" for all zones.", 171 "description": "The name of the clus ter to update.",
172 "location": "path",
173 "required": true,
174 "type": "string"
175 },
176 "projectId": {
177 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
163 "location": "path", 178 "location": "path",
164 "required": true, 179 "required": true,
165 "type": "string" 180 "type": "string"
166 } 181 }
167 }, 182 },
168 "path": "v1/projects/{projectId}/zones/{zone }/clusters", 183 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}/legacyAbac",
184 "request": {
185 "$ref": "SetLegacyAbacRequest"
186 },
169 "response": { 187 "response": {
170 "$ref": "ListClustersResponse" 188 "$ref": "Operation"
171 }, 189 },
172 "scopes": [ 190 "scopes": [
173 "https://www.googleapis.com/auth/cloud-p latform" 191 "https://www.googleapis.com/auth/cloud-p latform"
174 ] 192 ]
175 }, 193 },
176 "get": { 194 "get": {
177 "description": "Gets the details of a specif ic cluster.", 195 "description": "Gets the details of a specif ic cluster.",
178 "httpMethod": "GET", 196 "httpMethod": "GET",
179 "id": "container.projects.zones.clusters.get ", 197 "id": "container.projects.zones.clusters.get ",
180 "parameterOrder": [ 198 "parameterOrder": [
181 "projectId", 199 "projectId",
182 "zone", 200 "zone",
183 "clusterId" 201 "clusterId"
184 ], 202 ],
185 "parameters": { 203 "parameters": {
186 "projectId": { 204 "projectId": {
187 "description": "The Google Developer s Console [project ID or project number](https://support.google.com/cloud/answer /6158840).", 205 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
188 "location": "path", 206 "location": "path",
189 "required": true, 207 "required": true,
190 "type": "string" 208 "type": "string"
191 }, 209 },
192 "zone": { 210 "zone": {
193 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available) in which the cluster res ides.", 211 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr esides.",
194 "location": "path", 212 "location": "path",
195 "required": true, 213 "required": true,
196 "type": "string" 214 "type": "string"
197 }, 215 },
198 "clusterId": { 216 "clusterId": {
199 "description": "The name of the clus ter to retrieve.", 217 "description": "The name of the clus ter to retrieve.",
200 "location": "path", 218 "location": "path",
201 "required": true, 219 "required": true,
202 "type": "string" 220 "type": "string"
203 } 221 }
204 }, 222 },
205 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}", 223 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}",
206 "response": { 224 "response": {
207 "$ref": "Cluster" 225 "$ref": "Cluster"
208 }, 226 },
209 "scopes": [ 227 "scopes": [
210 "https://www.googleapis.com/auth/cloud-p latform" 228 "https://www.googleapis.com/auth/cloud-p latform"
211 ] 229 ]
212 }, 230 },
213 "create": { 231 "update": {
214 "description": "Creates a cluster, consistin g of the specified number and type of Google Compute Engine instances. By defaul t, the cluster is created in the project's [default network](/compute/docs/netwo rks-and-firewalls#networks). One firewall is added for the cluster. After cluste r creation, the cluster creates routes for each node to allow the containers on that node to communicate with all other instances in the cluster. Finally, an en try is added to the project's global metadata indicating which CIDR range is bei ng used by the cluster.", 232 "description": "Updates the settings of a sp ecific cluster.",
215 "httpMethod": "POST", 233 "httpMethod": "PUT",
216 "id": "container.projects.zones.clusters.cre ate", 234 "id": "container.projects.zones.clusters.upd ate",
217 "parameterOrder": [ 235 "parameterOrder": [
218 "projectId", 236 "projectId",
219 "zone" 237 "zone",
238 "clusterId"
220 ], 239 ],
221 "parameters": { 240 "parameters": {
222 "projectId": { 241 "projectId": {
223 "description": "The Google Developer s Console [project ID or project number](https://support.google.com/cloud/answer /6158840).", 242 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
224 "location": "path", 243 "location": "path",
225 "required": true, 244 "required": true,
226 "type": "string" 245 "type": "string"
227 }, 246 },
228 "zone": { 247 "zone": {
229 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available) in which the cluster res ides.", 248 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr esides.",
249 "location": "path",
250 "required": true,
251 "type": "string"
252 },
253 "clusterId": {
254 "description": "The name of the clus ter to upgrade.",
230 "location": "path", 255 "location": "path",
231 "required": true, 256 "required": true,
232 "type": "string" 257 "type": "string"
233 } 258 }
234 }, 259 },
235 "path": "v1/projects/{projectId}/zones/{zone }/clusters", 260 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}",
236 "request": { 261 "request": {
237 "$ref": "CreateClusterRequest" 262 "$ref": "UpdateClusterRequest"
238 }, 263 },
239 "response": { 264 "response": {
240 "$ref": "Operation" 265 "$ref": "Operation"
241 }, 266 },
242 "scopes": [ 267 "scopes": [
243 "https://www.googleapis.com/auth/cloud-p latform" 268 "https://www.googleapis.com/auth/cloud-p latform"
244 ] 269 ]
245 }, 270 },
246 "update": { 271 "setMasterAuth": {
247 "description": "Updates the settings of a sp ecific cluster.", 272 "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.",
248 "httpMethod": "PUT", 273 "httpMethod": "POST",
249 "id": "container.projects.zones.clusters.upd ate", 274 "id": "container.projects.zones.clusters.set MasterAuth",
250 "parameterOrder": [ 275 "parameterOrder": [
251 "projectId", 276 "projectId",
252 "zone", 277 "zone",
253 "clusterId" 278 "clusterId"
254 ], 279 ],
255 "parameters": { 280 "parameters": {
256 "projectId": { 281 "projectId": {
257 "description": "The Google Developer s Console [project ID or project number](https://support.google.com/cloud/answer /6158840).", 282 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
258 "location": "path", 283 "location": "path",
259 "required": true, 284 "required": true,
260 "type": "string" 285 "type": "string"
261 }, 286 },
262 "zone": { 287 "zone": {
263 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available) in which the cluster res ides.", 288 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr esides.",
264 "location": "path", 289 "location": "path",
265 "required": true, 290 "required": true,
266 "type": "string" 291 "type": "string"
267 }, 292 },
268 "clusterId": { 293 "clusterId": {
269 "description": "The name of the clus ter to upgrade.", 294 "description": "The name of the clus ter to upgrade.",
270 "location": "path", 295 "location": "path",
271 "required": true, 296 "required": true,
272 "type": "string" 297 "type": "string"
273 } 298 }
274 }, 299 },
275 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}", 300 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}:setMasterAuth",
276 "request": { 301 "request": {
277 "$ref": "UpdateClusterRequest" 302 "$ref": "SetMasterAuthRequest"
278 }, 303 },
279 "response": { 304 "response": {
280 "$ref": "Operation" 305 "$ref": "Operation"
281 }, 306 },
282 "scopes": [ 307 "scopes": [
283 "https://www.googleapis.com/auth/cloud-p latform" 308 "https://www.googleapis.com/auth/cloud-p latform"
284 ] 309 ]
285 }, 310 },
286 "delete": { 311 "delete": {
287 "description": "Deletes the cluster, includi ng the Kubernetes endpoint and all worker nodes. Firewalls and routes that were configured during cluster creation are also deleted. Other Google Compute Engine resources that might be in use by the cluster (e.g. load balancer resources) wi ll not be deleted if they weren't present at the initial create time.", 312 "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." ,
288 "httpMethod": "DELETE", 313 "httpMethod": "DELETE",
289 "id": "container.projects.zones.clusters.del ete", 314 "id": "container.projects.zones.clusters.del ete",
290 "parameterOrder": [ 315 "parameterOrder": [
291 "projectId", 316 "projectId",
292 "zone", 317 "zone",
293 "clusterId" 318 "clusterId"
294 ], 319 ],
295 "parameters": { 320 "parameters": {
321 "clusterId": {
322 "description": "The name of the clus ter to delete.",
323 "location": "path",
324 "required": true,
325 "type": "string"
326 },
296 "projectId": { 327 "projectId": {
297 "description": "The Google Developer s Console [project ID or project number](https://support.google.com/cloud/answer /6158840).", 328 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
298 "location": "path", 329 "location": "path",
299 "required": true, 330 "required": true,
300 "type": "string" 331 "type": "string"
301 }, 332 },
302 "zone": { 333 "zone": {
303 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available) in which the cluster res ides.", 334 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr esides.",
304 "location": "path",
305 "required": true,
306 "type": "string"
307 },
308 "clusterId": {
309 "description": "The name of the clus ter to delete.",
310 "location": "path", 335 "location": "path",
311 "required": true, 336 "required": true,
312 "type": "string" 337 "type": "string"
313 } 338 }
314 }, 339 },
315 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}", 340 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}",
316 "response": { 341 "response": {
317 "$ref": "Operation" 342 "$ref": "Operation"
318 }, 343 },
344 "scopes": [
345 "https://www.googleapis.com/auth/cloud-p latform"
346 ]
347 },
348 "list": {
349 "description": "Lists all clusters owned by a project in either the specified zone or all\nzones.",
350 "httpMethod": "GET",
351 "id": "container.projects.zones.clusters.lis t",
352 "parameterOrder": [
353 "projectId",
354 "zone"
355 ],
356 "parameters": {
357 "projectId": {
358 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
359 "location": "path",
360 "required": true,
361 "type": "string"
362 },
363 "zone": {
364 "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.",
365 "location": "path",
366 "required": true,
367 "type": "string"
368 }
369 },
370 "path": "v1/projects/{projectId}/zones/{zone }/clusters",
371 "response": {
372 "$ref": "ListClustersResponse"
373 },
374 "scopes": [
375 "https://www.googleapis.com/auth/cloud-p latform"
376 ]
377 },
378 "resourceLabels": {
379 "description": "Sets labels on a cluster.",
380 "httpMethod": "POST",
381 "id": "container.projects.zones.clusters.res ourceLabels",
382 "parameterOrder": [
383 "projectId",
384 "zone",
385 "clusterId"
386 ],
387 "parameters": {
388 "clusterId": {
389 "description": "The name of the clus ter.",
390 "location": "path",
391 "required": true,
392 "type": "string"
393 },
394 "projectId": {
395 "description": "The Google Developer s Console [project ID or project\nnumber](https://developers.google.com/console/ help/new/#projectnumber).",
396 "location": "path",
397 "required": true,
398 "type": "string"
399 },
400 "zone": {
401 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr esides.",
402 "location": "path",
403 "required": true,
404 "type": "string"
405 }
406 },
407 "path": "v1/projects/{projectId}/zones/{zone }/clusters/{clusterId}/resourceLabels",
408 "request": {
409 "$ref": "SetLabelsRequest"
410 },
411 "response": {
412 "$ref": "Operation"
413 },
414 "scopes": [
415 "https://www.googleapis.com/auth/cloud-p latform"
416 ]
417 },
418 "create": {
419 "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.",
420 "httpMethod": "POST",
421 "id": "container.projects.zones.clusters.cre ate",
422 "parameterOrder": [
423 "projectId",
424 "zone"
425 ],
426 "parameters": {
427 "projectId": {
428 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
429 "location": "path",
430 "required": true,
431 "type": "string"
432 },
433 "zone": {
434 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr esides.",
435 "location": "path",
436 "required": true,
437 "type": "string"
438 }
439 },
440 "path": "v1/projects/{projectId}/zones/{zone }/clusters",
441 "request": {
442 "$ref": "CreateClusterRequest"
443 },
444 "response": {
445 "$ref": "Operation"
446 },
319 "scopes": [ 447 "scopes": [
320 "https://www.googleapis.com/auth/cloud-p latform" 448 "https://www.googleapis.com/auth/cloud-p latform"
321 ] 449 ]
322 } 450 }
323 }, 451 },
324 "resources": { 452 "resources": {
325 "nodePools": { 453 "nodePools": {
326 "methods": { 454 "methods": {
327 "list": { 455 "list": {
328 "description": "Lists the node pools for a cluster.", 456 "description": "Lists the node pools for a cluster.",
329 "httpMethod": "GET", 457 "httpMethod": "GET",
330 "id": "container.projects.zones.clus ters.nodePools.list", 458 "id": "container.projects.zones.clus ters.nodePools.list",
331 "parameterOrder": [ 459 "parameterOrder": [
332 "projectId", 460 "projectId",
333 "zone", 461 "zone",
334 "clusterId" 462 "clusterId"
335 ], 463 ],
336 "parameters": { 464 "parameters": {
337 "projectId": { 465 "projectId": {
338 "description": "The Google D evelopers Console [project ID or project number](https://developers.google.com/c onsole/help/new/#projectnumber).", 466 "description": "The Google D evelopers Console [project ID or project\nnumber](https://developers.google.com/ console/help/new/#projectnumber).",
339 "location": "path", 467 "location": "path",
340 "required": true, 468 "required": true,
341 "type": "string" 469 "type": "string"
342 }, 470 },
343 "zone": { 471 "zone": {
344 "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the clu ster resides.", 472 "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl uster\nresides.",
345 "location": "path", 473 "location": "path",
346 "required": true, 474 "required": true,
347 "type": "string" 475 "type": "string"
348 }, 476 },
349 "clusterId": { 477 "clusterId": {
350 "description": "The name of the cluster.", 478 "description": "The name of the cluster.",
351 "location": "path", 479 "location": "path",
352 "required": true, 480 "required": true,
353 "type": "string" 481 "type": "string"
354 } 482 }
355 }, 483 },
356 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools", 484 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools",
357 "response": { 485 "response": {
358 "$ref": "ListNodePoolsResponse" 486 "$ref": "ListNodePoolsResponse"
359 }, 487 },
360 "scopes": [ 488 "scopes": [
361 "https://www.googleapis.com/auth /cloud-platform" 489 "https://www.googleapis.com/auth /cloud-platform"
362 ] 490 ]
363 }, 491 },
364 "get": { 492 "rollback": {
365 "description": "Retrieves the node p ool requested.", 493 "description": "Roll back the previo usly Aborted or Failed NodePool upgrade.\nThis will be an no-op if the last upgr ade successfully completed.",
366 "httpMethod": "GET", 494 "httpMethod": "POST",
367 "id": "container.projects.zones.clus ters.nodePools.get", 495 "id": "container.projects.zones.clus ters.nodePools.rollback",
368 "parameterOrder": [ 496 "parameterOrder": [
369 "projectId", 497 "projectId",
370 "zone", 498 "zone",
371 "clusterId", 499 "clusterId",
372 "nodePoolId" 500 "nodePoolId"
373 ], 501 ],
374 "parameters": { 502 "parameters": {
375 "projectId": { 503 "projectId": {
376 "description": "The Google D evelopers Console [project ID or project number](https://developers.google.com/c onsole/help/new/#projectnumber).", 504 "description": "The Google D evelopers Console [project ID or project\nnumber](https://support.google.com/clo ud/answer/6158840).",
377 "location": "path", 505 "location": "path",
378 "required": true, 506 "required": true,
379 "type": "string" 507 "type": "string"
380 }, 508 },
381 "zone": { 509 "zone": {
382 "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the clu ster resides.", 510 "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl uster\nresides.",
383 "location": "path", 511 "location": "path",
384 "required": true, 512 "required": true,
385 "type": "string" 513 "type": "string"
386 }, 514 },
387 "clusterId": { 515 "clusterId": {
388 "description": "The name of the cluster.", 516 "description": "The name of the cluster to rollback.",
389 "location": "path", 517 "location": "path",
390 "required": true, 518 "required": true,
391 "type": "string" 519 "type": "string"
392 }, 520 },
393 "nodePoolId": { 521 "nodePoolId": {
394 "description": "The name of the node pool.", 522 "description": "The name of the node pool to rollback.",
395 "location": "path", 523 "location": "path",
396 "required": true, 524 "required": true,
397 "type": "string" 525 "type": "string"
398 } 526 }
399 }, 527 },
400 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", 528 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback",
529 "request": {
530 "$ref": "RollbackNodePoolUpgrade Request"
531 },
401 "response": { 532 "response": {
402 "$ref": "NodePool" 533 "$ref": "Operation"
403 }, 534 },
404 "scopes": [ 535 "scopes": [
405 "https://www.googleapis.com/auth /cloud-platform" 536 "https://www.googleapis.com/auth /cloud-platform"
406 ] 537 ]
407 }, 538 },
408 "create": { 539 "create": {
409 "description": "Creates a node pool for a cluster.", 540 "description": "Creates a node pool for a cluster.",
410 "httpMethod": "POST", 541 "httpMethod": "POST",
411 "id": "container.projects.zones.clus ters.nodePools.create", 542 "id": "container.projects.zones.clus ters.nodePools.create",
412 "parameterOrder": [ 543 "parameterOrder": [
413 "projectId", 544 "projectId",
414 "zone", 545 "zone",
415 "clusterId" 546 "clusterId"
416 ], 547 ],
417 "parameters": { 548 "parameters": {
418 "projectId": {
419 "description": "The Google D evelopers Console [project ID or project number](https://developers.google.com/c onsole/help/new/#projectnumber).",
420 "location": "path",
421 "required": true,
422 "type": "string"
423 },
424 "zone": { 549 "zone": {
425 "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the clu ster resides.", 550 "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl uster\nresides.",
426 "location": "path", 551 "location": "path",
427 "required": true, 552 "required": true,
428 "type": "string" 553 "type": "string"
429 }, 554 },
430 "clusterId": { 555 "clusterId": {
431 "description": "The name of the cluster.", 556 "description": "The name of the cluster.",
432 "location": "path", 557 "location": "path",
433 "required": true, 558 "required": true,
434 "type": "string" 559 "type": "string"
560 },
561 "projectId": {
562 "description": "The Google D evelopers Console [project ID or project\nnumber](https://developers.google.com/ console/help/new/#projectnumber).",
563 "location": "path",
564 "required": true,
565 "type": "string"
435 } 566 }
436 }, 567 },
437 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools", 568 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools",
438 "request": { 569 "request": {
439 "$ref": "CreateNodePoolRequest" 570 "$ref": "CreateNodePoolRequest"
440 }, 571 },
441 "response": { 572 "response": {
442 "$ref": "Operation" 573 "$ref": "Operation"
443 }, 574 },
444 "scopes": [ 575 "scopes": [
445 "https://www.googleapis.com/auth /cloud-platform" 576 "https://www.googleapis.com/auth /cloud-platform"
446 ] 577 ]
447 }, 578 },
448 "delete": { 579 "get": {
449 "description": "Deletes a node pool from a cluster.", 580 "description": "Retrieves the node p ool requested.",
450 "httpMethod": "DELETE", 581 "httpMethod": "GET",
451 "id": "container.projects.zones.clus ters.nodePools.delete", 582 "id": "container.projects.zones.clus ters.nodePools.get",
452 "parameterOrder": [ 583 "parameterOrder": [
453 "projectId", 584 "projectId",
454 "zone", 585 "zone",
455 "clusterId", 586 "clusterId",
456 "nodePoolId" 587 "nodePoolId"
457 ], 588 ],
458 "parameters": { 589 "parameters": {
459 "projectId": {
460 "description": "The Google D evelopers Console [project ID or project number](https://developers.google.com/c onsole/help/new/#projectnumber).",
461 "location": "path",
462 "required": true,
463 "type": "string"
464 },
465 "zone": {
466 "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the clu ster resides.",
467 "location": "path",
468 "required": true,
469 "type": "string"
470 },
471 "clusterId": { 590 "clusterId": {
472 "description": "The name of the cluster.", 591 "description": "The name of the cluster.",
473 "location": "path", 592 "location": "path",
474 "required": true, 593 "required": true,
475 "type": "string" 594 "type": "string"
476 }, 595 },
477 "nodePoolId": { 596 "nodePoolId": {
478 "description": "The name of the node pool to delete.", 597 "description": "The name of the node pool.",
479 "location": "path", 598 "location": "path",
480 "required": true, 599 "required": true,
481 "type": "string" 600 "type": "string"
601 },
602 "projectId": {
603 "description": "The Google D evelopers Console [project ID or project\nnumber](https://developers.google.com/ console/help/new/#projectnumber).",
604 "location": "path",
605 "required": true,
606 "type": "string"
607 },
608 "zone": {
609 "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl uster\nresides.",
610 "location": "path",
611 "required": true,
612 "type": "string"
482 } 613 }
483 }, 614 },
484 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}", 615 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
485 "response": { 616 "response": {
486 "$ref": "Operation" 617 "$ref": "NodePool"
487 }, 618 },
488 "scopes": [ 619 "scopes": [
489 "https://www.googleapis.com/auth /cloud-platform" 620 "https://www.googleapis.com/auth /cloud-platform"
490 ] 621 ]
491 }, 622 },
492 "rollback": { 623 "setManagement": {
493 "description": "Roll back the previo usly Aborted or Failed NodePool upgrade. This will be an no-op if the last upgra de successfully completed.", 624 "description": "Sets the NodeManagem ent options for a node pool.",
494 "httpMethod": "POST", 625 "httpMethod": "POST",
495 "id": "container.projects.zones.clus ters.nodePools.rollback", 626 "id": "container.projects.zones.clus ters.nodePools.setManagement",
496 "parameterOrder": [ 627 "parameterOrder": [
497 "projectId", 628 "projectId",
498 "zone", 629 "zone",
499 "clusterId", 630 "clusterId",
500 "nodePoolId" 631 "nodePoolId"
501 ], 632 ],
502 "parameters": { 633 "parameters": {
634 "clusterId": {
635 "description": "The name of the cluster to update.",
636 "location": "path",
637 "required": true,
638 "type": "string"
639 },
640 "nodePoolId": {
641 "description": "The name of the node pool to update.",
642 "location": "path",
643 "required": true,
644 "type": "string"
645 },
503 "projectId": { 646 "projectId": {
504 "description": "The Google D evelopers Console [project ID or project number](https://support.google.com/clou d/answer/6158840).", 647 "description": "The Google D evelopers Console [project ID or project\nnumber](https://support.google.com/clo ud/answer/6158840).",
505 "location": "path", 648 "location": "path",
506 "required": true, 649 "required": true,
507 "type": "string" 650 "type": "string"
508 }, 651 },
509 "zone": { 652 "zone": {
510 "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the clu ster resides.", 653 "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl uster\nresides.",
511 "location": "path",
512 "required": true,
513 "type": "string"
514 },
515 "clusterId": {
516 "description": "The name of the cluster to rollback.",
517 "location": "path",
518 "required": true,
519 "type": "string"
520 },
521 "nodePoolId": {
522 "description": "The name of the node pool to rollback.",
523 "location": "path", 654 "location": "path",
524 "required": true, 655 "required": true,
525 "type": "string" 656 "type": "string"
526 } 657 }
527 }, 658 },
528 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}:rollback", 659 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement",
529 "request": { 660 "request": {
530 "$ref": "RollbackNodePoolUpgrade Request" 661 "$ref": "SetNodePoolManagementRe quest"
531 }, 662 },
532 "response": { 663 "response": {
533 "$ref": "Operation" 664 "$ref": "Operation"
534 }, 665 },
535 "scopes": [ 666 "scopes": [
536 "https://www.googleapis.com/auth /cloud-platform" 667 "https://www.googleapis.com/auth /cloud-platform"
537 ] 668 ]
538 }, 669 },
539 "setManagement": { 670 "delete": {
540 "description": "Sets the NodeManagem ent options for a node pool.", 671 "description": "Deletes a node pool from a cluster.",
541 "httpMethod": "POST", 672 "httpMethod": "DELETE",
542 "id": "container.projects.zones.clus ters.nodePools.setManagement", 673 "id": "container.projects.zones.clus ters.nodePools.delete",
543 "parameterOrder": [ 674 "parameterOrder": [
544 "projectId", 675 "projectId",
545 "zone", 676 "zone",
546 "clusterId", 677 "clusterId",
547 "nodePoolId" 678 "nodePoolId"
548 ], 679 ],
549 "parameters": { 680 "parameters": {
550 "projectId": { 681 "projectId": {
551 "description": "The Google D evelopers Console [project ID or project number](https://support.google.com/clou d/answer/6158840).", 682 "description": "The Google D evelopers Console [project ID or project\nnumber](https://developers.google.com/ console/help/new/#projectnumber).",
552 "location": "path", 683 "location": "path",
553 "required": true, 684 "required": true,
554 "type": "string" 685 "type": "string"
555 }, 686 },
556 "zone": { 687 "zone": {
557 "description": "The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the clu ster resides.", 688 "description": "The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cl uster\nresides.",
558 "location": "path", 689 "location": "path",
559 "required": true, 690 "required": true,
560 "type": "string" 691 "type": "string"
561 }, 692 },
562 "clusterId": { 693 "clusterId": {
563 "description": "The name of the cluster to update.", 694 "description": "The name of the cluster.",
564 "location": "path", 695 "location": "path",
565 "required": true, 696 "required": true,
566 "type": "string" 697 "type": "string"
567 }, 698 },
568 "nodePoolId": { 699 "nodePoolId": {
569 "description": "The name of the node pool to update.", 700 "description": "The name of the node pool to delete.",
570 "location": "path", 701 "location": "path",
571 "required": true, 702 "required": true,
572 "type": "string" 703 "type": "string"
573 } 704 }
574 }, 705 },
575 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}/setManagement", 706 "path": "v1/projects/{projectId}/zon es/{zone}/clusters/{clusterId}/nodePools/{nodePoolId}",
576 "request": {
577 "$ref": "SetNodePoolManagementRe quest"
578 },
579 "response": { 707 "response": {
580 "$ref": "Operation" 708 "$ref": "Operation"
581 }, 709 },
582 "scopes": [ 710 "scopes": [
583 "https://www.googleapis.com/auth /cloud-platform" 711 "https://www.googleapis.com/auth /cloud-platform"
584 ] 712 ]
585 } 713 }
586 } 714 }
587 } 715 }
588 } 716 }
589 }, 717 },
590 "operations": { 718 "operations": {
591 "methods": { 719 "methods": {
720 "cancel": {
721 "description": "Cancels the specified operat ion.",
722 "httpMethod": "POST",
723 "id": "container.projects.zones.operations.c ancel",
724 "parameterOrder": [
725 "projectId",
726 "zone",
727 "operationId"
728 ],
729 "parameters": {
730 "operationId": {
731 "description": "The server-assigned `name` of the operation.",
732 "location": "path",
733 "required": true,
734 "type": "string"
735 },
736 "projectId": {
737 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
738 "location": "path",
739 "required": true,
740 "type": "string"
741 },
742 "zone": {
743 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the operation resides.",
744 "location": "path",
745 "required": true,
746 "type": "string"
747 }
748 },
749 "path": "v1/projects/{projectId}/zones/{zone }/operations/{operationId}:cancel",
750 "request": {
751 "$ref": "CancelOperationRequest"
752 },
753 "response": {
754 "$ref": "Empty"
755 },
756 "scopes": [
757 "https://www.googleapis.com/auth/cloud-p latform"
758 ]
759 },
592 "list": { 760 "list": {
593 "description": "Lists all operations in a pr oject in a specific zone or all zones.", 761 "description": "Lists all operations in a pr oject in a specific zone or all zones.",
594 "httpMethod": "GET", 762 "httpMethod": "GET",
595 "id": "container.projects.zones.operations.l ist", 763 "id": "container.projects.zones.operations.l ist",
596 "parameterOrder": [ 764 "parameterOrder": [
597 "projectId", 765 "projectId",
598 "zone" 766 "zone"
599 ], 767 ],
600 "parameters": { 768 "parameters": {
601 "projectId": { 769 "projectId": {
602 "description": "The Google Developer s Console [project ID or project number](https://support.google.com/cloud/answer /6158840).", 770 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
603 "location": "path", 771 "location": "path",
604 "required": true, 772 "required": true,
605 "type": "string" 773 "type": "string"
606 }, 774 },
607 "zone": { 775 "zone": {
608 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available) to return operations for , or `-` for all zones.", 776 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available)\nto return operations fo r, or `-` for all zones.",
609 "location": "path", 777 "location": "path",
610 "required": true, 778 "required": true,
611 "type": "string" 779 "type": "string"
612 } 780 }
613 }, 781 },
614 "path": "v1/projects/{projectId}/zones/{zone }/operations", 782 "path": "v1/projects/{projectId}/zones/{zone }/operations",
615 "response": { 783 "response": {
616 "$ref": "ListOperationsResponse" 784 "$ref": "ListOperationsResponse"
617 }, 785 },
618 "scopes": [ 786 "scopes": [
619 "https://www.googleapis.com/auth/cloud-p latform" 787 "https://www.googleapis.com/auth/cloud-p latform"
620 ] 788 ]
621 }, 789 },
622 "get": { 790 "get": {
623 "description": "Gets the specified operation .", 791 "description": "Gets the specified operation .",
624 "httpMethod": "GET", 792 "httpMethod": "GET",
625 "id": "container.projects.zones.operations.g et", 793 "id": "container.projects.zones.operations.g et",
626 "parameterOrder": [ 794 "parameterOrder": [
627 "projectId", 795 "projectId",
628 "zone", 796 "zone",
629 "operationId" 797 "operationId"
630 ], 798 ],
631 "parameters": { 799 "parameters": {
800 "operationId": {
801 "description": "The server-assigned `name` of the operation.",
802 "location": "path",
803 "required": true,
804 "type": "string"
805 },
632 "projectId": { 806 "projectId": {
633 "description": "The Google Developer s Console [project ID or project number](https://support.google.com/cloud/answer /6158840).", 807 "description": "The Google Developer s Console [project ID or project\nnumber](https://support.google.com/cloud/answe r/6158840).",
634 "location": "path", 808 "location": "path",
635 "required": true, 809 "required": true,
636 "type": "string" 810 "type": "string"
637 }, 811 },
638 "zone": { 812 "zone": {
639 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available) in which the cluster res ides.", 813 "description": "The name of the Goog le Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nr esides.",
640 "location": "path",
641 "required": true,
642 "type": "string"
643 },
644 "operationId": {
645 "description": "The server-assigned `name` of the operation.",
646 "location": "path", 814 "location": "path",
647 "required": true, 815 "required": true,
648 "type": "string" 816 "type": "string"
649 } 817 }
650 }, 818 },
651 "path": "v1/projects/{projectId}/zones/{zone }/operations/{operationId}", 819 "path": "v1/projects/{projectId}/zones/{zone }/operations/{operationId}",
652 "response": { 820 "response": {
653 "$ref": "Operation" 821 "$ref": "Operation"
654 }, 822 },
655 "scopes": [ 823 "scopes": [
656 "https://www.googleapis.com/auth/cloud-p latform" 824 "https://www.googleapis.com/auth/cloud-p latform"
657 ]
658 },
659 "cancel": {
660 "description": "Cancels the specified operat ion.",
661 "httpMethod": "POST",
662 "id": "container.projects.zones.operations.c ancel",
663 "parameterOrder": [
664 "projectId",
665 "zone",
666 "operationId"
667 ],
668 "parameters": {
669 "projectId": {
670 "description": "The Google Developer s Console [project ID or project number](https://support.google.com/cloud/answer /6158840).",
671 "location": "path",
672 "required": true,
673 "type": "string"
674 },
675 "zone": {
676 "description": "The name of the Goog le Compute Engine [zone](/compute/docs/zones#available) in which the operation r esides.",
677 "location": "path",
678 "required": true,
679 "type": "string"
680 },
681 "operationId": {
682 "description": "The server-assigned `name` of the operation.",
683 "location": "path",
684 "required": true,
685 "type": "string"
686 }
687 },
688 "path": "v1/projects/{projectId}/zones/{zone }/operations/{operationId}:cancel",
689 "request": {
690 "$ref": "CancelOperationRequest"
691 },
692 "response": {
693 "$ref": "Empty"
694 },
695 "scopes": [
696 "https://www.googleapis.com/auth/cloud-p latform"
697 ] 825 ]
698 } 826 }
699 } 827 }
700 } 828 }
701 } 829 }
702 } 830 }
703 } 831 }
704 } 832 }
705 }, 833 },
706 "revision": "20161024", 834 "revision": "20170406",
707 "rootUrl": "https://container.googleapis.com/", 835 "rootUrl": "https://container.googleapis.com/",
708 "schemas": { 836 "schemas": {
709 "ListClustersResponse": { 837 "SetNodePoolManagementRequest": {
710 "description": "ListClustersResponse is the result of ListClustersRe quest.", 838 "description": "SetNodePoolManagementRequest sets the node managemen t properties of a node\npool.",
711 "id": "ListClustersResponse", 839 "id": "SetNodePoolManagementRequest",
712 "properties": { 840 "properties": {
713 "clusters": { 841 "management": {
714 "description": "A list of clusters in the project in the spe cified zone, or across all ones.", 842 "$ref": "NodeManagement",
715 "items": { 843 "description": "NodeManagement configuration for the node po ol."
716 "$ref": "Cluster" 844 }
717 }, 845 },
718 "type": "array" 846 "type": "object"
719 }, 847 },
720 "missingZones": { 848 "Empty": {
721 "description": "If any zones are listed here, the list of cl usters returned may be missing those zones.", 849 "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 `{}`.",
722 "items": { 850 "id": "Empty",
723 "type": "string" 851 "properties": {},
724 }, 852 "type": "object"
725 "type": "array" 853 },
726 } 854 "CreateClusterRequest": {
727 }, 855 "description": "CreateClusterRequest creates a cluster.",
728 "type": "object" 856 "id": "CreateClusterRequest",
729 }, 857 "properties": {
730 "Cluster": { 858 "cluster": {
731 "description": "A Google Container Engine cluster.", 859 "$ref": "Cluster",
732 "id": "Cluster", 860 "description": "A [cluster\nresource](/container-engine/refe rence/rest/v1/projects.zones.clusters)"
733 "properties": { 861 }
862 },
863 "type": "object"
864 },
865 "ListNodePoolsResponse": {
866 "description": "ListNodePoolsResponse is the result of ListNodePools Request.",
867 "id": "ListNodePoolsResponse",
868 "properties": {
869 "nodePools": {
870 "description": "A list of node pools for a cluster.",
871 "items": {
872 "$ref": "NodePool"
873 },
874 "type": "array"
875 }
876 },
877 "type": "object"
878 },
879 "Item": {
880 "description": "A label to be applied to Google Compute Engine resou rces. It must comply\nwith RFC1035 for each key and value.",
881 "id": "Item",
882 "properties": {
883 "value": {
884 "description": "The Value for this label.",
885 "type": "string"
886 },
887 "key": {
888 "description": "The Key for this label.",
889 "type": "string"
890 }
891 },
892 "type": "object"
893 },
894 "LegacyAbac": {
895 "description": "Configuration for the legacy Attribute Based Access Control authorization\nmode.",
896 "id": "LegacyAbac",
897 "properties": {
898 "enabled": {
899 "description": "Whether the ABAC authorizer is enabled for t his cluster. When enabled,\nidentities in the system, including service accounts , nodes, and\ncontrollers, will have statically granted permissions beyond those \nprovided by the RBAC configuration or IAM.",
900 "type": "boolean"
901 }
902 },
903 "type": "object"
904 },
905 "NodePool": {
906 "description": "NodePool contains the name and configuration for a c luster's node pool.\nNode pools are a set of nodes (i.e. VM's), with a common co nfiguration and\nspecification, under the control of the cluster master. They ma y have a set\nof Kubernetes labels applied to them, which may be used to referen ce them\nduring pod scheduling. They may also be resized up or down, to accommod ate\nthe workload.",
907 "id": "NodePool",
908 "properties": {
909 "statusMessage": {
910 "description": "[Output only] Additional information about t he current status of this\nnode pool instance, if available.",
911 "type": "string"
912 },
734 "name": { 913 "name": {
735 "description": "The name of this cluster. The name must be u nique within this project and zone, and can be up to 40 characters with the foll owing restrictions: * Lowercase letters, numbers, and hyphens only. * Must start with a letter. * Must end with a number or a letter.", 914 "description": "The name of the node pool.",
736 "type": "string" 915 "type": "string"
737 }, 916 },
738 "description": { 917 "autoscaling": {
739 "description": "An optional description of this cluster.", 918 "$ref": "NodePoolAutoscaling",
740 "type": "string" 919 "description": "Autoscaler configuration for this NodePool. Autoscaler is enabled\nonly if a valid configuration is present."
741 }, 920 },
742 "initialNodeCount": { 921 "initialNodeCount": {
743 "description": "The number of nodes to create in this cluste r. You must ensure that your Compute Engine resource quota is sufficient for thi s number of instances. You must also have available firewall and routes quota. F or requests, this field should only be used in lieu of a \"node_pool\" object, s ince this configuration (along with the \"node_config\") will be used to create a \"NodePool\" object with an auto-generated name. Do not use this and a node_po ol at the same time.", 922 "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.",
744 "format": "int32", 923 "format": "int32",
745 "type": "integer" 924 "type": "integer"
746 }, 925 },
747 "nodeConfig": { 926 "management": {
748 "$ref": "NodeConfig", 927 "$ref": "NodeManagement",
749 "description": "Parameters used in creating the cluster's no des. See `nodeConfig` for the description of its properties. For requests, this field should only be used in lieu of a \"node_pool\" object, since this configur ation (along with the \"initial_node_count\") will be used to create a \"NodePoo l\" object with an auto-generated name. Do not use this and a node_pool at the s ame time. For responses, this field will be populated with the node configuratio n of the first node pool. If unspecified, the defaults are used." 928 "description": "NodeManagement configuration for this NodePo ol."
750 },
751 "masterAuth": {
752 "$ref": "MasterAuth",
753 "description": "The authentication information for accessing the master endpoint."
754 },
755 "loggingService": {
756 "description": "The logging service the cluster should use t o write logs. Currently available options: * `logging.googleapis.com` - the Goog le Cloud Logging service. * `none` - no logs will be exported from the cluster. * if left as an empty string,`logging.googleapis.com` will be used.",
757 "type": "string"
758 },
759 "monitoringService": {
760 "description": "The monitoring service the cluster should us e to write metrics. Currently available options: * `monitoring.googleapis.com` - the Google Cloud Monitoring service. * `none` - no metrics will be exported fro m the cluster. * if left as an empty string, `monitoring.googleapis.com` will be used.",
761 "type": "string"
762 },
763 "network": {
764 "description": "The name of the Google Compute Engine [netwo rk](/compute/docs/networks-and-firewalls#networks) to which the cluster is conne cted. If left unspecified, the `default` network will be used.",
765 "type": "string"
766 },
767 "clusterIpv4Cidr": {
768 "description": "The IP address range of the container pods i n this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_Ro uting) notation (e.g. `10.96.0.0/14`). Leave blank to have one automatically cho sen or specify a `/14` block in `10.0.0.0/8`.",
769 "type": "string"
770 },
771 "addonsConfig": {
772 "$ref": "AddonsConfig",
773 "description": "Configurations for the various addons availa ble to run in the cluster."
774 },
775 "subnetwork": {
776 "description": "The name of the Google Compute Engine [subne twork](/compute/docs/subnetworks) to which the cluster is connected.",
777 "type": "string"
778 },
779 "nodePools": {
780 "description": "The node pools associated with this cluster. This field should not be set if \"node_config\" or \"initial_node_count\" are s pecified.",
781 "items": {
782 "$ref": "NodePool"
783 },
784 "type": "array"
785 },
786 "locations": {
787 "description": "The list of Google Compute Engine [locations ](/compute/docs/zones#available) in which the cluster's nodes should be located. ",
788 "items": {
789 "type": "string"
790 },
791 "type": "array"
792 },
793 "enableKubernetesAlpha": {
794 "description": "Kubernetes alpha features are enabled on thi s cluster. This includes alpha API groups (e.g. v1alpha1) and features that may not be production ready in the kubernetes version of the master and nodes. The c luster has no SLA for uptime and master/node upgrades are disabled. Alpha enable d clusters are automatically deleted thirty days after creation.",
795 "type": "boolean"
796 }, 929 },
797 "selfLink": { 930 "selfLink": {
798 "description": "[Output only] Server-defined URL for the res ource.", 931 "description": "[Output only] Server-defined URL for the res ource.",
799 "type": "string" 932 "type": "string"
800 }, 933 },
801 "zone": {
802 "description": "[Output only] The name of the Google Compute Engine [zone](/compute/docs/zones#available) in which the cluster resides.",
803 "type": "string"
804 },
805 "endpoint": {
806 "description": "[Output only] The IP address of this cluster 's master endpoint. The endpoint can be accessed from the internet at `https://u sername:password@endpoint/`. See the `masterAuth` property of this resource for username and password information.",
807 "type": "string"
808 },
809 "initialClusterVersion": {
810 "description": "[Output only] The software version of the ma ster endpoint and kubelets used in the cluster when it was first created. The ve rsion can be upgraded over time.",
811 "type": "string"
812 },
813 "currentMasterVersion": {
814 "description": "[Output only] The current software version o f the master endpoint.",
815 "type": "string"
816 },
817 "currentNodeVersion": {
818 "description": "[Output only] The current version of the nod e software components. If they are currently at multiple versions because they'r e in the process of being upgraded, this reflects the minimum version of all nod es.",
819 "type": "string"
820 },
821 "createTime": {
822 "description": "[Output only] The time the cluster was creat ed, in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
823 "type": "string"
824 },
825 "status": {
826 "description": "[Output only] The current status of this clu ster.",
827 "enum": [
828 "STATUS_UNSPECIFIED",
829 "PROVISIONING",
830 "RUNNING",
831 "RECONCILING",
832 "STOPPING",
833 "ERROR"
834 ],
835 "type": "string"
836 },
837 "statusMessage": {
838 "description": "[Output only] Additional information about t he current status of this cluster, if available.",
839 "type": "string"
840 },
841 "nodeIpv4CidrSize": {
842 "description": "[Output only] The size of the address space on each node for hosting containers. This is provisioned from within the `contai ner_ipv4_cidr` range.",
843 "format": "int32",
844 "type": "integer"
845 },
846 "servicesIpv4Cidr": {
847 "description": "[Output only] The IP address range of the Ku bernetes services in this cluster, in [CIDR](http://en.wikipedia.org/wiki/Classl ess_Inter-Domain_Routing) notation (e.g. `1.2.3.4/29`). Service addresses are ty pically put in the last `/16` from the container CIDR.",
848 "type": "string"
849 },
850 "instanceGroupUrls": {
851 "description": "[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this cluster.",
852 "items": {
853 "type": "string"
854 },
855 "type": "array"
856 },
857 "currentNodeCount": {
858 "description": "[Output only] The number of nodes currently in the cluster.",
859 "format": "int32",
860 "type": "integer"
861 },
862 "expireTime": {
863 "description": "[Output only] The time the cluster will be a utomatically deleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text for mat.",
864 "type": "string"
865 }
866 },
867 "type": "object"
868 },
869 "NodeConfig": {
870 "description": "Parameters that describe the nodes in a cluster.",
871 "id": "NodeConfig",
872 "properties": {
873 "machineType": {
874 "description": "The name of a Google Compute Engine [machine type](/compute/docs/machine-types) (e.g. `n1-standard-1`). If unspecified, the default machine type is `n1-standard-1`.",
875 "type": "string"
876 },
877 "diskSizeGb": {
878 "description": "Size of the disk attached to each node, spec ified in GB. The smallest allowed disk size is 10GB. If unspecified, the default disk size is 100GB.",
879 "format": "int32",
880 "type": "integer"
881 },
882 "oauthScopes": {
883 "description": "The set of Google API scopes to be made avai lable on all of the node VMs under the \"default\" service account. The followin g scopes are recommended, but not required, and by default are not included: * ` https://www.googleapis.com/auth/compute` is required for mounting persistent sto rage on your nodes. * `https://www.googleapis.com/auth/devstorage.read_only` is required for communicating with **gcr.io** (the [Google Container Registry](/con tainer-registry/)). If unspecified, no scopes are added, unless Cloud Logging or Cloud Monitoring are enabled, in which case their required scopes will be added .",
884 "items": {
885 "type": "string"
886 },
887 "type": "array"
888 },
889 "serviceAccount": {
890 "description": "The Google Cloud Platform Service Account to be used by the node VMs. If no Service Account is specified, the \"default\" se rvice account is used.",
891 "type": "string"
892 },
893 "metadata": {
894 "additionalProperties": {
895 "type": "string"
896 },
897 "description": "The metadata key/value pairs assigned to ins tances in the cluster. Keys must conform to the regexp [a-zA-Z0-9-_]+ and be les s than 128 bytes in length. These are reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project or be one of the four reserved keys: \"instance-t emplate\", \"kube-env\", \"startup-script\", and \"user-data\" Values are free-f orm strings, and only have meaning as interpreted by the image running in the in stance. The only restriction placed on them is that each value's size must be le ss than or equal to 32 KB. The total size of all keys and values must be less th an 512 KB.",
898 "type": "object"
899 },
900 "imageType": {
901 "description": "The image type to use for this node. Note th at for a given image type, the latest version of it will be used.",
902 "type": "string"
903 },
904 "labels": {
905 "additionalProperties": {
906 "type": "string"
907 },
908 "description": "The map of Kubernetes labels (key/value pair s) to be applied to each node. These will added in addition to any default label (s) that Kubernetes may apply to the node. In case of conflict in label keys, th e applied set may differ depending on the Kubernetes version -- it's best to ass ume the behavior is undefined and conflicts should be avoided. For more informat ion, including usage and the valid values, see: http://kubernetes.io/v1.1/docs/u ser-guide/labels.html",
909 "type": "object"
910 },
911 "localSsdCount": {
912 "description": "The number of local SSD disks to be attached to the node. The limit for this value is dependant upon the maximum number of d isks available on a machine per zone. See: https://cloud.google.com/compute/docs /disks/local-ssd#local_ssd_limits for more information.",
913 "format": "int32",
914 "type": "integer"
915 },
916 "tags": {
917 "description": "The list of instance tags applied to all nod es. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during cluster or node pool creation. Each tag with in the list must comply with RFC1035.",
918 "items": {
919 "type": "string"
920 },
921 "type": "array"
922 },
923 "preemptible": {
924 "description": "Whether the nodes are created as preemptible VM instances. See: https://cloud.google.com/compute/docs/instances/preemptible for more inforamtion about preemptible VM instances.",
925 "type": "boolean"
926 }
927 },
928 "type": "object"
929 },
930 "MasterAuth": {
931 "description": "The authentication information for accessing the mas ter endpoint. Authentication can be done using HTTP basic auth or using client c ertificates.",
932 "id": "MasterAuth",
933 "properties": {
934 "username": {
935 "description": "The username to use for HTTP basic authentic ation to the master endpoint.",
936 "type": "string"
937 },
938 "password": {
939 "description": "The password to use for HTTP basic authentic ation to the master endpoint. Because the master endpoint is open to the Interne t, you should create a strong password.",
940 "type": "string"
941 },
942 "clusterCaCertificate": {
943 "description": "[Output only] Base64-encoded public certific ate that is the root of trust for the cluster.",
944 "type": "string"
945 },
946 "clientCertificate": {
947 "description": "[Output only] Base64-encoded public certific ate used by clients to authenticate to the cluster endpoint.",
948 "type": "string"
949 },
950 "clientKey": {
951 "description": "[Output only] Base64-encoded private key use d by clients to authenticate to the cluster endpoint.",
952 "type": "string"
953 }
954 },
955 "type": "object"
956 },
957 "AddonsConfig": {
958 "description": "Configuration for the addons that can be automatical ly spun up in the cluster, enabling additional functionality.",
959 "id": "AddonsConfig",
960 "properties": {
961 "httpLoadBalancing": {
962 "$ref": "HttpLoadBalancing",
963 "description": "Configuration for the HTTP (L7) load balanci ng controller addon, which makes it easy to set up HTTP load balancers for servi ces in a cluster."
964 },
965 "horizontalPodAutoscaling": {
966 "$ref": "HorizontalPodAutoscaling",
967 "description": "Configuration for the horizontal pod autosca ling feature, which increases or decreases the number of replica pods a replicat ion controller has based on the resource usage of the existing pods."
968 }
969 },
970 "type": "object"
971 },
972 "HttpLoadBalancing": {
973 "description": "Configuration options for the HTTP (L7) load balanci ng controller addon, which makes it easy to set up HTTP load balancers for servi ces in a cluster.",
974 "id": "HttpLoadBalancing",
975 "properties": {
976 "disabled": {
977 "description": "Whether the HTTP Load Balancing controller i s enabled in the cluster. When enabled, it runs a small pod in the cluster that manages the load balancers.",
978 "type": "boolean"
979 }
980 },
981 "type": "object"
982 },
983 "HorizontalPodAutoscaling": {
984 "description": "Configuration options for the horizontal pod autosca ling feature, which increases or decreases the number of replica pods a replicat ion controller has based on the resource usage of the existing pods.",
985 "id": "HorizontalPodAutoscaling",
986 "properties": {
987 "disabled": {
988 "description": "Whether the Horizontal Pod Autoscaling featu re is enabled in the cluster. When enabled, it ensures that a Heapster pod is ru nning in the cluster, which is also used by the Cloud Monitoring service.",
989 "type": "boolean"
990 }
991 },
992 "type": "object"
993 },
994 "NodePool": {
995 "description": "NodePool contains the name and configuration for a c luster's node pool. Node pools are a set of nodes (i.e. VM's), with a common con figuration and specification, under the control of the cluster master. They may have a set of Kubernetes labels applied to them, which may be used to reference them during pod scheduling. They may also be resized up or down, to accommodate the workload.",
996 "id": "NodePool",
997 "properties": {
998 "name": {
999 "description": "The name of the node pool.",
1000 "type": "string"
1001 },
1002 "config": {
1003 "$ref": "NodeConfig",
1004 "description": "The node configuration of the pool."
1005 },
1006 "initialNodeCount": {
1007 "description": "The initial node count for the pool. You mus t ensure that your Compute Engine resource quota is sufficient for this number o f instances. You must also have available firewall and routes quota.",
1008 "format": "int32",
1009 "type": "integer"
1010 },
1011 "selfLink": {
1012 "description": "[Output only] Server-defined URL for the res ource.",
1013 "type": "string"
1014 },
1015 "version": { 934 "version": {
1016 "description": "[Output only] The version of the Kubernetes of this node.", 935 "description": "[Output only] The version of the Kubernetes of this node.",
1017 "type": "string" 936 "type": "string"
1018 }, 937 },
1019 "instanceGroupUrls": { 938 "instanceGroupUrls": {
1020 "description": "[Output only] The resource URLs of [instance groups](/compute/docs/instance-groups/) associated with this node pool.", 939 "description": "[Output only] The resource URLs of [instance \ngroups](/compute/docs/instance-groups/) associated with this\nnode pool.",
1021 "items": { 940 "items": {
1022 "type": "string" 941 "type": "string"
1023 }, 942 },
1024 "type": "array" 943 "type": "array"
1025 }, 944 },
1026 "status": { 945 "status": {
1027 "description": "[Output only] The status of the nodes in thi s pool instance.", 946 "description": "[Output only] The status of the nodes in thi s pool instance.",
1028 "enum": [ 947 "enum": [
1029 "STATUS_UNSPECIFIED", 948 "STATUS_UNSPECIFIED",
1030 "PROVISIONING", 949 "PROVISIONING",
1031 "RUNNING", 950 "RUNNING",
1032 "RUNNING_WITH_ERROR", 951 "RUNNING_WITH_ERROR",
1033 "RECONCILING", 952 "RECONCILING",
1034 "STOPPING", 953 "STOPPING",
1035 "ERROR" 954 "ERROR"
1036 ], 955 ],
1037 "type": "string" 956 "enumDescriptions": [
1038 }, 957 "Not set.",
1039 "statusMessage": { 958 "The PROVISIONING state indicates the node pool is being created.",
1040 "description": "[Output only] Additional information about t he current status of this node pool instance, if available.", 959 "The RUNNING state indicates the node pool has been crea ted\nand is fully usable.",
1041 "type": "string" 960 "The RUNNING_WITH_ERROR state indicates the node pool ha s been created\nand is partially usable. Some error state has occurred and some\ nfunctionality may be impaired. Customer may need to reissue a request\nor trigg er a new update.",
1042 }, 961 "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.",
1043 "autoscaling": { 962 "The STOPPING state indicates the node pool is being del eted.",
1044 "$ref": "NodePoolAutoscaling", 963 "The ERROR state indicates the node pool may be unusable . Details\ncan be found in the `statusMessage` field."
1045 "description": "Autoscaler configuration for this NodePool. Autoscaler is enabled only if a valid configuration is present." 964 ],
1046 }, 965 "type": "string"
1047 "management": { 966 },
1048 "$ref": "NodeManagement", 967 "config": {
1049 "description": "NodeManagement configuration for this NodePo ol." 968 "$ref": "NodeConfig",
1050 } 969 "description": "The node configuration of the pool."
1051 }, 970 }
1052 "type": "object" 971 },
1053 }, 972 "type": "object"
1054 "NodePoolAutoscaling": { 973 },
1055 "description": "NodePoolAutoscaling contains information required by cluster autoscaler to adjust the size of the node pool to the current cluster u sage.", 974 "SetLabelsRequest": {
1056 "id": "NodePoolAutoscaling", 975 "description": "SetLabelsRequest sets the Google Cloud Platform labe ls on a Google Container\nEngine cluster, which will in turn set them for Google Compute Engine\nresources used by that cluster",
1057 "properties": { 976 "id": "SetLabelsRequest",
1058 "enabled": { 977 "properties": {
1059 "description": "Is autoscaling enabled for this node pool.", 978 "resourceLabels": {
979 "$ref": "ResourceLabels",
980 "description": "The labels to set for that cluster."
981 },
982 "labelFingerprint": {
983 "description": "The fingerprint of the previous set of label s for this resource,\nused to detect conflicts. The fingerprint is initially gen erated by\nContainer Engine and changes after every request to modify or update\ nlabels. You must always provide an up-to-date fingerprint hash when\nupdating o r changing labels. Make a <code>get()</code> request to the\nresource to get the latest fingerprint.",
984 "type": "string"
985 }
986 },
987 "type": "object"
988 },
989 "NodeManagement": {
990 "description": "NodeManagement defines the set of node management se rvices turned on for the\nnode pool.",
991 "id": "NodeManagement",
992 "properties": {
993 "autoUpgrade": {
994 "description": "A flag that specifies whether node auto-upgr ade is enabled for the node\npool. If enabled, node auto-upgrade helps keep the nodes in your node pool\nup to date with the latest release version of Kubernete s.",
1060 "type": "boolean" 995 "type": "boolean"
1061 }, 996 },
1062 "minNodeCount": { 997 "autoRepair": {
1063 "description": "Minimum number of nodes in the NodePool. Mus t be >= 1 and <= max_node_count.", 998 "description": "A flag that specifies whether the node auto- repair is enabled for the node\npool. If enabled, the nodes in this node pool wi ll be monitored and, if\nthey fail health checks too many times, an automatic re pair action will be\ntriggered.",
1064 "format": "int32",
1065 "type": "integer"
1066 },
1067 "maxNodeCount": {
1068 "description": "Maximum number of nodes in the NodePool. Mus t be >= min_node_count. There has to enough quota to scale up the cluster.",
1069 "format": "int32",
1070 "type": "integer"
1071 }
1072 },
1073 "type": "object"
1074 },
1075 "NodeManagement": {
1076 "description": "NodeManagement defines the set of node management se rvices turned on for the node pool.",
1077 "id": "NodeManagement",
1078 "properties": {
1079 "autoUpgrade": {
1080 "description": "Whether the nodes will be automatically upgr aded.",
1081 "type": "boolean" 999 "type": "boolean"
1082 }, 1000 },
1083 "upgradeOptions": { 1001 "upgradeOptions": {
1084 "$ref": "AutoUpgradeOptions", 1002 "$ref": "AutoUpgradeOptions",
1085 "description": "Specifies the Auto Upgrade knobs for the nod e pool." 1003 "description": "Specifies the Auto Upgrade knobs for the nod e pool."
1086 } 1004 }
1087 }, 1005 },
1088 "type": "object" 1006 "type": "object"
1089 }, 1007 },
1090 "AutoUpgradeOptions": { 1008 "ResourceLabels": {
1091 "description": "AutoUpgradeOptions defines the set of options for th e user to control how the Auto Upgrades will proceed.", 1009 "description": "The set of Google Compute Engine labels that will be applied to any\nunderlying resources that the Google Container Cluster creates or uses.\nThese are merely metadata on the resources, and do not change the beha vior\nof the cluster.",
1092 "id": "AutoUpgradeOptions", 1010 "id": "ResourceLabels",
1093 "properties": { 1011 "properties": {
1094 "autoUpgradeStartTime": { 1012 "items": {
1095 "description": "[Output only] This field is set when upgrade s are about to commence with the approximate start time for the upgrades, in [RF C3339](https://www.ietf.org/rfc/rfc3339.txt) text format.", 1013 "description": "The list of labels.",
1096 "type": "string" 1014 "items": {
1097 }, 1015 "$ref": "Item"
1098 "description": { 1016 },
1099 "description": "[Output only] This field is set when upgrade s are about to commence with the description of the upgrade.", 1017 "type": "array"
1100 "type": "string" 1018 }
1101 } 1019 },
1102 }, 1020 "type": "object"
1103 "type": "object" 1021 },
1104 }, 1022 "CancelOperationRequest": {
1105 "CreateClusterRequest": { 1023 "description": "CancelOperationRequest cancels a single operation.",
1106 "description": "CreateClusterRequest creates a cluster.", 1024 "id": "CancelOperationRequest",
1107 "id": "CreateClusterRequest", 1025 "properties": {},
1108 "properties": { 1026 "type": "object"
1109 "cluster": { 1027 },
1110 "$ref": "Cluster", 1028 "SetLegacyAbacRequest": {
1111 "description": "A [cluster resource](/container-engine/refer ence/rest/v1/projects.zones.clusters)" 1029 "description": "SetLegacyAbacRequest enables or disables the ABAC au thorization mechanism for\na cluster.",
1030 "id": "SetLegacyAbacRequest",
1031 "properties": {
1032 "enabled": {
1033 "description": "Whether ABAC authorization will be enabled i n the cluster.",
1034 "type": "boolean"
1112 } 1035 }
1113 }, 1036 },
1114 "type": "object" 1037 "type": "object"
1115 }, 1038 },
1116 "Operation": { 1039 "Operation": {
1117 "description": "This operation resource represents operations that m ay have happened or are happening on the cluster. All fields are output only.", 1040 "description": "This operation resource represents operations that m ay have happened or are\nhappening on the cluster. All fields are output only.",
1118 "id": "Operation", 1041 "id": "Operation",
1119 "properties": { 1042 "properties": {
1043 "status": {
1044 "description": "The current status of the operation.",
1045 "enum": [
1046 "STATUS_UNSPECIFIED",
1047 "PENDING",
1048 "RUNNING",
1049 "DONE",
1050 "ABORTING"
1051 ],
1052 "enumDescriptions": [
1053 "Not set.",
1054 "The operation has been created.",
1055 "The operation is currently running.",
1056 "The operation is done, either cancelled or completed.",
1057 "The operation is aborting."
1058 ],
1059 "type": "string"
1060 },
1061 "statusMessage": {
1062 "description": "If an error has occurred, a textual descript ion of the error.",
1063 "type": "string"
1064 },
1120 "name": { 1065 "name": {
1121 "description": "The server-assigned ID for the operation.", 1066 "description": "The server-assigned ID for the operation.",
1122 "type": "string" 1067 "type": "string"
1123 }, 1068 },
1124 "zone": { 1069 "selfLink": {
1125 "description": "The name of the Google Compute Engine [zone] (/compute/docs/zones#available) in which the operation is taking place.", 1070 "description": "Server-defined URL for the resource.",
1071 "type": "string"
1072 },
1073 "detail": {
1074 "description": "Detailed operation progress, if available.",
1075 "type": "string"
1076 },
1077 "targetLink": {
1078 "description": "Server-defined URL for the target of the ope ration.",
1126 "type": "string" 1079 "type": "string"
1127 }, 1080 },
1128 "operationType": { 1081 "operationType": {
1129 "description": "The operation type.", 1082 "description": "The operation type.",
1130 "enum": [ 1083 "enum": [
1131 "TYPE_UNSPECIFIED", 1084 "TYPE_UNSPECIFIED",
1132 "CREATE_CLUSTER", 1085 "CREATE_CLUSTER",
1133 "DELETE_CLUSTER", 1086 "DELETE_CLUSTER",
1134 "UPGRADE_MASTER", 1087 "UPGRADE_MASTER",
1135 "UPGRADE_NODES", 1088 "UPGRADE_NODES",
1136 "REPAIR_CLUSTER", 1089 "REPAIR_CLUSTER",
1137 "UPDATE_CLUSTER", 1090 "UPDATE_CLUSTER",
1138 "CREATE_NODE_POOL", 1091 "CREATE_NODE_POOL",
1139 "DELETE_NODE_POOL", 1092 "DELETE_NODE_POOL",
1140 "SET_NODE_POOL_MANAGEMENT" 1093 "SET_NODE_POOL_MANAGEMENT",
1141 ], 1094 "AUTO_REPAIR_NODES",
1142 "type": "string" 1095 "AUTO_UPGRADE_NODES",
1143 }, 1096 "SET_LABELS",
1144 "status": { 1097 "SET_MASTER_AUTH"
1145 "description": "The current status of the operation.", 1098 ],
1146 "enum": [ 1099 "enumDescriptions": [
1147 "STATUS_UNSPECIFIED", 1100 "Not set.",
1148 "PENDING", 1101 "Cluster create.",
1149 "RUNNING", 1102 "Cluster delete.",
1150 "DONE", 1103 "A master upgrade.",
1151 "ABORTING" 1104 "A node upgrade.",
1152 ], 1105 "Cluster repair.",
1153 "type": "string" 1106 "Cluster update.",
1154 }, 1107 "Node pool create.",
1155 "detail": { 1108 "Node pool delete.",
1156 "description": "Detailed operation progress, if available.", 1109 "Set node pool management.",
1157 "type": "string" 1110 "Automatic node pool repair.",
1158 }, 1111 "Automatic node upgrade.",
1159 "statusMessage": { 1112 "Set labels.",
1160 "description": "If an error has occurred, a textual descript ion of the error.", 1113 "Set/generate master auth materials"
1161 "type": "string" 1114 ],
1162 }, 1115 "type": "string"
1163 "selfLink": { 1116 },
1164 "description": "Server-defined URL for the resource.", 1117 "zone": {
1165 "type": "string" 1118 "description": "The name of the Google Compute Engine\n[zone ](/compute/docs/zones#available) in which the operation\nis taking place.",
1166 }, 1119 "type": "string"
1167 "targetLink": { 1120 }
1168 "description": "Server-defined URL for the target of the ope ration.", 1121 },
1169 "type": "string" 1122 "type": "object"
1170 } 1123 },
1171 }, 1124 "AddonsConfig": {
1125 "description": "Configuration for the addons that can be automatical ly spun up in the\ncluster, enabling additional functionality.",
1126 "id": "AddonsConfig",
1127 "properties": {
1128 "horizontalPodAutoscaling": {
1129 "$ref": "HorizontalPodAutoscaling",
1130 "description": "Configuration for the horizontal pod autosca ling feature, which\nincreases or decreases the number of replica pods a replica tion controller\nhas based on the resource usage of the existing pods."
1131 },
1132 "httpLoadBalancing": {
1133 "$ref": "HttpLoadBalancing",
1134 "description": "Configuration for the HTTP (L7) load balanci ng controller addon, which\nmakes it easy to set up HTTP load balancers for serv ices in a cluster."
1135 }
1136 },
1137 "type": "object"
1138 },
1139 "RollbackNodePoolUpgradeRequest": {
1140 "description": "RollbackNodePoolUpgradeRequest rollbacks the previou sly Aborted or Failed\nNodePool upgrade. This will be an no-op if the last upgra de successfully\ncompleted.",
1141 "id": "RollbackNodePoolUpgradeRequest",
1142 "properties": {},
1172 "type": "object" 1143 "type": "object"
1173 }, 1144 },
1174 "UpdateClusterRequest": { 1145 "UpdateClusterRequest": {
1175 "description": "UpdateClusterRequest updates the settings of a clust er.", 1146 "description": "UpdateClusterRequest updates the settings of a clust er.",
1176 "id": "UpdateClusterRequest", 1147 "id": "UpdateClusterRequest",
1177 "properties": { 1148 "properties": {
1178 "update": { 1149 "update": {
1179 "$ref": "ClusterUpdate", 1150 "$ref": "ClusterUpdate",
1180 "description": "A description of the update." 1151 "description": "A description of the update."
1181 } 1152 }
1182 }, 1153 },
1183 "type": "object" 1154 "type": "object"
1184 }, 1155 },
1185 "ClusterUpdate": { 1156 "Cluster": {
1186 "description": "ClusterUpdate describes an update to the cluster. Ex actly one update can be applied to a cluster with each request, so at most one f ield can be provided.", 1157 "description": "A Google Container Engine cluster.",
1187 "id": "ClusterUpdate", 1158 "id": "Cluster",
1188 "properties": { 1159 "properties": {
1189 "desiredNodeVersion": { 1160 "currentMasterVersion": {
1190 "description": "The Kubernetes version to change the nodes t o (typically an upgrade). Use `-` to upgrade to the latest version supported by the server.", 1161 "description": "[Output only] The current software version o f the master endpoint.",
1191 "type": "string" 1162 "type": "string"
1192 }, 1163 },
1193 "desiredMonitoringService": { 1164 "nodeConfig": {
1194 "description": "The monitoring service the cluster should us e to write metrics. Currently available options: * \"monitoring.googleapis.com\" - the Google Cloud Monitoring service * \"none\" - no metrics will be exported from the cluster", 1165 "$ref": "NodeConfig",
1195 "type": "string" 1166 "description": "Parameters used in creating the cluster's no des.\nSee `nodeConfig` for the description of its properties.\nFor requests, thi s field should only be used in lieu of a\n\"node_pool\" object, since this confi guration (along with the\n\"initial_node_count\") will be used to create a \"Nod ePool\" object with an\nauto-generated name. Do not use this and a node_pool at the same time.\nFor responses, this field will be populated with the node config uration of\nthe first node pool.\n\nIf unspecified, the defaults are used."
1196 }, 1167 },
1197 "desiredAddonsConfig": { 1168 "addonsConfig": {
1198 "$ref": "AddonsConfig", 1169 "$ref": "AddonsConfig",
1199 "description": "Configurations for the various addons availa ble to run in the cluster." 1170 "description": "Configurations for the various addons availa ble to run in the cluster."
1200 }, 1171 },
1201 "desiredNodePoolId": { 1172 "status": {
1202 "description": "The node pool to be upgraded. This field is mandatory if \"desired_node_version\", \"desired_image_family\" or \"desired_nod e_pool_autoscaling\" is specified and there is more than one node pool on the cl uster.", 1173 "description": "[Output only] The current status of this clu ster.",
1203 "type": "string" 1174 "enum": [
1204 }, 1175 "STATUS_UNSPECIFIED",
1205 "desiredImageType": { 1176 "PROVISIONING",
1206 "description": "The desired image type for the node pool. NO TE: Set the \"desired_node_pool\" field as well.", 1177 "RUNNING",
1207 "type": "string" 1178 "RECONCILING",
1208 }, 1179 "STOPPING",
1209 "desiredNodePoolAutoscaling": { 1180 "ERROR"
1210 "$ref": "NodePoolAutoscaling", 1181 ],
1211 "description": "Autoscaler configuration for the node pool s pecified in desired_node_pool_id. If there is only one pool in the cluster and d esired_node_pool_id is not provided then the change applies to that single node pool." 1182 "enumDescriptions": [
1212 }, 1183 "Not set.",
1213 "desiredLocations": { 1184 "The PROVISIONING state indicates the cluster is being c reated.",
1214 "description": "The desired list of Google Compute Engine [l ocations](/compute/docs/zones#available) in which the cluster's nodes should be located. Changing the locations a cluster is in will result in nodes being eithe r created or removed from the cluster, depending on whether locations are being added or removed. This list must always include the cluster's primary zone.", 1185 "The RUNNING state indicates the cluster has been create d and is fully\nusable.",
1186 "The RECONCILING state indicates that some work is activ ely being done on\nthe cluster, such as upgrading the master or node software. D etails can\nbe found in the `statusMessage` field.",
1187 "The STOPPING state indicates the cluster is being delet ed.",
1188 "The ERROR state indicates the cluster may be unusable. Details\ncan be found in the `statusMessage` field."
1189 ],
1190 "type": "string"
1191 },
1192 "currentNodeVersion": {
1193 "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.",
1194 "type": "string"
1195 },
1196 "subnetwork": {
1197 "description": "The name of the Google Compute Engine\n[subn etwork](/compute/docs/subnetworks) to which the\ncluster is connected.",
1198 "type": "string"
1199 },
1200 "resourceLabels": {
1201 "$ref": "ResourceLabels",
1202 "description": "The resource labels for the cluster to use t o annotate any related GCE\nresources."
1203 },
1204 "name": {
1205 "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.",
1206 "type": "string"
1207 },
1208 "initialClusterVersion": {
1209 "description": "[Output only] The software version of the ma ster endpoint and kubelets used\nin the cluster when it was first created. The v ersion can be upgraded over\ntime.",
1210 "type": "string"
1211 },
1212 "endpoint": {
1213 "description": "[Output only] The IP address of this cluster 's master endpoint.\nThe endpoint can be accessed from the internet at\n`https:/ /username:password@endpoint/`.\n\nSee the `masterAuth` property of this resource for username and\npassword information.",
1214 "type": "string"
1215 },
1216 "legacyAbac": {
1217 "$ref": "LegacyAbac",
1218 "description": "Configuration for the legacy ABAC authorizat ion mode."
1219 },
1220 "createTime": {
1221 "description": "[Output only] The time the cluster was creat ed, in\n[RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.",
1222 "type": "string"
1223 },
1224 "clusterIpv4Cidr": {
1225 "description": "The IP address range of the container pods i n this cluster, in\n[CIDR](http://en.wikipedia.org/wiki/Classless_Inter-Domain_R outing)\nnotation (e.g. `10.96.0.0/14`). Leave blank to have\none automatically chosen or specify a `/14` block in `10.0.0.0/8`.",
1226 "type": "string"
1227 },
1228 "initialNodeCount": {
1229 "description": "The number of nodes to create in this cluste r. You must ensure that your\nCompute Engine <a href=\"/compute/docs/resource-qu otas\">resource quota</a>\nis sufficient for this number of instances. You must also have available\nfirewall and routes quota.\nFor requests, this field should only be used in lieu of a\n\"node_pool\" object, since this configuration (alon g with the\n\"node_config\") will be used to create a \"NodePool\" object with a n\nauto-generated name. Do not use this and a node_pool at the same time.",
1230 "format": "int32",
1231 "type": "integer"
1232 },
1233 "selfLink": {
1234 "description": "[Output only] Server-defined URL for the res ource.",
1235 "type": "string"
1236 },
1237 "locations": {
1238 "description": "The list of Google Compute Engine\n[location s](/compute/docs/zones#available) in which the cluster's nodes\nshould be locate d.",
1215 "items": { 1239 "items": {
1216 "type": "string" 1240 "type": "string"
1217 }, 1241 },
1218 "type": "array" 1242 "type": "array"
1219 }, 1243 },
1220 "desiredMasterVersion": { 1244 "nodePools": {
1221 "description": "The Kubernetes version to change the master to. The only valid value is the latest supported version. Use \"-\" to have the server automatically select the latest version.", 1245 "description": "The node pools associated with this cluster. \nThis field should not be set if \"node_config\" or \"initial_node_count\" are\ nspecified.",
1222 "type": "string" 1246 "items": {
1223 } 1247 "$ref": "NodePool"
1224 }, 1248 },
1225 "type": "object" 1249 "type": "array"
1250 },
1251 "instanceGroupUrls": {
1252 "description": "[Output only] The resource URLs of [instance \ngroups](/compute/docs/instance-groups/) associated with this\ncluster.",
1253 "items": {
1254 "type": "string"
1255 },
1256 "type": "array"
1257 },
1258 "servicesIpv4Cidr": {
1259 "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.",
1260 "type": "string"
1261 },
1262 "enableKubernetesAlpha": {
1263 "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.",
1264 "type": "boolean"
1265 },
1266 "description": {
1267 "description": "An optional description of this cluster.",
1268 "type": "string"
1269 },
1270 "currentNodeCount": {
1271 "description": "[Output only] The number of nodes currently in the cluster.",
1272 "format": "int32",
1273 "type": "integer"
1274 },
1275 "monitoringService": {
1276 "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.",
1277 "type": "string"
1278 },
1279 "network": {
1280 "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.",
1281 "type": "string"
1282 },
1283 "labelFingerprint": {
1284 "description": "The fingerprint of the set of labels for thi s cluster.",
1285 "type": "string"
1286 },
1287 "zone": {
1288 "description": "[Output only] The name of the Google Compute Engine\n[zone](/compute/docs/zones#available) in which the cluster\nresides.",
1289 "type": "string"
1290 },
1291 "expireTime": {
1292 "description": "[Output only] The time the cluster will be a utomatically\ndeleted in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text fo rmat.",
1293 "type": "string"
1294 },
1295 "nodeIpv4CidrSize": {
1296 "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.",
1297 "format": "int32",
1298 "type": "integer"
1299 },
1300 "loggingService": {
1301 "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.",
1302 "type": "string"
1303 },
1304 "statusMessage": {
1305 "description": "[Output only] Additional information about t he current status of this\ncluster, if available.",
1306 "type": "string"
1307 },
1308 "masterAuth": {
1309 "$ref": "MasterAuth",
1310 "description": "The authentication information for accessing the master endpoint."
1311 }
1312 },
1313 "type": "object"
1226 }, 1314 },
1227 "ListOperationsResponse": { 1315 "ListOperationsResponse": {
1228 "description": "ListOperationsResponse is the result of ListOperatio nsRequest.", 1316 "description": "ListOperationsResponse is the result of ListOperatio nsRequest.",
1229 "id": "ListOperationsResponse", 1317 "id": "ListOperationsResponse",
1230 "properties": { 1318 "properties": {
1319 "missingZones": {
1320 "description": "If any zones are listed here, the list of op erations returned\nmay be missing the operations from those zones.",
1321 "items": {
1322 "type": "string"
1323 },
1324 "type": "array"
1325 },
1231 "operations": { 1326 "operations": {
1232 "description": "A list of operations in the project in the s pecified zone.", 1327 "description": "A list of operations in the project in the s pecified zone.",
1233 "items": { 1328 "items": {
1234 "$ref": "Operation" 1329 "$ref": "Operation"
1235 }, 1330 },
1236 "type": "array" 1331 "type": "array"
1237 },
1238 "missingZones": {
1239 "description": "If any zones are listed here, the list of op erations returned may be missing the operations from those zones.",
1240 "items": {
1241 "type": "string"
1242 },
1243 "type": "array"
1244 } 1332 }
1245 }, 1333 },
1246 "type": "object" 1334 "type": "object"
1247 }, 1335 },
1248 "CancelOperationRequest": { 1336 "CreateNodePoolRequest": {
1249 "description": "CancelOperationRequest cancels a single operation.", 1337 "description": "CreateNodePoolRequest creates a node pool for a clus ter.",
1250 "id": "CancelOperationRequest", 1338 "id": "CreateNodePoolRequest",
1251 "type": "object" 1339 "properties": {
1252 }, 1340 "nodePool": {
1253 "Empty": { 1341 "$ref": "NodePool",
1254 "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON re presentation for `Empty` is empty JSON object `{}`.", 1342 "description": "The node pool to create."
1255 "id": "Empty", 1343 }
1344 },
1256 "type": "object" 1345 "type": "object"
1257 }, 1346 },
1258 "ServerConfig": { 1347 "ServerConfig": {
1259 "description": "Container Engine service configuration.", 1348 "description": "Container Engine service configuration.",
1260 "id": "ServerConfig", 1349 "id": "ServerConfig",
1261 "properties": { 1350 "properties": {
1351 "validMasterVersions": {
1352 "description": "List of valid master versions.",
1353 "items": {
1354 "type": "string"
1355 },
1356 "type": "array"
1357 },
1262 "defaultClusterVersion": { 1358 "defaultClusterVersion": {
1263 "description": "Version of Kubernetes the service deploys by default.", 1359 "description": "Version of Kubernetes the service deploys by default.",
1264 "type": "string" 1360 "type": "string"
1265 }, 1361 },
1362 "defaultImageType": {
1363 "description": "Default image type.",
1364 "type": "string"
1365 },
1266 "validNodeVersions": { 1366 "validNodeVersions": {
1267 "description": "List of valid node upgrade target versions." , 1367 "description": "List of valid node upgrade target versions." ,
1268 "items": { 1368 "items": {
1269 "type": "string" 1369 "type": "string"
1270 }, 1370 },
1271 "type": "array" 1371 "type": "array"
1272 }, 1372 },
1273 "defaultImageType": {
1274 "description": "Default image type.",
1275 "type": "string"
1276 },
1277 "validImageTypes": { 1373 "validImageTypes": {
1278 "description": "List of valid image types.", 1374 "description": "List of valid image types.",
1279 "items": { 1375 "items": {
1280 "type": "string" 1376 "type": "string"
1281 }, 1377 },
1282 "type": "array" 1378 "type": "array"
1283 }, 1379 }
1284 "validMasterVersions": { 1380 },
1285 "description": "List of valid master versions.", 1381 "type": "object"
1286 "items": { 1382 },
1287 "type": "string" 1383 "NodeConfig": {
1288 }, 1384 "description": "Parameters that describe the nodes in a cluster.",
1289 "type": "array" 1385 "id": "NodeConfig",
1290 } 1386 "properties": {
1291 }, 1387 "localSsdCount": {
1292 "type": "object" 1388 "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.",
1293 }, 1389 "format": "int32",
1294 "ListNodePoolsResponse": { 1390 "type": "integer"
1295 "description": "ListNodePoolsResponse is the result of ListNodePools Request.", 1391 },
1296 "id": "ListNodePoolsResponse", 1392 "metadata": {
1297 "properties": { 1393 "additionalProperties": {
1298 "nodePools": { 1394 "type": "string"
1299 "description": "A list of node pools for a cluster.", 1395 },
1300 "items": { 1396 "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.",
1301 "$ref": "NodePool" 1397 "type": "object"
1302 }, 1398 },
1303 "type": "array" 1399 "diskSizeGb": {
1304 } 1400 "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.",
1305 }, 1401 "format": "int32",
1306 "type": "object" 1402 "type": "integer"
1307 }, 1403 },
1308 "CreateNodePoolRequest": { 1404 "tags": {
1309 "description": "CreateNodePoolRequest creates a node pool for a clus ter.", 1405 "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.",
1310 "id": "CreateNodePoolRequest", 1406 "items": {
1311 "properties": { 1407 "type": "string"
1312 "nodePool": { 1408 },
1313 "$ref": "NodePool", 1409 "type": "array"
1314 "description": "The node pool to create." 1410 },
1315 } 1411 "serviceAccount": {
1316 }, 1412 "description": "The Google Cloud Platform Service Account to be used by the node VMs. If\nno Service Account is specified, the \"default\" s ervice account is used.",
1317 "type": "object" 1413 "type": "string"
1318 }, 1414 },
1319 "RollbackNodePoolUpgradeRequest": { 1415 "machineType": {
1320 "description": "RollbackNodePoolUpgradeRequest rollbacks the previou sly Aborted or Failed NodePool upgrade. This will be an no-op if the last upgrad e successfully completed.", 1416 "description": "The name of a Google Compute Engine [machine \ntype](/compute/docs/machine-types) (e.g.\n`n1-standard-1`).\n\nIf unspecified, the default machine type is\n`n1-standard-1`.",
1321 "id": "RollbackNodePoolUpgradeRequest", 1417 "type": "string"
1322 "type": "object" 1418 },
1323 }, 1419 "imageType": {
1324 "SetNodePoolManagementRequest": { 1420 "description": "The image type to use for this node. Note th at for a given image type,\nthe latest version of it will be used.",
1325 "description": "SetNodePoolManagementRequest sets the node managemen t properties of a node pool.", 1421 "type": "string"
1326 "id": "SetNodePoolManagementRequest", 1422 },
1327 "properties": { 1423 "oauthScopes": {
1328 "management": { 1424 "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.",
1329 "$ref": "NodeManagement", 1425 "items": {
1330 "description": "NodeManagement configuration for the node po ol." 1426 "type": "string"
1331 } 1427 },
1332 }, 1428 "type": "array"
1333 "type": "object" 1429 },
1430 "preemptible": {
1431 "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.",
1432 "type": "boolean"
1433 },
1434 "labels": {
1435 "additionalProperties": {
1436 "type": "string"
1437 },
1438 "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",
1439 "type": "object"
1440 }
1441 },
1442 "type": "object"
1443 },
1444 "MasterAuth": {
1445 "description": "The authentication information for accessing the mas ter endpoint.\nAuthentication can be done using HTTP basic auth or using client\ ncertificates.",
1446 "id": "MasterAuth",
1447 "properties": {
1448 "password": {
1449 "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.",
1450 "type": "string"
1451 },
1452 "clientCertificate": {
1453 "description": "[Output only] Base64-encoded public certific ate used by clients to\nauthenticate to the cluster endpoint.",
1454 "type": "string"
1455 },
1456 "username": {
1457 "description": "The username to use for HTTP basic authentic ation to the master endpoint.",
1458 "type": "string"
1459 },
1460 "clientKey": {
1461 "description": "[Output only] Base64-encoded private key use d by clients to authenticate\nto the cluster endpoint.",
1462 "type": "string"
1463 },
1464 "clusterCaCertificate": {
1465 "description": "[Output only] Base64-encoded public certific ate that is the root of\ntrust for the cluster.",
1466 "type": "string"
1467 }
1468 },
1469 "type": "object"
1470 },
1471 "AutoUpgradeOptions": {
1472 "description": "AutoUpgradeOptions defines the set of options for th e user to control how\nthe Auto Upgrades will proceed.",
1473 "id": "AutoUpgradeOptions",
1474 "properties": {
1475 "description": {
1476 "description": "[Output only] This field is set when upgrade s are about to commence\nwith the description of the upgrade.",
1477 "type": "string"
1478 },
1479 "autoUpgradeStartTime": {
1480 "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.",
1481 "type": "string"
1482 }
1483 },
1484 "type": "object"
1485 },
1486 "ListClustersResponse": {
1487 "description": "ListClustersResponse is the result of ListClustersRe quest.",
1488 "id": "ListClustersResponse",
1489 "properties": {
1490 "missingZones": {
1491 "description": "If any zones are listed here, the list of cl usters returned\nmay be missing those zones.",
1492 "items": {
1493 "type": "string"
1494 },
1495 "type": "array"
1496 },
1497 "clusters": {
1498 "description": "A list of clusters in the project in the spe cified zone, or\nacross all ones.",
1499 "items": {
1500 "$ref": "Cluster"
1501 },
1502 "type": "array"
1503 }
1504 },
1505 "type": "object"
1506 },
1507 "HttpLoadBalancing": {
1508 "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.",
1509 "id": "HttpLoadBalancing",
1510 "properties": {
1511 "disabled": {
1512 "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.",
1513 "type": "boolean"
1514 }
1515 },
1516 "type": "object"
1517 },
1518 "NodePoolAutoscaling": {
1519 "description": "NodePoolAutoscaling contains information required by cluster autoscaler to\nadjust the size of the node pool to the current cluster usage.",
1520 "id": "NodePoolAutoscaling",
1521 "properties": {
1522 "enabled": {
1523 "description": "Is autoscaling enabled for this node pool.",
1524 "type": "boolean"
1525 },
1526 "maxNodeCount": {
1527 "description": "Maximum number of nodes in the NodePool. Mus t be >= min_node_count. There\nhas to enough quota to scale up the cluster.",
1528 "format": "int32",
1529 "type": "integer"
1530 },
1531 "minNodeCount": {
1532 "description": "Minimum number of nodes in the NodePool. Mus t be >= 1 and <=\nmax_node_count.",
1533 "format": "int32",
1534 "type": "integer"
1535 }
1536 },
1537 "type": "object"
1538 },
1539 "SetMasterAuthRequest": {
1540 "description": "SetMasterAuthRequest updates the admin password of a cluster.",
1541 "id": "SetMasterAuthRequest",
1542 "properties": {
1543 "update": {
1544 "$ref": "MasterAuth",
1545 "description": "A description of the update."
1546 },
1547 "action": {
1548 "description": "The exact form of action to be taken on the master auth",
1549 "enum": [
1550 "UNKNOWN",
1551 "SET_PASSWORD",
1552 "GENERATE_PASSWORD"
1553 ],
1554 "enumDescriptions": [
1555 "Operation is unknown and will error out",
1556 "Set the password to a user generated value.",
1557 "Generate a new password and set it to that."
1558 ],
1559 "type": "string"
1560 }
1561 },
1562 "type": "object"
1563 },
1564 "ClusterUpdate": {
1565 "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.",
1566 "id": "ClusterUpdate",
1567 "properties": {
1568 "desiredLocations": {
1569 "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.",
1570 "items": {
1571 "type": "string"
1572 },
1573 "type": "array"
1574 },
1575 "desiredNodePoolAutoscaling": {
1576 "$ref": "NodePoolAutoscaling",
1577 "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."
1578 },
1579 "desiredMonitoringService": {
1580 "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",
1581 "type": "string"
1582 },
1583 "desiredImageType": {
1584 "description": "The desired image type for the node pool.\nN OTE: Set the \"desired_node_pool\" field as well.",
1585 "type": "string"
1586 },
1587 "desiredAddonsConfig": {
1588 "$ref": "AddonsConfig",
1589 "description": "Configurations for the various addons availa ble to run in the cluster."
1590 },
1591 "desiredNodePoolId": {
1592 "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.",
1593 "type": "string"
1594 },
1595 "desiredNodeVersion": {
1596 "description": "The Kubernetes version to change the nodes t o (typically an\nupgrade). Use `-` to upgrade to the latest version supported by \nthe server.",
1597 "type": "string"
1598 },
1599 "desiredMasterVersion": {
1600 "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.",
1601 "type": "string"
1602 }
1603 },
1604 "type": "object"
1605 },
1606 "HorizontalPodAutoscaling": {
1607 "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.",
1608 "id": "HorizontalPodAutoscaling",
1609 "properties": {
1610 "disabled": {
1611 "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.",
1612 "type": "boolean"
1613 }
1614 },
1615 "type": "object"
1334 } 1616 }
1335 }, 1617 },
1336 "servicePath": "", 1618 "servicePath": "",
1337 "title": "Google Container Engine API", 1619 "title": "Google Container Engine API",
1338 "version": "v1" 1620 "version": "v1"
1339 } 1621 }
OLDNEW
« no previous file with comments | « discovery/googleapis/consumersurveys__v2.json ('k') | discovery/googleapis/content__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698