Reference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::DeleteAutoscalingPolicyRequest.
A request to delete an autoscaling policy.
Autoscaling policies in use by one or more clusters will not be deleted.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#name
defname()->::String
Returns
(::String) —
Required. The "resource name" of the autoscaling policy, as described
in https://cloud.google.com/apis/design/resource_names.
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}
#name=
defname=(value)->::String
Parameter
value (::String) —
Required. The "resource name" of the autoscaling policy, as described
in https://cloud.google.com/apis/design/resource_names.
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}
Returns
(::String) —
Required. The "resource name" of the autoscaling policy, as described
in https://cloud.google.com/apis/design/resource_names.
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"]],[["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-09-04 UTC."],[],[],null,["# Cloud Dataproc V1 API - Class Google::Cloud::Dataproc::V1::DeleteAutoscalingPolicyRequest (v1.6.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.6.0 (latest)](/ruby/docs/reference/google-cloud-dataproc-v1/latest/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [1.5.0](/ruby/docs/reference/google-cloud-dataproc-v1/1.5.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [1.4.0](/ruby/docs/reference/google-cloud-dataproc-v1/1.4.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [1.3.1](/ruby/docs/reference/google-cloud-dataproc-v1/1.3.1/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-dataproc-v1/1.2.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [1.1.0](/ruby/docs/reference/google-cloud-dataproc-v1/1.1.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [1.0.2](/ruby/docs/reference/google-cloud-dataproc-v1/1.0.2/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.26.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.26.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.25.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.25.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.24.1](/ruby/docs/reference/google-cloud-dataproc-v1/0.24.1/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.23.1](/ruby/docs/reference/google-cloud-dataproc-v1/0.23.1/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.22.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.22.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.21.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.21.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.20.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.20.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.19.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.19.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.18.1](/ruby/docs/reference/google-cloud-dataproc-v1/0.18.1/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.17.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.17.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.16.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.16.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.15.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.15.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.14.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.14.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.13.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.12.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.11.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.10.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.10.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.9.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.8.0](/ruby/docs/reference/google-cloud-dataproc-v1/0.8.0/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest)\n- [0.7.1](/ruby/docs/reference/google-cloud-dataproc-v1/0.7.1/Google-Cloud-Dataproc-V1-DeleteAutoscalingPolicyRequest) \nReference documentation and code samples for the Cloud Dataproc V1 API class Google::Cloud::Dataproc::V1::DeleteAutoscalingPolicyRequest.\n\nA request to delete an autoscaling policy.\n\n\n\u003cbr /\u003e\n\nAutoscaling policies in use by one or more clusters will not be deleted. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names.\n\n - For `projects.regions.autoscalingPolicies.delete`, the resource name\n of the policy has the following format:\n `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n\n - For `projects.locations.autoscalingPolicies.delete`, the resource name\n of the policy has the following format:\n `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) ---\n\n Required. The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names.\n - For `projects.regions.autoscalingPolicies.delete`, the resource name\n of the policy has the following format:\n `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n\n - For `projects.locations.autoscalingPolicies.delete`, the resource name\n of the policy has the following format:\n `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`\n\n**Returns**\n\n- (::String) --- Required. The \"resource name\" of the autoscaling policy, as described\n in https://cloud.google.com/apis/design/resource_names.\n\n - For `projects.regions.autoscalingPolicies.delete`, the resource name\n of the policy has the following format:\n `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}`\n\n - For `projects.locations.autoscalingPolicies.delete`, the resource name\n of the policy has the following format:\n `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}`"]]