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 information for the \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class in the Google Cloud Dataproc v1 API, including its constructors, properties, and implementation details.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class is used to request the deletion of an autoscaling policy, and it is part of a larger set of API versions ranging from 3.1.0 to the latest 5.17.0.\u003c/p\u003e\n"],["\u003cp\u003eDeleting autoscaling policies using \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e is subject to the constraint that they are not in use by any clusters.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteAutoscalingPolicyRequest\u003c/code\u003e class requires the resource name of the policy to be deleted, formatted according to Google Cloud API resource name conventions, which is accessed through either the string \u003ccode\u003eName\u003c/code\u003e property or the \u003ccode\u003eAutoscalingPolicyName\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eThis page also contains a variety of previous version of the API that may be used, going back as far as version 3.1.0.\u003c/p\u003e\n"]]],[],null,[]]