Compute V1 Client - Class AutoscalingPolicyLoadBalancingUtilization (1.18.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
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.

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.

Parameter
Name Description
var float
Returns
Type Description
$this