Compute V1 Client - Class AutoscalingPolicyLoadBalancingUtilization (1.14.0)

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

Namespace

Google \ Cloud \ Compute \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
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.

Returns
TypeDescription
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.

Parameter
NameDescription
var float
Returns
TypeDescription
$this