Reference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::DeleteAttachedClusterRequest.
Request message for AttachedClusters.DeleteAttachedCluster method.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#allow_missing
defallow_missing()->::Boolean
Returns
(::Boolean) — If set to true, and the
AttachedCluster resource
is not found, the request will succeed but no action will be taken on the
server and a completed Operation will be
returned.
Useful for idempotent deletion.
#allow_missing=
defallow_missing=(value)->::Boolean
Parameter
value (::Boolean) — If set to true, and the
AttachedCluster resource
is not found, the request will succeed but no action will be taken on the
server and a completed Operation will be
returned.
Useful for idempotent deletion.
Returns
(::Boolean) — If set to true, and the
AttachedCluster resource
is not found, the request will succeed but no action will be taken on the
server and a completed Operation will be
returned.
Allows clients to perform deletions through optimistic concurrency control.
If the provided etag does not match the current etag of the cluster,
the request will fail and an ABORTED error will be returned.
#ignore_errors
defignore_errors()->::Boolean
Returns
(::Boolean) — If set to true, the deletion of
AttachedCluster resource
will succeed even if errors occur during deleting in cluster resources.
Using this parameter may result in orphaned resources in the cluster.
#ignore_errors=
defignore_errors=(value)->::Boolean
Parameter
value (::Boolean) — If set to true, the deletion of
AttachedCluster resource
will succeed even if errors occur during deleting in cluster resources.
Using this parameter may result in orphaned resources in the cluster.
Returns
(::Boolean) — If set to true, the deletion of
AttachedCluster resource
will succeed even if errors occur during deleting in cluster resources.
Using this parameter may result in orphaned resources in the cluster.
#name
defname()->::String
Returns
(::String) — Required. The resource name the
AttachedCluster to delete.
AttachedCluster names are formatted as
projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.
See Resource Names
for more details on Google Cloud Platform resource names.
#name=
defname=(value)->::String
Parameter
value (::String) — Required. The resource name the
AttachedCluster to delete.
AttachedCluster names are formatted as
projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.
See Resource Names
for more details on Google Cloud Platform resource names.
Returns
(::String) — Required. The resource name the
AttachedCluster to delete.
AttachedCluster names are formatted as
projects/<project-id>/locations/<region>/attachedClusters/<cluster-id>.
See Resource Names
for more details on Google Cloud Platform resource names.
#validate_only
defvalidate_only()->::Boolean
Returns
(::Boolean) — If set, only validate the request, but do not actually delete the resource.
#validate_only=
defvalidate_only=(value)->::Boolean
Parameter
value (::Boolean) — If set, only validate the request, but do not actually delete the resource.
Returns
(::Boolean) — If set, only validate the request, but do not actually delete the resource.
[[["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,["# Anthos Multi-Cloud V1 API - Class Google::Cloud::GkeMultiCloud::V1::DeleteAttachedClusterRequest (v0.15.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.15.0 (latest)](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.14.1](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.14.1/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.13.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.13.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.12.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.12.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.11.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.11.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.10.1](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.10.1/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.9.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.9.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.8.2](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.8.2/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.7.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.7.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.6.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.6.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.5.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.4.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.3.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.2.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest)\n- [0.1.0](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/0.1.0/Google-Cloud-GkeMultiCloud-V1-DeleteAttachedClusterRequest) \nReference documentation and code samples for the Anthos Multi-Cloud V1 API class Google::Cloud::GkeMultiCloud::V1::DeleteAttachedClusterRequest.\n\nRequest message for `AttachedClusters.DeleteAttachedCluster` method. \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### #allow_missing\n\n def allow_missing() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- If set to true, and the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Longrunning-Operation \"Google::Longrunning::Operation (class)\") will be returned.\n\n\n Useful for idempotent deletion.\n\n### #allow_missing=\n\n def allow_missing=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- If set to true, and the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Longrunning-Operation \"Google::Longrunning::Operation (class)\") will be returned.\n\n\nUseful for idempotent deletion. \n**Returns**\n\n- (::Boolean) --- If set to true, and the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Longrunning-Operation \"Google::Longrunning::Operation (class)\") will be returned.\n\n\n Useful for idempotent deletion.\n\n### #etag\n\n def etag() -\u003e ::String\n\n**Returns**\n\n- (::String) --- The current etag of the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\").\n\n\n Allows clients to perform deletions through optimistic concurrency control.\n\n If the provided etag does not match the current etag of the cluster,\n the request will fail and an ABORTED error will be returned.\n\n### #etag=\n\n def etag=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- The current etag of the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\").\n\n\n Allows clients to perform deletions through optimistic concurrency control.\n\n If the provided etag does not match the current etag of the cluster,\nthe request will fail and an ABORTED error will be returned. \n**Returns**\n\n- (::String) --- The current etag of the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\").\n\n\n Allows clients to perform deletions through optimistic concurrency control.\n\n If the provided etag does not match the current etag of the cluster,\n the request will fail and an ABORTED error will be returned.\n\n### #ignore_errors\n\n def ignore_errors() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- If set to true, the deletion of [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.\n\n### #ignore_errors=\n\n def ignore_errors=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- If set to true, the deletion of [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster. \n**Returns**\n\n- (::Boolean) --- If set to true, the deletion of [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.\n\n### #name\n\n def name() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The resource name the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") to delete.\n\n\n `AttachedCluster` names are formatted as\n `projects/\u003cproject-id\u003e/locations/\u003cregion\u003e/attachedClusters/\u003ccluster-id\u003e`.\n\n See [Resource Names](https://cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud Platform resource names.\n\n### #name=\n\n def name=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The resource name the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") to delete.\n\n\n `AttachedCluster` names are formatted as\n `projects/\u003cproject-id\u003e/locations/\u003cregion\u003e/attachedClusters/\u003ccluster-id\u003e`.\n\n See [Resource Names](https://cloud.google.com/apis/design/resource_names)\nfor more details on Google Cloud Platform resource names. \n**Returns**\n\n- (::String) --- Required. The resource name the [AttachedCluster](/ruby/docs/reference/google-cloud-gke_multi_cloud-v1/latest/Google-Cloud-GkeMultiCloud-V1-AttachedCluster \"Google::Cloud::GkeMultiCloud::V1::AttachedCluster (class)\") to delete.\n\n\n `AttachedCluster` names are formatted as\n `projects/\u003cproject-id\u003e/locations/\u003cregion\u003e/attachedClusters/\u003ccluster-id\u003e`.\n\n See [Resource Names](https://cloud.google.com/apis/design/resource_names)\n for more details on Google Cloud Platform resource names.\n\n### #validate_only\n\n def validate_only() -\u003e ::Boolean\n\n**Returns**\n\n- (::Boolean) --- If set, only validate the request, but do not actually delete the resource.\n\n### #validate_only=\n\n def validate_only=(value) -\u003e ::Boolean\n\n**Parameter**\n\n- **value** (::Boolean) --- If set, only validate the request, but do not actually delete the resource. \n**Returns**\n\n- (::Boolean) --- If set, only validate the request, but do not actually delete the resource."]]