Anthos Multi-Cloud v1 API - Class DeleteAttachedClusterRequest (2.1.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
NameDescription
otherDeleteAttachedClusterRequest

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
TypeDescription
Boolean

AttachedClusterName

public AttachedClusterName AttachedClusterName { get; set; }

AttachedClusterName-typed view over the Name resource name property.

Property Value
TypeDescription
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
TypeDescription
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
TypeDescription
Boolean

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 GCP resource names.

Property Value
TypeDescription
String

ValidateOnly

public bool ValidateOnly { get; set; }

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

Property Value
TypeDescription
Boolean