Describes an autoscaling policy for Dataproc cluster
autoscaler.
Attributes
Name
Description
id
str
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
str
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}
worker_config
.autoscaling_policies.InstanceGroupAutoscalingPolicyConfig
Required. Describes how the autoscaler will
operate for primary workers.
secondary_worker_config
.autoscaling_policies.InstanceGroupAutoscalingPolicyConfig
Optional. Describes how the autoscaler will
operate for secondary workers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-08 UTC."],[],[]]