public sealed class DeleteAutoscalingPolicyRequest : IMessage<DeleteAutoscalingPolicyRequest>, IEquatable<DeleteAutoscalingPolicyRequest>, IDeepCloneable<DeleteAutoscalingPolicyRequest>, IBufferMessage, IMessage
A request to delete an autoscaling policy.
Autoscaling policies in use by one or more clusters will not be deleted.
For projects.regions.autoscalingPolicies.delete, the resource name
of the policy has the following format:
projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}
For projects.locations.autoscalingPolicies.delete, the resource name
of the policy has the following format:
projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class within the Google Cloud Dataproc V1 API, specifically for version 3.2.0 and upwards, used for requesting the deletion of an autoscaling policy.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage lists various versions of the API, from 5.17.0 (latest) down to 3.1.0, each linking to documentation for the \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e in that specific version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class has two constructors, a default one, and one that takes another \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e object, as well as two properties: \u003ccode\u003eAutoscalingPolicyName\u003c/code\u003e, of type \u003ccode\u003eAutoscalingPolicyName\u003c/code\u003e and \u003ccode\u003eName\u003c/code\u003e of type string, which is the policy's resource name.\u003c/p\u003e\n"],["\u003cp\u003eAutoscaling policies that are currently in use by one or more clusters cannot be deleted, and trying to do so will be unsuccessful.\u003c/p\u003e\n"]]],[],null,[]]