class Google::Apis::AutoscalerV1beta2::AutoscalingPolicyLoadBalancingUtilization

Load balancing utilization policy.

Attributes

utilization_target[RW]

Fraction of backend capacity utilization (set 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. Corresponds to the JSON property `utilizationTarget` @return [Float]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/autoscaler_v1beta2/classes.rb, line 244
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/autoscaler_v1beta2/classes.rb, line 249
def update!(**args)
  @utilization_target = args[:utilization_target] if args.key?(:utilization_target)
end