class Google::Apis::ManagerV1beta2::AutoscalingModule
Attributes
cool_down_period_sec[RW]
Corresponds to the JSON property `coolDownPeriodSec` @return [Fixnum]
description[RW]
Corresponds to the JSON property `description` @return [String]
max_num_replicas[RW]
Corresponds to the JSON property `maxNumReplicas` @return [Fixnum]
min_num_replicas[RW]
Corresponds to the JSON property `minNumReplicas` @return [Fixnum]
signal_type[RW]
Corresponds to the JSON property `signalType` @return [String]
target_module[RW]
Corresponds to the JSON property `targetModule` @return [String]
target_utilization[RW]
#target_utilization should be in range [0,1]. Corresponds to the JSON property `targetUtilization` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/manager_v1beta2/classes.rb, line 149 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/manager_v1beta2/classes.rb, line 154 def update!(**args) @cool_down_period_sec = args[:cool_down_period_sec] if args.key?(:cool_down_period_sec) @description = args[:description] if args.key?(:description) @max_num_replicas = args[:max_num_replicas] if args.key?(:max_num_replicas) @min_num_replicas = args[:min_num_replicas] if args.key?(:min_num_replicas) @signal_type = args[:signal_type] if args.key?(:signal_type) @target_module = args[:target_module] if args.key?(:target_module) @target_utilization = args[:target_utilization] if args.key?(:target_utilization) end