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 endpoint facilitates the creation of a new autoscaling policy within a specified project and region or location."],["The HTTP request uses the `POST` method with a URL that follows gRPC Transcoding syntax, requiring a parent parameter in the path."],["The `parent` path parameter is mandatory and defines the region or location for the autoscaling policy, with specific format requirements for each type."],["The request body must include an instance of `AutoscalingPolicy`, and a successful response will return a newly created instance of `AutoscalingPolicy`."],["Authorization to create an autoscaling policy requires the `dataproc.autoscalingPolicies.create` IAM permission on the parent resource, along with the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]