Reference documentation and code samples for the Compute V1 Client class AutoscalingPolicyLoadBalancingUtilization.
Configuration parameters of autoscaling based on load balancing.
Generated from protobuf message google.cloud.compute.v1.AutoscalingPolicyLoadBalancingUtilization
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ utilization_target |
float
Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. |
getUtilizationTarget
Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.
Generated from protobuf field optional double utilization_target = 215905870;
Returns | |
---|---|
Type | Description |
float |
hasUtilizationTarget
clearUtilizationTarget
setUtilizationTarget
Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8.
Generated from protobuf field optional double utilization_target = 215905870;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |