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