For projects.regions.autoscalingPolicies.create, the resource name of the region has the following format: projects/{projectId}/regions/{region}
For projects.locations.autoscalingPolicies.create, the resource name of the location has the following format: projects/{projectId}/locations/{location}
Authorization requires the following IAM permission on the specified resource parent:
[[["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-02-27 UTC."],[[["This page details the process for creating a new autoscaling policy using a POST request."],["The request URL follows gRPC Transcoding syntax and requires specifying the `parent` path parameter, which represents the resource name of the region or location."],["The request body must include an instance of `AutoscalingPolicy`, while the response body returns a newly created `AutoscalingPolicy` instance upon success."],["Creating an autoscaling policy requires `dataproc.autoscalingPolicies.create` IAM permission on the specified parent resource, along with the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]