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://developers.google.com/compute/docs/instance-gr
oups/manager/v1beta2", | 22 "documentationLink": "https://cloud.google.com/compute/docs/instance-groups/
manager/#applying_rolling_updates_using_the_updater_service", |
23 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/MkEFbbfro6Rau0xbZXwz9DhAfqM\"", | 23 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/p4N2iDg-K9khNxP-otwGtbGFX0M\"", |
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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 "response": { | 258 "response": { |
259 "$ref": "UpdateList" | 259 "$ref": "UpdateList" |
260 }, | 260 }, |
261 "scopes": [ | 261 "scopes": [ |
262 "https://www.googleapis.com/auth/cloud-platform", | 262 "https://www.googleapis.com/auth/cloud-platform", |
263 "https://www.googleapis.com/auth/replicapool", | 263 "https://www.googleapis.com/auth/replicapool", |
264 "https://www.googleapis.com/auth/replicapool.readonly" | 264 "https://www.googleapis.com/auth/replicapool.readonly" |
265 ] | 265 ] |
266 }, | 266 }, |
267 "pause": { | 267 "pause": { |
268 "description": "Called on the particular Update endpoint. Pa
uses the update in state from { ROLLING_FORWARD, ROLLING_BACK, PAUSED }. No-op i
f invoked in state PAUSED.", | 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.", |
269 "httpMethod": "POST", | 269 "httpMethod": "POST", |
270 "id": "replicapoolupdater.updates.pause", | 270 "id": "replicapoolupdater.updates.pause", |
271 "parameterOrder": [ | 271 "parameterOrder": [ |
272 "project", | 272 "project", |
273 "zone", | 273 "zone", |
274 "instanceGroupManager", | 274 "instanceGroupManager", |
275 "update" | 275 "update" |
276 ], | 276 ], |
277 "parameters": { | 277 "parameters": { |
278 "instanceGroupManager": { | 278 "instanceGroupManager": { |
(...skipping 21 matching lines...) Expand all Loading... |
300 "type": "string" | 300 "type": "string" |
301 } | 301 } |
302 }, | 302 }, |
303 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/pause", | 303 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/pause", |
304 "scopes": [ | 304 "scopes": [ |
305 "https://www.googleapis.com/auth/cloud-platform", | 305 "https://www.googleapis.com/auth/cloud-platform", |
306 "https://www.googleapis.com/auth/replicapool" | 306 "https://www.googleapis.com/auth/replicapool" |
307 ] | 307 ] |
308 }, | 308 }, |
309 "rollback": { | 309 "rollback": { |
310 "description": "Called on the particular Update endpoint. Ro
lls back the update in state from { ROLLING_FORWARD, ROLLING_BACK, PAUSED }. No-
op if invoked in state ROLLED_BACK.", | 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.", |
311 "httpMethod": "POST", | 311 "httpMethod": "POST", |
312 "id": "replicapoolupdater.updates.rollback", | 312 "id": "replicapoolupdater.updates.rollback", |
313 "parameterOrder": [ | 313 "parameterOrder": [ |
314 "project", | 314 "project", |
315 "zone", | 315 "zone", |
316 "instanceGroupManager", | 316 "instanceGroupManager", |
317 "update" | 317 "update" |
318 ], | 318 ], |
319 "parameters": { | 319 "parameters": { |
320 "instanceGroupManager": { | 320 "instanceGroupManager": { |
(...skipping 21 matching lines...) Expand all Loading... |
342 "type": "string" | 342 "type": "string" |
343 } | 343 } |
344 }, | 344 }, |
345 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/rollback", | 345 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/rollback", |
346 "scopes": [ | 346 "scopes": [ |
347 "https://www.googleapis.com/auth/cloud-platform", | 347 "https://www.googleapis.com/auth/cloud-platform", |
348 "https://www.googleapis.com/auth/replicapool" | 348 "https://www.googleapis.com/auth/replicapool" |
349 ] | 349 ] |
350 }, | 350 }, |
351 "rollforward": { | 351 "rollforward": { |
352 "description": "Called on the particular Update endpoint. Ro
lls forward the update in state from { ROLLING_FORWARD, ROLLING_BACK, PAUSED }.
No-op if invoked in state ROLLED_OUT.", | 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.", |
353 "httpMethod": "POST", | 353 "httpMethod": "POST", |
354 "id": "replicapoolupdater.updates.rollforward", | 354 "id": "replicapoolupdater.updates.rollforward", |
355 "parameterOrder": [ | 355 "parameterOrder": [ |
356 "project", | 356 "project", |
357 "zone", | 357 "zone", |
358 "instanceGroupManager", | 358 "instanceGroupManager", |
359 "update" | 359 "update" |
360 ], | 360 ], |
361 "parameters": { | 361 "parameters": { |
362 "instanceGroupManager": { | 362 "instanceGroupManager": { |
(...skipping 23 matching lines...) Expand all Loading... |
386 }, | 386 }, |
387 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/rollforward", | 387 "path": "{project}/zones/{zone}/instanceGroupManagers/{insta
nceGroupManager}/updates/{update}/rollforward", |
388 "scopes": [ | 388 "scopes": [ |
389 "https://www.googleapis.com/auth/cloud-platform", | 389 "https://www.googleapis.com/auth/cloud-platform", |
390 "https://www.googleapis.com/auth/replicapool" | 390 "https://www.googleapis.com/auth/replicapool" |
391 ] | 391 ] |
392 } | 392 } |
393 } | 393 } |
394 } | 394 } |
395 }, | 395 }, |
396 "revision": "20141105", | 396 "revision": "20141117", |
397 "rootUrl": "https://www.googleapis.com/", | 397 "rootUrl": "https://www.googleapis.com/", |
398 "schemas": { | 398 "schemas": { |
399 "InsertResponse": { | 399 "InsertResponse": { |
400 "description": "Response returned by Insert method.", | 400 "description": "Response returned by Insert method.", |
401 "id": "InsertResponse", | 401 "id": "InsertResponse", |
402 "properties": { | 402 "properties": { |
403 "update": { | 403 "update": { |
404 "description": "Unique (in the context of a group) handle of
an update.", | 404 "description": "Unique (in the context of a group) handle of
an update.", |
405 "type": "string" | 405 "type": "string" |
406 } | 406 } |
407 }, | 407 }, |
408 "type": "object" | 408 "type": "object" |
409 }, | 409 }, |
410 "InstanceUpdate": { | 410 "InstanceUpdate": { |
411 "description": "Update of a single instance.", | 411 "description": "Update of a single instance.", |
412 "id": "InstanceUpdate", | 412 "id": "InstanceUpdate", |
413 "properties": { | 413 "properties": { |
414 "instanceName": { | 414 "instanceName": { |
415 "description": "Name of an instance.", | 415 "description": "Name of an instance.", |
416 "type": "string" | 416 "type": "string" |
417 }, | 417 }, |
418 "state": { | 418 "state": { |
419 "description": "State of an instance update.", | 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.", |
420 "type": "string" | 420 "type": "string" |
421 } | 421 } |
422 }, | 422 }, |
423 "type": "object" | 423 "type": "object" |
424 }, | 424 }, |
425 "Update": { | 425 "Update": { |
426 "description": "Resource describing a single update (rollout) of an
instance group to the given template.", | 426 "description": "Resource describing a single update (rollout) of an
instance group to the given template.", |
427 "id": "Update", | 427 "id": "Update", |
428 "properties": { | 428 "properties": { |
| 429 "creationTimestamp": { |
| 430 "description": "[Output only] The time the update was create
d, in RFC3339 text format.", |
| 431 "type": "string" |
| 432 }, |
429 "details": { | 433 "details": { |
430 "description": "[Output Only] Human-readable description of
an update progress.", | 434 "description": "[Output only] Human-readable description of
an update progress.", |
431 "type": "string" | 435 "type": "string" |
432 }, | 436 }, |
433 "handle": { | 437 "handle": { |
434 "description": "[Output Only] Unique (in the context of a gr
oup) handle assigned to this update.", | 438 "description": "[Output only] Unique (in the context of a gr
oup) handle assigned to this update.", |
435 "type": "string" | 439 "type": "string" |
436 }, | 440 }, |
437 "instanceTemplate": { | 441 "instanceTemplate": { |
438 "description": "Url of an instance template to be applied.", | 442 "description": "Url of an instance template to be applied.", |
439 "type": "string" | 443 "type": "string" |
440 }, | 444 }, |
441 "instanceUpdates": { | 445 "instanceUpdates": { |
442 "description": "[Output Only] Collection of instance updates
.", | 446 "description": "[Output only] Collection of instance updates
.", |
443 "items": { | 447 "items": { |
444 "$ref": "InstanceUpdate" | 448 "$ref": "InstanceUpdate" |
445 }, | 449 }, |
446 "type": "array" | 450 "type": "array" |
447 }, | 451 }, |
448 "kind": { | 452 "kind": { |
449 "default": "replicapoolupdater#update", | 453 "default": "replicapoolupdater#update", |
450 "description": "[Output only] The resource type. Always repl
icapoolupdater#update.", | 454 "description": "[Output only] The resource type. Always repl
icapoolupdater#update.", |
451 "type": "string" | 455 "type": "string" |
452 }, | 456 }, |
453 "policy": { | 457 "policy": { |
454 "$ref": "UpdatePolicy", | 458 "$ref": "UpdatePolicy", |
455 "description": "Parameters of an update process." | 459 "description": "Parameters of an update process." |
456 }, | 460 }, |
457 "selfLink": { | 461 "selfLink": { |
458 "description": "[Output only] The fully qualified URL for th
is resource.", | 462 "description": "[Output only] The fully qualified URL for th
is resource.", |
459 "type": "string" | 463 "type": "string" |
460 }, | 464 }, |
461 "state": { | 465 "state": { |
462 "description": "[Output Only] Current state of an update.", | 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.", |
463 "type": "string" | 467 "type": "string" |
464 }, | 468 }, |
465 "targetState": { | 469 "targetState": { |
466 "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.", | 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.", |
| 471 "type": "string" |
| 472 }, |
| 473 "user": { |
| 474 "description": "[Output only] User who requested the update,
for example: user@example.com.", |
467 "type": "string" | 475 "type": "string" |
468 } | 476 } |
469 }, | 477 }, |
470 "type": "object" | 478 "type": "object" |
471 }, | 479 }, |
472 "UpdateList": { | 480 "UpdateList": { |
473 "description": "Response returned by List method.", | 481 "description": "Response returned by List method.", |
474 "id": "UpdateList", | 482 "id": "UpdateList", |
475 "properties": { | 483 "properties": { |
476 "items": { | 484 "items": { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
518 "type": "integer" | 526 "type": "integer" |
519 } | 527 } |
520 }, | 528 }, |
521 "type": "object" | 529 "type": "object" |
522 } | 530 } |
523 }, | 531 }, |
524 "servicePath": "replicapoolupdater/v1beta1/projects/", | 532 "servicePath": "replicapoolupdater/v1beta1/projects/", |
525 "title": "Google Compute Engine Instance Group Updater API", | 533 "title": "Google Compute Engine Instance Group Updater API", |
526 "version": "v1beta1" | 534 "version": "v1beta1" |
527 } | 535 } |
OLD | NEW |