Reference documentation and code samples for the Google Cloud Dataproc V1 Client class BasicAutoscalingAlgorithm.
Basic algorithm for autoscaling.
Generated from protobuf message google.cloud.dataproc.v1.BasicAutoscalingAlgorithm
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ yarn_config
↳ cooldown_period
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.
getYarnConfig
Required. YARN autoscaling configuration.
hasYarnConfig
setYarnConfig
Required. YARN autoscaling configuration.
$this
getCooldownPeriod
Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
hasCooldownPeriod
clearCooldownPeriod
setCooldownPeriod
Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.
Bounds: [2m, 1d]. Default: 2m.
$this
getConfig
string