Anthos Multi-Cloud v1 API - Class DeleteAttachedClusterRequest (2.5.0)

public sealed class DeleteAttachedClusterRequest : IMessage<DeleteAttachedClusterRequest>, IEquatable<DeleteAttachedClusterRequest>, IDeepCloneable<DeleteAttachedClusterRequest>, IBufferMessage, IMessage

Reference documentation and code samples for the Anthos Multi-Cloud v1 API class DeleteAttachedClusterRequest.

Request message for AttachedClusters.DeleteAttachedCluster method.

Inheritance

object > DeleteAttachedClusterRequest

Namespace

Google.Cloud.GkeMultiCloud.V1

Assembly

Google.Cloud.GkeMultiCloud.V1.dll

Constructors

DeleteAttachedClusterRequest()

public DeleteAttachedClusterRequest()

DeleteAttachedClusterRequest(DeleteAttachedClusterRequest)

public DeleteAttachedClusterRequest(DeleteAttachedClusterRequest other)
Parameter
Name Description
other DeleteAttachedClusterRequest

Properties

AllowMissing

public bool AllowMissing { get; set; }

If set to true, and the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource is not found, the request will succeed but no action will be taken on the server and a completed [Operation][google.longrunning.Operation] will be returned.

Useful for idempotent deletion.

Property Value
Type Description
bool

AttachedClusterName

public AttachedClusterName AttachedClusterName { get; set; }

AttachedClusterName-typed view over the Name resource name property.

Property Value
Type Description
AttachedClusterName

Etag

public string Etag { get; set; }

The current etag of the [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster].

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.

Property Value
Type Description
string

IgnoreErrors

public bool IgnoreErrors { get; set; }

If set to true, the deletion of [AttachedCluster][google.cloud.gkemulticloud.v1.AttachedCluster] resource will succeed even if errors occur during deleting in cluster resources. Using this parameter may result in orphaned resources in the cluster.

Property Value
Type Description
bool

Name

public string Name { get; set; }

Required. The resource name the [AttachedCluster][google.cloud.gkemulticloud.v1.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.

Property Value
Type Description
string

ValidateOnly

public bool ValidateOnly { get; set; }

If set, only validate the request, but do not actually delete the resource.

Property Value
Type Description
bool