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.
Generated from protobuf field .google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
hasYarnConfig
setYarnConfig
Required. YARN autoscaling configuration.
Generated from protobuf field .google.cloud.dataproc.v1.BasicYarnAutoscalingConfig yarn_config = 1 [(.google.api.field_behavior) = REQUIRED];
$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.
Generated from protobuf field .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Duration|null
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.
Generated from protobuf field .google.protobuf.Duration cooldown_period = 2 [(.google.api.field_behavior) = OPTIONAL];
var
Google\Protobuf\Duration
$this
getConfig
string