View Source GoogleApi.Dataproc.V1.Model.BasicAutoscalingAlgorithm (google_api_dataproc v0.54.0)

Basic algorithm for autoscaling.

Attributes

  • cooldownPeriod (type: String.t, default: nil) - Optional. Duration between scaling events. A scaling period starts after the update operation from the previous event has completed.Bounds: 2m, 1d. Default: 2m.
  • sparkStandaloneConfig (type: GoogleApi.Dataproc.V1.Model.SparkStandaloneAutoscalingConfig.t, default: nil) - Optional. Spark Standalone autoscaling configuration
  • yarnConfig (type: GoogleApi.Dataproc.V1.Model.BasicYarnAutoscalingConfig.t, default: nil) - Optional. YARN autoscaling configuration.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Dataproc.V1.Model.BasicAutoscalingAlgorithm{
  cooldownPeriod: String.t() | nil,
  sparkStandaloneConfig:
    GoogleApi.Dataproc.V1.Model.SparkStandaloneAutoscalingConfig.t() | nil,
  yarnConfig: GoogleApi.Dataproc.V1.Model.BasicYarnAutoscalingConfig.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.