google_api_dataproc v0.20.0 GoogleApi.Dataproc.V1.Model.AutoscalingPolicy View Source

Describes an autoscaling policy for Dataproc cluster autoscaler.

Attributes

  • basicAlgorithm (type: GoogleApi.Dataproc.V1.Model.BasicAutoscalingAlgorithm.t, default: nil) -
  • id (type: String.t, default: nil) - Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
  • name (type: String.t, default: nil) - Output only. The "resource name" of the autoscaling policy, as described in https://cloud.google.com/apis/design/resource_names. For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id} For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
  • secondaryWorkerConfig (type: GoogleApi.Dataproc.V1.Model.InstanceGroupAutoscalingPolicyConfig.t, default: nil) - Optional. Describes how the autoscaler will operate for secondary workers.
  • workerConfig (type: GoogleApi.Dataproc.V1.Model.InstanceGroupAutoscalingPolicyConfig.t, default: nil) - Required. Describes how the autoscaler will operate for primary workers.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.