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 "https://www.googleapis.com/auth/replicapool": { | 8 "https://www.googleapis.com/auth/replicapool": { |
9 "description": "View and manage replica pools" | 9 "description": "View and manage replica pools" |
10 }, | 10 }, |
11 "https://www.googleapis.com/auth/replicapool.readonly": { | 11 "https://www.googleapis.com/auth/replicapool.readonly": { |
12 "description": "View replica pools" | 12 "description": "View replica pools" |
13 } | 13 } |
14 } | 14 } |
15 } | 15 } |
16 }, | 16 }, |
17 "basePath": "/replicapoolupdater/v1beta1/projects/", | 17 "basePath": "/replicapoolupdater/v1beta1/projects/", |
18 "baseUrl": "https://www.googleapis.com/replicapoolupdater/v1beta1/projects/"
, | 18 "baseUrl": "https://www.googleapis.com/replicapoolupdater/v1beta1/projects/"
, |
19 "batchPath": "batch", | 19 "batchPath": "batch", |
20 "description": "The Google Compute Engine Instance Group Updater API provide
s services for updating groups of Compute Engine Instances.", | 20 "description": "The Google Compute Engine Instance Group Updater API provide
s services for updating groups of Compute Engine Instances.", |
21 "discoveryVersion": "v1", | 21 "discoveryVersion": "v1", |
22 "documentationLink": "https://cloud.google.com/compute/docs/instance-groups/
manager/#applying_rolling_updates_using_the_updater_service", | 22 "documentationLink": "https://cloud.google.com/compute/docs/instance-groups/
manager/#applying_rolling_updates_using_the_updater_service", |
23 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/p4N2iDg-K9khNxP-otwGtbGFX0M\"", | 23 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zv-VBZvN3ZIDa4AbjKdO47MpqOo\"", |
24 "icons": { | 24 "icons": { |
25 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
26 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
27 }, | 27 }, |
28 "id": "replicapoolupdater:v1beta1", | 28 "id": "replicapoolupdater:v1beta1", |
29 "kind": "discovery#restDescription", | 29 "kind": "discovery#restDescription", |
30 "labels": [ | 30 "labels": [ |
31 "limited_availability" | 31 "limited_availability" |
32 ], | 32 ], |
33 "name": "replicapoolupdater", | 33 "name": "replicapoolupdater", |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 "httpMethod": "POST", | 87 "httpMethod": "POST", |
88 "id": "replicapoolupdater.updates.cancel", | 88 "id": "replicapoolupdater.updates.cancel", |
89 "parameterOrder": [ | 89 "parameterOrder": [ |
90 "project", | 90 "project", |
91 "zone", | 91 "zone", |
92 "instanceGroupManager", | 92 "instanceGroupManager", |
93 "update" | 93 "update" |
94 ], | 94 ], |
95 "parameters": { | 95 "parameters": { |
96 "instanceGroupManager": { | 96 "instanceGroupManager": { |
97 "description": "Name of the instance group manager f
or this request.", | 97 "description": "The name of the instance group manag
er.", |
98 "location": "path", | 98 "location": "path", |
99 "required": true, | 99 "required": true, |
100 "type": "string" | 100 "type": "string" |
101 }, | 101 }, |
102 "project": { | 102 "project": { |
103 "description": "Project ID for this request.", | 103 "description": "The Google Developers Console projec
t name.", |
104 "location": "path", | 104 "location": "path", |
| 105 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
105 "required": true, | 106 "required": true, |
106 "type": "string" | 107 "type": "string" |
107 }, | 108 }, |
108 "update": { | 109 "update": { |
109 "description": "Unique (in the context of a group) h
andle of an update.", | 110 "description": "Unique (in the context of a group) h
andle of an update.", |
110 "location": "path", | 111 "location": "path", |
111 "required": true, | 112 "required": true, |
112 "type": "string" | 113 "type": "string" |
113 }, | 114 }, |
114 "zone": { | 115 "zone": { |
115 "description": "Zone for the instance group manager.
", | 116 "description": "The name of the zone in which the up
date's target resides.", |
116 "location": "path", | 117 "location": "path", |
117 "required": true, | 118 "required": true, |
118 "type": "string" | 119 "type": "string" |
119 } | 120 } |
120 }, | 121 }, |
121 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/cancel", | 122 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/cancel", |
122 "scopes": [ | 123 "scopes": [ |
123 "https://www.googleapis.com/auth/cloud-platform", | 124 "https://www.googleapis.com/auth/cloud-platform", |
124 "https://www.googleapis.com/auth/replicapool" | 125 "https://www.googleapis.com/auth/replicapool" |
125 ] | 126 ] |
126 }, | 127 }, |
127 "get": { | 128 "get": { |
128 "description": "Called on the particular Update endpoint. Re
turns the Update resource.", | 129 "description": "Called on the particular Update endpoint. Re
turns the Update resource.", |
129 "httpMethod": "GET", | 130 "httpMethod": "GET", |
130 "id": "replicapoolupdater.updates.get", | 131 "id": "replicapoolupdater.updates.get", |
131 "parameterOrder": [ | 132 "parameterOrder": [ |
132 "project", | 133 "project", |
133 "zone", | 134 "zone", |
134 "instanceGroupManager", | 135 "instanceGroupManager", |
135 "update" | 136 "update" |
136 ], | 137 ], |
137 "parameters": { | 138 "parameters": { |
138 "instanceGroupManager": { | 139 "instanceGroupManager": { |
139 "description": "Name of the instance group manager f
or this request.", | 140 "description": "The name of the instance group manag
er.", |
140 "location": "path", | 141 "location": "path", |
141 "required": true, | 142 "required": true, |
142 "type": "string" | 143 "type": "string" |
143 }, | 144 }, |
144 "project": { | 145 "project": { |
145 "description": "Project ID for this request.", | 146 "description": "The Google Developers Console projec
t name.", |
146 "location": "path", | 147 "location": "path", |
| 148 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
147 "required": true, | 149 "required": true, |
148 "type": "string" | 150 "type": "string" |
149 }, | 151 }, |
150 "update": { | 152 "update": { |
151 "description": "Unique (in the context of a group) h
andle of an update.", | 153 "description": "Unique (in the context of a group) h
andle of an update.", |
152 "location": "path", | 154 "location": "path", |
153 "required": true, | 155 "required": true, |
154 "type": "string" | 156 "type": "string" |
155 }, | 157 }, |
156 "zone": { | 158 "zone": { |
157 "description": "Zone for the instance group manager.
", | 159 "description": "The name of the zone in which the up
date's target resides.", |
158 "location": "path", | 160 "location": "path", |
159 "required": true, | 161 "required": true, |
160 "type": "string" | 162 "type": "string" |
161 } | 163 } |
162 }, | 164 }, |
163 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}", | 165 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}", |
164 "response": { | 166 "response": { |
165 "$ref": "Update" | 167 "$ref": "Update" |
166 }, | 168 }, |
167 "scopes": [ | 169 "scopes": [ |
168 "https://www.googleapis.com/auth/cloud-platform", | 170 "https://www.googleapis.com/auth/cloud-platform", |
169 "https://www.googleapis.com/auth/replicapool", | 171 "https://www.googleapis.com/auth/replicapool", |
170 "https://www.googleapis.com/auth/replicapool.readonly" | 172 "https://www.googleapis.com/auth/replicapool.readonly" |
171 ] | 173 ] |
172 }, | 174 }, |
173 "insert": { | 175 "insert": { |
174 "description": "Called on the collection endpoint. Inserts t
he new Update resource and starts the update.", | 176 "description": "Called on the collection endpoint. Inserts t
he new Update resource and starts the update.", |
175 "httpMethod": "POST", | 177 "httpMethod": "POST", |
176 "id": "replicapoolupdater.updates.insert", | 178 "id": "replicapoolupdater.updates.insert", |
177 "parameterOrder": [ | 179 "parameterOrder": [ |
178 "project", | 180 "project", |
179 "zone", | 181 "zone", |
180 "instanceGroupManager" | 182 "instanceGroupManager" |
181 ], | 183 ], |
182 "parameters": { | 184 "parameters": { |
183 "instanceGroupManager": { | 185 "instanceGroupManager": { |
184 "description": "Name of the instance group manager f
or this request.", | 186 "description": "The name of the instance group manag
er.", |
185 "location": "path", | 187 "location": "path", |
186 "required": true, | 188 "required": true, |
187 "type": "string" | 189 "type": "string" |
188 }, | 190 }, |
189 "project": { | 191 "project": { |
190 "description": "Project ID for this request.", | 192 "description": "The Google Developers Console projec
t name.", |
191 "location": "path", | 193 "location": "path", |
| 194 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
192 "required": true, | 195 "required": true, |
193 "type": "string" | 196 "type": "string" |
194 }, | 197 }, |
195 "zone": { | 198 "zone": { |
196 "description": "Zone for the instance group manager.
", | 199 "description": "The name of the zone in which the up
date's target resides.", |
197 "location": "path", | 200 "location": "path", |
198 "required": true, | 201 "required": true, |
199 "type": "string" | 202 "type": "string" |
200 } | 203 } |
201 }, | 204 }, |
202 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates", | 205 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates", |
203 "request": { | 206 "request": { |
204 "$ref": "Update" | 207 "$ref": "Update" |
205 }, | 208 }, |
206 "response": { | 209 "response": { |
207 "$ref": "InsertResponse" | 210 "$ref": "InsertResponse" |
208 }, | 211 }, |
209 "scopes": [ | 212 "scopes": [ |
210 "https://www.googleapis.com/auth/cloud-platform", | 213 "https://www.googleapis.com/auth/cloud-platform", |
211 "https://www.googleapis.com/auth/replicapool" | 214 "https://www.googleapis.com/auth/replicapool" |
212 ] | 215 ] |
213 }, | 216 }, |
214 "list": { | 217 "list": { |
215 "description": "Called on the collection endpoint. Lists upd
ates for a given instance group, in reverse chronological order. Pagination is s
upported, see ListRequestHeader.", | 218 "description": "Called on the collection endpoint. Lists upd
ates for a given instance group, in reverse chronological order. Pagination is s
upported, see ListRequestHeader.", |
216 "httpMethod": "GET", | 219 "httpMethod": "GET", |
217 "id": "replicapoolupdater.updates.list", | 220 "id": "replicapoolupdater.updates.list", |
218 "parameterOrder": [ | 221 "parameterOrder": [ |
219 "project", | 222 "project", |
220 "zone", | 223 "zone", |
221 "instanceGroupManager" | 224 "instanceGroupManager" |
222 ], | 225 ], |
223 "parameters": { | 226 "parameters": { |
224 "instanceGroupManager": { | 227 "instanceGroupManager": { |
225 "description": "Name of the instance group manager f
or this request.", | 228 "description": "The name of the instance group manag
er.", |
226 "location": "path", | 229 "location": "path", |
227 "required": true, | 230 "required": true, |
228 "type": "string" | 231 "type": "string" |
229 }, | 232 }, |
230 "maxResults": { | 233 "maxResults": { |
231 "default": "50", | 234 "default": "50", |
232 "description": "Maximum count of results to be retur
ned. Acceptable values are 1 to 100, inclusive. (Default: 50)", | 235 "description": "Maximum count of results to be retur
ned. Acceptable values are 1 to 100, inclusive. (Default: 50)", |
233 "format": "int32", | 236 "format": "int32", |
234 "location": "query", | 237 "location": "query", |
235 "maximum": "100", | 238 "maximum": "100", |
236 "minimum": "1", | 239 "minimum": "1", |
237 "type": "integer" | 240 "type": "integer" |
238 }, | 241 }, |
239 "pageToken": { | 242 "pageToken": { |
240 "description": "Set this to the nextPageToken value
returned by a previous list request to obtain the next page of results from the
previous list request.", | 243 "description": "Set this to the nextPageToken value
returned by a previous list request to obtain the next page of results from the
previous list request.", |
241 "location": "query", | 244 "location": "query", |
242 "type": "string" | 245 "type": "string" |
243 }, | 246 }, |
244 "project": { | 247 "project": { |
245 "description": "Project ID for this request.", | 248 "description": "The Google Developers Console projec
t name.", |
246 "location": "path", | 249 "location": "path", |
| 250 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
247 "required": true, | 251 "required": true, |
248 "type": "string" | 252 "type": "string" |
249 }, | 253 }, |
250 "zone": { | 254 "zone": { |
251 "description": "Zone for the instance group manager.
", | 255 "description": "The name of the zone in which the up
date's target resides.", |
252 "location": "path", | 256 "location": "path", |
253 "required": true, | 257 "required": true, |
254 "type": "string" | 258 "type": "string" |
255 } | 259 } |
256 }, | 260 }, |
257 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates", | 261 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates", |
258 "response": { | 262 "response": { |
259 "$ref": "UpdateList" | 263 "$ref": "UpdateList" |
260 }, | 264 }, |
261 "scopes": [ | 265 "scopes": [ |
262 "https://www.googleapis.com/auth/cloud-platform", | 266 "https://www.googleapis.com/auth/cloud-platform", |
263 "https://www.googleapis.com/auth/replicapool", | 267 "https://www.googleapis.com/auth/replicapool", |
264 "https://www.googleapis.com/auth/replicapool.readonly" | 268 "https://www.googleapis.com/auth/replicapool.readonly" |
265 ] | 269 ] |
266 }, | 270 }, |
| 271 "listInstanceUpdates": { |
| 272 "description": "Called on the particular Update endpoint. Li
sts instance updates for a given update.", |
| 273 "httpMethod": "GET", |
| 274 "id": "replicapoolupdater.updates.listInstanceUpdates", |
| 275 "parameterOrder": [ |
| 276 "project", |
| 277 "zone", |
| 278 "instanceGroupManager", |
| 279 "update" |
| 280 ], |
| 281 "parameters": { |
| 282 "instanceGroupManager": { |
| 283 "description": "The name of the instance group manag
er.", |
| 284 "location": "path", |
| 285 "required": true, |
| 286 "type": "string" |
| 287 }, |
| 288 "maxResults": { |
| 289 "default": "50", |
| 290 "description": "Maximum count of results to be retur
ned. Acceptable values are 1 to 100, inclusive. (Default: 50)", |
| 291 "format": "int32", |
| 292 "location": "query", |
| 293 "maximum": "100", |
| 294 "minimum": "1", |
| 295 "type": "integer" |
| 296 }, |
| 297 "pageToken": { |
| 298 "description": "Set this to the nextPageToken value
returned by a previous list request to obtain the next page of results from the
previous list request.", |
| 299 "location": "query", |
| 300 "type": "string" |
| 301 }, |
| 302 "project": { |
| 303 "description": "The Google Developers Console projec
t name.", |
| 304 "location": "path", |
| 305 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
| 306 "required": true, |
| 307 "type": "string" |
| 308 }, |
| 309 "update": { |
| 310 "description": "Unique (in the context of a group) h
andle of an update.", |
| 311 "location": "path", |
| 312 "required": true, |
| 313 "type": "string" |
| 314 }, |
| 315 "zone": { |
| 316 "description": "The name of the zone in which the up
date's target resides.", |
| 317 "location": "path", |
| 318 "required": true, |
| 319 "type": "string" |
| 320 } |
| 321 }, |
| 322 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/instanceUpdates", |
| 323 "response": { |
| 324 "$ref": "InstanceUpdateList" |
| 325 }, |
| 326 "scopes": [ |
| 327 "https://www.googleapis.com/auth/cloud-platform", |
| 328 "https://www.googleapis.com/auth/replicapool", |
| 329 "https://www.googleapis.com/auth/replicapool.readonly" |
| 330 ] |
| 331 }, |
267 "pause": { | 332 "pause": { |
268 "description": "Called on the particular Update endpoint. Pa
uses the update in state ROLLING_FORWARD or ROLLING_BACK. No-op if invoked in st
ate PAUSED.", | 333 "description": "Called on the particular Update endpoint. Pa
uses the update in state ROLLING_FORWARD or ROLLING_BACK. No-op if invoked in st
ate PAUSED.", |
269 "httpMethod": "POST", | 334 "httpMethod": "POST", |
270 "id": "replicapoolupdater.updates.pause", | 335 "id": "replicapoolupdater.updates.pause", |
271 "parameterOrder": [ | 336 "parameterOrder": [ |
272 "project", | 337 "project", |
273 "zone", | 338 "zone", |
274 "instanceGroupManager", | 339 "instanceGroupManager", |
275 "update" | 340 "update" |
276 ], | 341 ], |
277 "parameters": { | 342 "parameters": { |
278 "instanceGroupManager": { | 343 "instanceGroupManager": { |
279 "description": "Name of the instance group manager f
or this request.", | 344 "description": "The name of the instance group manag
er.", |
280 "location": "path", | 345 "location": "path", |
281 "required": true, | 346 "required": true, |
282 "type": "string" | 347 "type": "string" |
283 }, | 348 }, |
284 "project": { | 349 "project": { |
285 "description": "Project ID for this request.", | 350 "description": "The Google Developers Console projec
t name.", |
286 "location": "path", | 351 "location": "path", |
| 352 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
287 "required": true, | 353 "required": true, |
288 "type": "string" | 354 "type": "string" |
289 }, | 355 }, |
290 "update": { | 356 "update": { |
291 "description": "Unique (in the context of a group) h
andle of an update.", | 357 "description": "Unique (in the context of a group) h
andle of an update.", |
292 "location": "path", | 358 "location": "path", |
293 "required": true, | 359 "required": true, |
294 "type": "string" | 360 "type": "string" |
295 }, | 361 }, |
296 "zone": { | 362 "zone": { |
297 "description": "Zone for the instance group manager.
", | 363 "description": "The name of the zone in which the up
date's target resides.", |
298 "location": "path", | 364 "location": "path", |
299 "required": true, | 365 "required": true, |
300 "type": "string" | 366 "type": "string" |
301 } | 367 } |
302 }, | 368 }, |
303 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/pause", | 369 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/pause", |
304 "scopes": [ | 370 "scopes": [ |
305 "https://www.googleapis.com/auth/cloud-platform", | 371 "https://www.googleapis.com/auth/cloud-platform", |
306 "https://www.googleapis.com/auth/replicapool" | 372 "https://www.googleapis.com/auth/replicapool" |
307 ] | 373 ] |
308 }, | 374 }, |
309 "rollback": { | 375 "rollback": { |
310 "description": "Called on the particular Update endpoint. Ro
lls back the update in state ROLLING_FORWARD or PAUSED. No-op if invoked in stat
e ROLLED_BACK or ROLLING_BACK.", | 376 "description": "Called on the particular Update endpoint. Ro
lls back the update in state ROLLING_FORWARD or PAUSED. No-op if invoked in stat
e ROLLED_BACK or ROLLING_BACK.", |
311 "httpMethod": "POST", | 377 "httpMethod": "POST", |
312 "id": "replicapoolupdater.updates.rollback", | 378 "id": "replicapoolupdater.updates.rollback", |
313 "parameterOrder": [ | 379 "parameterOrder": [ |
314 "project", | 380 "project", |
315 "zone", | 381 "zone", |
316 "instanceGroupManager", | 382 "instanceGroupManager", |
317 "update" | 383 "update" |
318 ], | 384 ], |
319 "parameters": { | 385 "parameters": { |
320 "instanceGroupManager": { | 386 "instanceGroupManager": { |
321 "description": "Name of the instance group manager f
or this request.", | 387 "description": "The name of the instance group manag
er.", |
322 "location": "path", | 388 "location": "path", |
323 "required": true, | 389 "required": true, |
324 "type": "string" | 390 "type": "string" |
325 }, | 391 }, |
326 "project": { | 392 "project": { |
327 "description": "Project ID for this request.", | 393 "description": "The Google Developers Console projec
t name.", |
328 "location": "path", | 394 "location": "path", |
| 395 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
329 "required": true, | 396 "required": true, |
330 "type": "string" | 397 "type": "string" |
331 }, | 398 }, |
332 "update": { | 399 "update": { |
333 "description": "Unique (in the context of a group) h
andle of an update.", | 400 "description": "Unique (in the context of a group) h
andle of an update.", |
334 "location": "path", | 401 "location": "path", |
335 "required": true, | 402 "required": true, |
336 "type": "string" | 403 "type": "string" |
337 }, | 404 }, |
338 "zone": { | 405 "zone": { |
339 "description": "Zone for the instance group manager.
", | 406 "description": "The name of the zone in which the up
date's target resides.", |
340 "location": "path", | 407 "location": "path", |
341 "required": true, | 408 "required": true, |
342 "type": "string" | 409 "type": "string" |
343 } | 410 } |
344 }, | 411 }, |
345 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/rollback", | 412 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/rollback", |
346 "scopes": [ | 413 "scopes": [ |
347 "https://www.googleapis.com/auth/cloud-platform", | 414 "https://www.googleapis.com/auth/cloud-platform", |
348 "https://www.googleapis.com/auth/replicapool" | 415 "https://www.googleapis.com/auth/replicapool" |
349 ] | 416 ] |
350 }, | 417 }, |
351 "rollforward": { | 418 "rollforward": { |
352 "description": "Called on the particular Update endpoint. Ro
lls forward the update in state ROLLING_BACK or PAUSED. No-op if invoked in stat
e ROLLED_OUT or ROLLING_FORWARD.", | 419 "description": "Called on the particular Update endpoint. Ro
lls forward the update in state ROLLING_BACK or PAUSED. No-op if invoked in stat
e ROLLED_OUT or ROLLING_FORWARD.", |
353 "httpMethod": "POST", | 420 "httpMethod": "POST", |
354 "id": "replicapoolupdater.updates.rollforward", | 421 "id": "replicapoolupdater.updates.rollforward", |
355 "parameterOrder": [ | 422 "parameterOrder": [ |
356 "project", | 423 "project", |
357 "zone", | 424 "zone", |
358 "instanceGroupManager", | 425 "instanceGroupManager", |
359 "update" | 426 "update" |
360 ], | 427 ], |
361 "parameters": { | 428 "parameters": { |
362 "instanceGroupManager": { | 429 "instanceGroupManager": { |
363 "description": "Name of the instance group manager f
or this request.", | 430 "description": "The name of the instance group manag
er.", |
364 "location": "path", | 431 "location": "path", |
365 "required": true, | 432 "required": true, |
366 "type": "string" | 433 "type": "string" |
367 }, | 434 }, |
368 "project": { | 435 "project": { |
369 "description": "Project ID for this request.", | 436 "description": "The Google Developers Console projec
t name.", |
370 "location": "path", | 437 "location": "path", |
| 438 "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a
-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))"
, |
371 "required": true, | 439 "required": true, |
372 "type": "string" | 440 "type": "string" |
373 }, | 441 }, |
374 "update": { | 442 "update": { |
375 "description": "Unique (in the context of a group) h
andle of an update.", | 443 "description": "Unique (in the context of a group) h
andle of an update.", |
376 "location": "path", | 444 "location": "path", |
377 "required": true, | 445 "required": true, |
378 "type": "string" | 446 "type": "string" |
379 }, | 447 }, |
380 "zone": { | 448 "zone": { |
381 "description": "Zone for the instance group manager.
", | 449 "description": "The name of the zone in which the up
date's target resides.", |
382 "location": "path", | 450 "location": "path", |
383 "required": true, | 451 "required": true, |
384 "type": "string" | 452 "type": "string" |
385 } | 453 } |
386 }, | 454 }, |
387 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/rollforward", | 455 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/rollforward", |
388 "scopes": [ | 456 "scopes": [ |
389 "https://www.googleapis.com/auth/cloud-platform", | 457 "https://www.googleapis.com/auth/cloud-platform", |
390 "https://www.googleapis.com/auth/replicapool" | 458 "https://www.googleapis.com/auth/replicapool" |
391 ] | 459 ] |
392 } | 460 } |
393 } | 461 } |
394 } | 462 } |
395 }, | 463 }, |
396 "revision": "20141117", | 464 "revision": "20141123", |
397 "rootUrl": "https://www.googleapis.com/", | 465 "rootUrl": "https://www.googleapis.com/", |
398 "schemas": { | 466 "schemas": { |
399 "InsertResponse": { | 467 "InsertResponse": { |
400 "description": "Response returned by Insert method.", | 468 "description": "Response returned by Insert method.", |
401 "id": "InsertResponse", | 469 "id": "InsertResponse", |
402 "properties": { | 470 "properties": { |
403 "update": { | 471 "update": { |
404 "description": "Unique (in the context of a group) handle of
an update.", | 472 "description": "Unique (in the context of a group) handle of
an update.", |
405 "type": "string" | 473 "type": "string" |
406 } | 474 } |
407 }, | 475 }, |
408 "type": "object" | 476 "type": "object" |
409 }, | 477 }, |
410 "InstanceUpdate": { | 478 "InstanceUpdate": { |
411 "description": "Update of a single instance.", | 479 "description": "Update of a single instance.", |
412 "id": "InstanceUpdate", | 480 "id": "InstanceUpdate", |
413 "properties": { | 481 "properties": { |
414 "instanceName": { | 482 "instance": { |
415 "description": "Name of an instance.", | 483 "description": "URL of the instance being updated.", |
416 "type": "string" | 484 "type": "string" |
417 }, | 485 }, |
418 "state": { | 486 "state": { |
419 "description": "State of an instance update. Possible values
are: \n- \"PENDING/code>\": The instance update is pending execution. \n- \"RO
LLING_FORWARD\": The instance update is going forward. \n- \"ROLLING_BACK\": The
instance update being rolled back. \n- \"PAUSED\": The instance update is tempo
rarily paused (inactive). \n- \"ROLLED_OUT\": The instance update is finished, t
he instance is running the new template. \n- \"ROLLED_BACK\": The instance updat
e is finished, the instance has been reverted to the previous template. \n- \"CA
NCELLED\": The instance update is paused and no longer can be resumed, undefined
in which template the instance is running.", | 487 "description": "State of the instance update. Possible value
s are: \n- \"PENDING/code>\": The instance update is pending execution. \n- \"R
OLLING_FORWARD\": The instance update is going forward. \n- \"ROLLING_BACK\": Th
e instance update is being rolled back. \n- \"PAUSED\": The instance update is t
emporarily paused (inactive). \n- \"ROLLED_OUT\": The instance update is finishe
d, the instance is running the new template. \n- \"ROLLED_BACK\": The instance u
pdate is finished, the instance has been reverted to the previous template. \n-
\"CANCELLED\": The instance update is paused and no longer can be resumed, undef
ined in which template the instance is running.", |
| 488 "type": "string" |
| 489 }, |
| 490 "status": { |
| 491 "description": "Status of the instance update. Possible valu
es are: \n- \"PENDING/code>\": The instance update is pending execution. \n- \"
ROLLING_FORWARD\": The instance update is going forward. \n- \"ROLLING_BACK\": T
he instance update is being rolled back. \n- \"PAUSED\": The instance update is
temporarily paused (inactive). \n- \"ROLLED_OUT\": The instance update is finish
ed, the instance is running the new template. \n- \"ROLLED_BACK\": The instance
update is finished, the instance has been reverted to the previous template. \n-
\"CANCELLED\": The instance update is paused and no longer can be resumed, unde
fined in which template the instance is running.", |
| 492 "type": "string" |
| 493 } |
| 494 }, |
| 495 "type": "object" |
| 496 }, |
| 497 "InstanceUpdateList": { |
| 498 "description": "Response returned by ListInstanceUpdates method.", |
| 499 "id": "InstanceUpdateList", |
| 500 "properties": { |
| 501 "items": { |
| 502 "description": "A list of instance updates.", |
| 503 "items": { |
| 504 "$ref": "InstanceUpdate" |
| 505 }, |
| 506 "type": "array" |
| 507 }, |
| 508 "kind": { |
| 509 "default": "replicapoolupdater#instanceUpdateList", |
| 510 "description": "[Output Only] Type of the resource.", |
| 511 "type": "string" |
| 512 }, |
| 513 "nextPageToken": { |
| 514 "description": "A token used to continue a truncated list re
quest (output only).", |
| 515 "type": "string" |
| 516 }, |
| 517 "selfLink": { |
| 518 "description": "[Output Only] The fully qualified URL for th
e resource.", |
420 "type": "string" | 519 "type": "string" |
421 } | 520 } |
422 }, | 521 }, |
423 "type": "object" | 522 "type": "object" |
424 }, | 523 }, |
425 "Update": { | 524 "Update": { |
426 "description": "Resource describing a single update (rollout) of an
instance group to the given template.", | 525 "description": "Resource describing a single update (rollout) of a g
roup of instances to the given template.", |
427 "id": "Update", | 526 "id": "Update", |
428 "properties": { | 527 "properties": { |
429 "creationTimestamp": { | 528 "creationTimestamp": { |
430 "description": "[Output only] The time the update was create
d, in RFC3339 text format.", | 529 "description": "[Output Only] Creation timestamp in RFC3339
text format.", |
431 "type": "string" | 530 "type": "string" |
432 }, | 531 }, |
433 "details": { | 532 "details": { |
434 "description": "[Output only] Human-readable description of
an update progress.", | 533 "description": "[Output Only] An optional textual descriptio
n of the current status of the update.", |
435 "type": "string" | 534 "type": "string" |
436 }, | 535 }, |
437 "handle": { | 536 "handle": { |
438 "description": "[Output only] Unique (in the context of a gr
oup) handle assigned to this update.", | 537 "description": "[Output Only] Unique (in the context of a gr
oup) handle assigned to this update.", |
| 538 "type": "string" |
| 539 }, |
| 540 "id": { |
| 541 "description": "[Output Only] Unique identifier for the reso
urce; defined by the server.", |
| 542 "type": "string" |
| 543 }, |
| 544 "instanceGroupManager": { |
| 545 "description": "[Output Only] URL of an instance group manag
er being updated.", |
439 "type": "string" | 546 "type": "string" |
440 }, | 547 }, |
441 "instanceTemplate": { | 548 "instanceTemplate": { |
442 "description": "Url of an instance template to be applied.", | 549 "description": "URL of an instance template to be applied.", |
443 "type": "string" | 550 "type": "string" |
444 }, | 551 }, |
445 "instanceUpdates": { | |
446 "description": "[Output only] Collection of instance updates
.", | |
447 "items": { | |
448 "$ref": "InstanceUpdate" | |
449 }, | |
450 "type": "array" | |
451 }, | |
452 "kind": { | 552 "kind": { |
453 "default": "replicapoolupdater#update", | 553 "default": "replicapoolupdater#update", |
454 "description": "[Output only] The resource type. Always repl
icapoolupdater#update.", | 554 "description": "[Output Only] Type of the resource.", |
455 "type": "string" | 555 "type": "string" |
456 }, | 556 }, |
457 "policy": { | 557 "policy": { |
458 "$ref": "UpdatePolicy", | 558 "$ref": "UpdatePolicy", |
459 "description": "Parameters of an update process." | 559 "description": "Parameters of an update process." |
460 }, | 560 }, |
| 561 "progress": { |
| 562 "description": "[Output Only] An optional progress indicator
that ranges from 0 to 100. There is no requirement that this be linear or suppo
rt any granularity of operations. This should not be used to guess at when the u
pdate will be complete. This number should be monotonically increasing as the up
date progresses.", |
| 563 "format": "int32", |
| 564 "type": "integer" |
| 565 }, |
461 "selfLink": { | 566 "selfLink": { |
462 "description": "[Output only] The fully qualified URL for th
is resource.", | 567 "description": "[Output Only] The fully qualified URL for th
e resource.", |
463 "type": "string" | 568 "type": "string" |
464 }, | 569 }, |
465 "state": { | 570 "state": { |
466 "description": "[Output only] Current state of an update. Po
ssible values are: \n- \"ROLLING_FORWARD\": The update is going forward. \n- \"
ROLLING_BACK\": The update is being rolled back. \n- \"PAUSED\": The update is t
emporarily paused (inactive). \n- \"ROLLED_OUT\": The update is finished, all in
stances have been updated successfully. \n- \"ROLLED_BACK\": The update is finis
hed, all instances have been reverted to the previous template. \n- \"CANCELLED\
": The update is paused and no longer can be resumed, undefined how many instanc
es are running in which template.", | 571 "description": "[Output Only] Current state of the update. P
ossible values are: \n- \"ROLLING_FORWARD\": The update is going forward. \n- \
"ROLLING_BACK\": The update is being rolled back. \n- \"PAUSED\": The update is
temporarily paused (inactive). \n- \"ROLLED_OUT\": The update is finished, all i
nstances have been updated successfully. \n- \"ROLLED_BACK\": The update is fini
shed, all instances have been reverted to the previous template. \n- \"CANCELLED
\": The update is paused and no longer can be resumed, undefined how many instan
ces are running in which template.", |
| 572 "type": "string" |
| 573 }, |
| 574 "status": { |
| 575 "description": "[Output Only] Status of the update. Possible
values are: \n- \"ROLLING_FORWARD\": The update is going forward. \n- \"ROLLIN
G_BACK\": The update is being rolled back. \n- \"PAUSED\": The update is tempora
rily paused (inactive). \n- \"ROLLED_OUT\": The update is finished, all instance
s have been updated successfully. \n- \"ROLLED_BACK\": The update is finished, a
ll instances have been reverted to the previous template. \n- \"CANCELLED\": The
update is paused and no longer can be resumed, undefined how many instances are
running in which template.", |
| 576 "type": "string" |
| 577 }, |
| 578 "statusMessage": { |
| 579 "description": "[Output Only] An optional textual descriptio
n of the current status of the update.", |
467 "type": "string" | 580 "type": "string" |
468 }, | 581 }, |
469 "targetState": { | 582 "targetState": { |
470 "description": "[Output only] Requested state of an update.
This is the state that the updater is moving towards. Acceptable values are: \n
- \"ROLLED_OUT\": The user has requested the update to go forward. \n- \"ROLLED_
BACK\": The user has requested the update to be rolled back. \n- \"PAUSED\": The
user has requested the update to be paused.\n \n- \"CANCELLED\": The user has r
equested the update to be cancelled. The updater service is in the process of ca
nceling the update.", | 583 "description": "[Output Only] Requested state of the update.
This is the state that the updater is moving towards. Acceptable values are: \
n- \"ROLLED_OUT\": The user has requested the update to go forward. \n- \"ROLLED
_BACK\": The user has requested the update to be rolled back. \n- \"PAUSED\": Th
e user has requested the update to be paused.\n \n- \"CANCELLED\": The user has
requested the update to be cancelled. The updater service is in the process of c
anceling the update.", |
471 "type": "string" | 584 "type": "string" |
472 }, | 585 }, |
473 "user": { | 586 "user": { |
474 "description": "[Output only] User who requested the update,
for example: user@example.com.", | 587 "description": "[Output Only] User who requested the update,
for example: user@example.com.", |
475 "type": "string" | 588 "type": "string" |
476 } | 589 } |
477 }, | 590 }, |
478 "type": "object" | 591 "type": "object" |
479 }, | 592 }, |
480 "UpdateList": { | 593 "UpdateList": { |
481 "description": "Response returned by List method.", | 594 "description": "Response returned by List method.", |
482 "id": "UpdateList", | 595 "id": "UpdateList", |
483 "properties": { | 596 "properties": { |
484 "items": { | 597 "items": { |
485 "description": "Collection of requested updates.", | 598 "description": "A list of update resources.", |
486 "items": { | 599 "items": { |
487 "$ref": "Update" | 600 "$ref": "Update" |
488 }, | 601 }, |
489 "type": "array" | 602 "type": "array" |
490 }, | 603 }, |
| 604 "kind": { |
| 605 "default": "replicapoolupdater#updateList", |
| 606 "description": "[Output Only] Type of the resource.", |
| 607 "type": "string" |
| 608 }, |
491 "nextPageToken": { | 609 "nextPageToken": { |
492 "description": "A token used to continue a truncated list re
quest.", | 610 "description": "A token used to continue a truncated list re
quest (output only).", |
| 611 "type": "string" |
| 612 }, |
| 613 "selfLink": { |
| 614 "description": "[Output Only] The fully qualified URL for th
e resource.", |
493 "type": "string" | 615 "type": "string" |
494 } | 616 } |
495 }, | 617 }, |
496 "type": "object" | 618 "type": "object" |
497 }, | 619 }, |
498 "UpdatePolicy": { | 620 "UpdatePolicy": { |
499 "description": "Parameters of an update process.", | 621 "description": "Parameters of an update process.", |
500 "id": "UpdatePolicy", | 622 "id": "UpdatePolicy", |
501 "properties": { | 623 "properties": { |
502 "canary": { | 624 "canary": { |
(...skipping 23 matching lines...) Expand all Loading... |
526 "type": "integer" | 648 "type": "integer" |
527 } | 649 } |
528 }, | 650 }, |
529 "type": "object" | 651 "type": "object" |
530 } | 652 } |
531 }, | 653 }, |
532 "servicePath": "replicapoolupdater/v1beta1/projects/", | 654 "servicePath": "replicapoolupdater/v1beta1/projects/", |
533 "title": "Google Compute Engine Instance Group Updater API", | 655 "title": "Google Compute Engine Instance Group Updater API", |
534 "version": "v1beta1" | 656 "version": "v1beta1" |
535 } | 657 } |
OLD | NEW |