Google Cloud Dataproc V1 Client - Class BasicAutoscalingAlgorithm (2.5.0)

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ yarn_config
BasicYarnAutoscalingConfig

Required. YARN autoscaling configuration.

↳ 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.

Returns
Type
Description

hasYarnConfig

setYarnConfig

Required. YARN autoscaling configuration.

Parameter
Name
Description
Returns
Type
Description
$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.

Returns
Type
Description

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.

Parameter
Name
Description
Returns
Type
Description
$this

getConfig

Returns
Type
Description
string
Create a Mobile Website
View Site in Mobile | Classic
Share by: