class Google::Apis::RemotebuildexecutionV1alpha::GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale
Autoscale defines the autoscaling policy of a worker pool.
Attributes
max_size[RW]
The maximal number of workers. Must be equal to or greater than min_size. Corresponds to the JSON property `maxSize` @return [Fixnum]
min_size[RW]
The minimal number of workers. Must be greater than 0. Corresponds to the JSON property `minSize` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 1810 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/remotebuildexecution_v1alpha/classes.rb, line 1815 def update!(**args) @max_size = args[:max_size] if args.key?(:max_size) @min_size = args[:min_size] if args.key?(:min_size) end