# Cloud Workstations v1 API - Class DeleteWorkstationClusterRequest (1.5.0)

1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

Reference documentation and code samples for the Cloud Workstations v1 API class DeleteWorkstationClusterRequest.

Message for deleting a workstation cluster.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DeleteWorkstationClusterRequest

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteWorkstationClusterRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationClusterRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteWorkstationClusterRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationClusterRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteWorkstationClusterRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationClusterRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Workstations.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1)

## Assembly

Google.Cloud.Workstations.V1.dll

## Constructors

### DeleteWorkstationClusterRequest()

    public DeleteWorkstationClusterRequest()

### DeleteWorkstationClusterRequest(DeleteWorkstationClusterRequest)

    public DeleteWorkstationClusterRequest(DeleteWorkstationClusterRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationClusterRequest` |

## Properties

### Etag

    public string Etag { get; set; }

Optional. If set, the request will be rejected if the latest version of the
workstation cluster on the server does not have this ETag.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### Force

    public bool Force { get; set; }

Optional. If set, any workstation configurations and workstations in the
workstation cluster are also deleted. Otherwise, the request only
works if the workstation cluster has no configurations or workstations.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### Name

    public string Name { get; set; }

Required. Name of the workstation cluster to delete.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ValidateOnly

    public bool ValidateOnly { get; set; }

Optional. If set, validate the request and preview the result, but do not
apply it.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### WorkstationClusterName

    public WorkstationClusterName WorkstationClusterName { get; set; }

[WorkstationClusterName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationClusterName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationClusterRequest#Google_Cloud_Workstations_V1_DeleteWorkstationClusterRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationClusterName` |   |