Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::BasicAutoscalingAlgorithm.
Basic algorithm for autoscaling.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cooldown_period
def cooldown_period() -> ::Google::Protobuf::Duration
Returns
-
(::Google::Protobuf::Duration) — Optional. Duration between scaling events. A scaling period starts after
the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
#cooldown_period=
def cooldown_period=(value) -> ::Google::Protobuf::Duration
Parameter
-
value (::Google::Protobuf::Duration) — Optional. Duration between scaling events. A scaling period starts after
the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
Returns
-
(::Google::Protobuf::Duration) — Optional. Duration between scaling events. A scaling period starts after
the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
#yarn_config
def yarn_config() -> ::Google::Cloud::Dataproc::V1beta2::BasicYarnAutoscalingConfig
Returns
- (::Google::Cloud::Dataproc::V1beta2::BasicYarnAutoscalingConfig) — Required. YARN autoscaling configuration.
#yarn_config=
def yarn_config=(value) -> ::Google::Cloud::Dataproc::V1beta2::BasicYarnAutoscalingConfig
Parameter
- value (::Google::Cloud::Dataproc::V1beta2::BasicYarnAutoscalingConfig) — Required. YARN autoscaling configuration.
Returns
- (::Google::Cloud::Dataproc::V1beta2::BasicYarnAutoscalingConfig) — Required. YARN autoscaling configuration.