Reference documentation and code samples for the Dataflow V1beta3 API class Google::Cloud::Dataflow::V1beta3::AutoscalingSettings.
Settings for WorkerPool autoscaling.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#algorithm
def algorithm() -> ::Google::Cloud::Dataflow::V1beta3::AutoscalingAlgorithm
Returns
- (::Google::Cloud::Dataflow::V1beta3::AutoscalingAlgorithm) — The algorithm to use for autoscaling.
#algorithm=
def algorithm=(value) -> ::Google::Cloud::Dataflow::V1beta3::AutoscalingAlgorithm
Parameter
- value (::Google::Cloud::Dataflow::V1beta3::AutoscalingAlgorithm) — The algorithm to use for autoscaling.
Returns
- (::Google::Cloud::Dataflow::V1beta3::AutoscalingAlgorithm) — The algorithm to use for autoscaling.
#max_num_workers
def max_num_workers() -> ::Integer
Returns
- (::Integer) — The maximum number of workers to cap scaling at.
#max_num_workers=
def max_num_workers=(value) -> ::Integer
Parameter
- value (::Integer) — The maximum number of workers to cap scaling at.
Returns
- (::Integer) — The maximum number of workers to cap scaling at.