public sealed class DeleteAutoscalingPolicyRequest : IMessage<DeleteAutoscalingPolicyRequest>, IEquatable<DeleteAutoscalingPolicyRequest>, IDeepCloneable<DeleteAutoscalingPolicyRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class DeleteAutoscalingPolicyRequest.
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 document provides reference documentation for the \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class in the Google Cloud Dataproc v1 API, detailing its purpose, inheritance, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available for the \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class is 5.17.0, with multiple older versions listed, ranging back to version 3.1.0, all linked to their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class is used to initiate a request to delete an autoscaling policy, with a warning that policies in use by clusters cannot be deleted.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e include \u003ccode\u003eName\u003c/code\u003e for the resource name of the autoscaling policy, and \u003ccode\u003eAutoscalingPolicyName\u003c/code\u003e which is the typed view over the \u003ccode\u003eName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation specifies that the resource name format varies slightly depending on whether it's accessed via \u003ccode\u003eprojects.regions.autoscalingPolicies.delete\u003c/code\u003e or \u003ccode\u003eprojects.locations.autoscalingPolicies.delete\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]