OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/compute": { | 5 "https://www.googleapis.com/auth/compute": { |
6 "description": "View and manage your Google Compute Engine r
esources" | 6 "description": "View and manage your Google Compute Engine r
esources" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/compute.readonly": { | 8 "https://www.googleapis.com/auth/compute.readonly": { |
9 "description": "View your Google Compute Engine resources" | 9 "description": "View your Google Compute Engine resources" |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "/autoscaler/v1beta2/", | 14 "basePath": "/autoscaler/v1beta2/", |
15 "baseUrl": "https://www.googleapis.com/autoscaler/v1beta2/", | 15 "baseUrl": "https://www.googleapis.com/autoscaler/v1beta2/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "description": "The Google Compute Engine Autoscaler API provides autoscalin
g for groups of Cloud VMs.", | 17 "description": "The Google Compute Engine Autoscaler API provides autoscalin
g for groups of Cloud VMs.", |
18 "discoveryVersion": "v1", | 18 "discoveryVersion": "v1", |
19 "documentationLink": "http://developers.google.com/compute/docs/autoscaler", | 19 "documentationLink": "http://developers.google.com/compute/docs/autoscaler", |
20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/aqfSeC1jGN1VtOnSnFM7d_GgZoI\"", | 20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/OGrwqagtFyzrQU63rEsuM0hbVC4\"", |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "autoscaler:v1beta2", | 25 "id": "autoscaler:v1beta2", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "labels": [ | 27 "labels": [ |
28 "limited_availability" | 28 "limited_availability" |
29 ], | 29 ], |
30 "name": "autoscaler", | 30 "name": "autoscaler", |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
433 "$ref": "OperationList" | 433 "$ref": "OperationList" |
434 }, | 434 }, |
435 "scopes": [ | 435 "scopes": [ |
436 "https://www.googleapis.com/auth/compute", | 436 "https://www.googleapis.com/auth/compute", |
437 "https://www.googleapis.com/auth/compute.readonly" | 437 "https://www.googleapis.com/auth/compute.readonly" |
438 ] | 438 ] |
439 } | 439 } |
440 } | 440 } |
441 } | 441 } |
442 }, | 442 }, |
443 "revision": "20140814", | 443 "revision": "20140909", |
444 "rootUrl": "https://www.googleapis.com/", | 444 "rootUrl": "https://www.googleapis.com/", |
445 "schemas": { | 445 "schemas": { |
446 "Autoscaler": { | 446 "Autoscaler": { |
447 "description": "Cloud Autoscaler resource.", | 447 "description": "Cloud Autoscaler resource.", |
448 "id": "Autoscaler", | 448 "id": "Autoscaler", |
449 "properties": { | 449 "properties": { |
450 "autoscalingPolicy": { | 450 "autoscalingPolicy": { |
451 "$ref": "AutoscalingPolicy", | 451 "$ref": "AutoscalingPolicy", |
452 "description": "Configuration parameters for autoscaling alg
orithm." | 452 "description": "Configuration parameters for autoscaling alg
orithm." |
453 }, | 453 }, |
454 "creationTimestamp": { | 454 "creationTimestamp": { |
455 "description": "[Output Only] Creation timestamp in RFC3339
text format.", | 455 "description": "[Output Only] Creation timestamp in RFC3339
text format.", |
456 "type": "string" | 456 "type": "string" |
457 }, | 457 }, |
458 "description": { | 458 "description": { |
459 "description": "An optional textual description of the resou
rce provided by the client.", | 459 "description": "An optional textual description of the resou
rce provided by the client.", |
460 "type": "string" | 460 "type": "string" |
461 }, | 461 }, |
462 "id": { | 462 "id": { |
463 "description": "[Output Only] Unique identifier for the reso
urce; defined by the server.", | 463 "description": "[Output Only] Unique identifier for the reso
urce; defined by the server.", |
464 "format": "uint64", | 464 "format": "uint64", |
465 "type": "string" | 465 "type": "string" |
466 }, | 466 }, |
| 467 "kind": { |
| 468 "default": "compute#autoscaler", |
| 469 "description": "Type of resource.", |
| 470 "type": "string" |
| 471 }, |
467 "name": { | 472 "name": { |
468 "description": "Name of the Autoscaler resource. Must be uni
que per project and zone.", | 473 "description": "Name of the Autoscaler resource. Must be uni
que per project and zone.", |
469 "type": "string" | 474 "type": "string" |
470 }, | 475 }, |
471 "selfLink": { | 476 "selfLink": { |
472 "description": "[Output Only] A self-link to the Autoscaler
configuration resource.", | 477 "description": "[Output Only] A self-link to the Autoscaler
configuration resource.", |
473 "type": "string" | 478 "type": "string" |
474 }, | 479 }, |
475 "target": { | 480 "target": { |
476 "description": "URL to the entity which will be autoscaled.
Currently the only supported value is ReplicaPool?s URL. Note: it is illegal to
specify multiple Autoscalers for the same target.", | 481 "description": "URL to the entity which will be autoscaled.
Currently the only supported value is ReplicaPool?s URL. Note: it is illegal to
specify multiple Autoscalers for the same target.", |
477 "type": "string" | 482 "type": "string" |
478 } | 483 } |
479 }, | 484 }, |
480 "type": "object" | 485 "type": "object" |
481 }, | 486 }, |
482 "AutoscalerListResponse": { | 487 "AutoscalerListResponse": { |
483 "id": "AutoscalerListResponse", | 488 "id": "AutoscalerListResponse", |
484 "properties": { | 489 "properties": { |
485 "items": { | 490 "items": { |
486 "description": "Autoscaler resources.", | 491 "description": "Autoscaler resources.", |
487 "items": { | 492 "items": { |
488 "$ref": "Autoscaler" | 493 "$ref": "Autoscaler" |
489 }, | 494 }, |
490 "type": "array" | 495 "type": "array" |
491 }, | 496 }, |
| 497 "kind": { |
| 498 "default": "compute#autoscalerList", |
| 499 "description": "Type of resource.", |
| 500 "type": "string" |
| 501 }, |
492 "nextPageToken": { | 502 "nextPageToken": { |
493 "description": "[Output only] A token used to continue a tru
ncated list request.", | 503 "description": "[Output only] A token used to continue a tru
ncated list request.", |
494 "type": "string" | 504 "type": "string" |
495 } | 505 } |
496 }, | 506 }, |
497 "type": "object" | 507 "type": "object" |
498 }, | 508 }, |
499 "AutoscalingPolicy": { | 509 "AutoscalingPolicy": { |
500 "description": "Cloud Autoscaler policy.", | 510 "description": "Cloud Autoscaler policy.", |
501 "id": "AutoscalingPolicy", | 511 "id": "AutoscalingPolicy", |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 "id": "AutoscalingPolicyCustomMetricUtilization", | 560 "id": "AutoscalingPolicyCustomMetricUtilization", |
551 "properties": { | 561 "properties": { |
552 "metric": { | 562 "metric": { |
553 "description": "Identifier of the metric. It should be a Clo
ud Monitoring metric. The metric can not have negative values. The metric should
be an utilization metric (increasing number of VMs handling requests x times sh
ould reduce average value of the metric roughly x times). For example you could
use: compute.googleapis.com/instance/network/received_bytes_count.", | 563 "description": "Identifier of the metric. It should be a Clo
ud Monitoring metric. The metric can not have negative values. The metric should
be an utilization metric (increasing number of VMs handling requests x times sh
ould reduce average value of the metric roughly x times). For example you could
use: compute.googleapis.com/instance/network/received_bytes_count.", |
554 "type": "string" | 564 "type": "string" |
555 }, | 565 }, |
556 "utilizationTarget": { | 566 "utilizationTarget": { |
557 "description": "Target value of the metric which Autoscaler
should maintain. Must be a positive value.", | 567 "description": "Target value of the metric which Autoscaler
should maintain. Must be a positive value.", |
558 "format": "double", | 568 "format": "double", |
559 "type": "number" | 569 "type": "number" |
| 570 }, |
| 571 "utilizationTargetType": { |
| 572 "description": "Defines type in which utilization_target is
expressed.", |
| 573 "type": "string" |
560 } | 574 } |
561 }, | 575 }, |
562 "type": "object" | 576 "type": "object" |
563 }, | 577 }, |
564 "AutoscalingPolicyLoadBalancingUtilization": { | 578 "AutoscalingPolicyLoadBalancingUtilization": { |
565 "description": "Load balancing utilization policy.", | 579 "description": "Load balancing utilization policy.", |
566 "id": "AutoscalingPolicyLoadBalancingUtilization", | 580 "id": "AutoscalingPolicyLoadBalancingUtilization", |
567 "properties": { | 581 "properties": { |
568 "utilizationTarget": { | 582 "utilizationTarget": { |
569 "description": "Fraction of backend capacity utilization (se
t in HTTP load balancing configuration) that Autoscaler should maintain. Must be
a positive float value. If not defined, the default is 0.8. For example if your
maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10
and you would like to keep number of instances such that each instance receives
7 QPS on average, set this to 0.7.", | 583 "description": "Fraction of backend capacity utilization (se
t in HTTP load balancing configuration) that Autoscaler should maintain. Must be
a positive float value. If not defined, the default is 0.8. For example if your
maxRatePerInstance capacity (in HTTP Load Balancing configuration) is set at 10
and you would like to keep number of instances such that each instance receives
7 QPS on average, set this to 0.7.", |
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
719 "type": "string" | 733 "type": "string" |
720 } | 734 } |
721 }, | 735 }, |
722 "type": "object" | 736 "type": "object" |
723 } | 737 } |
724 }, | 738 }, |
725 "servicePath": "autoscaler/v1beta2/", | 739 "servicePath": "autoscaler/v1beta2/", |
726 "title": "Google Compute Engine Autoscaler API", | 740 "title": "Google Compute Engine Autoscaler API", |
727 "version": "v1beta2" | 741 "version": "v1beta2" |
728 } | 742 } |
OLD | NEW |