Class: Google::Apis::ComputeBeta::AutoscalingPolicyLoadBalancingUtilization
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::ComputeBeta::AutoscalingPolicyLoadBalancingUtilization
 
 
- Defined in:
 - generated/google/apis/compute_beta/classes.rb,
generated/google/apis/compute_beta/representations.rb,
generated/google/apis/compute_beta/representations.rb 
Overview
Configuration parameters of autoscaling based on load balancing.
Instance Attribute Summary collapse
- 
  
    
      #utilization_target  ⇒ Float 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Fraction of backend capacity utilization (set in HTTP(s) load balancing configuration) that autoscaler should maintain.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AutoscalingPolicyLoadBalancingUtilization 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AutoscalingPolicyLoadBalancingUtilization.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ AutoscalingPolicyLoadBalancingUtilization
Returns a new instance of AutoscalingPolicyLoadBalancingUtilization
      1985 1986 1987  | 
    
      # File 'generated/google/apis/compute_beta/classes.rb', line 1985 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#utilization_target ⇒ Float
Fraction of backend capacity utilization (set in HTTP(s) load balancing
configuration) that autoscaler should maintain. Must be a positive float value.
If not defined, the default is 0.8.
Corresponds to the JSON property utilizationTarget
      1983 1984 1985  | 
    
      # File 'generated/google/apis/compute_beta/classes.rb', line 1983 def utilization_target @utilization_target end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1990 1991 1992  | 
    
      # File 'generated/google/apis/compute_beta/classes.rb', line 1990 def update!(**args) @utilization_target = args[:utilization_target] if args.key?(:utilization_target) end  |