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.
For projects.regions.autoscalingPolicies, the resource name of the policy has the following format: projects/{projectId}/regions/{region}/autoscalingPolicies/{policy_id}
For projects.locations.autoscalingPolicies, the resource name of the policy has the following format: projects/{projectId}/locations/{location}/autoscalingPolicies/{policy_id}
[[["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-06-20 UTC."],[[["\u003cp\u003eAutoscalingPolicy defines how Dataproc clusters dynamically adjust their resources.\u003c/p\u003e\n"],["\u003cp\u003eThe policy configuration includes settings for both primary (\u003ccode\u003eworkerConfig\u003c/code\u003e) and optional secondary (\u003ccode\u003esecondaryWorkerConfig\u003c/code\u003e) workers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eid\u003c/code\u003e field uniquely identifies the policy and must adhere to specific character and length constraints.\u003c/p\u003e\n"],["\u003cp\u003eThe resource \u003ccode\u003ename\u003c/code\u003e field indicates the full path of the autoscaling policy within the project, whether it be projects.regions or projects.locations.\u003c/p\u003e\n"],["\u003cp\u003eVarious methods such as \u003ccode\u003ecreate\u003c/code\u003e, \u003ccode\u003edelete\u003c/code\u003e, \u003ccode\u003eget\u003c/code\u003e, \u003ccode\u003elist\u003c/code\u003e, and \u003ccode\u003eupdate\u003c/code\u003e allow for managing autoscaling policies.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.regions.autoscalingPolicies\n\n- [Resource: AutoscalingPolicy](#AutoscalingPolicy)\n - [JSON representation](#AutoscalingPolicy.SCHEMA_REPRESENTATION)\n- [Methods](#METHODS_SUMMARY)\n\nResource: AutoscalingPolicy\n---------------------------\n\nDescribes an autoscaling policy for Dataproc cluster autoscaler."]]