# Cloud Workstations v1 API - Class DeleteWorkstationRequest (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 DeleteWorkstationRequest : IMessage<DeleteWorkstationRequest>, IEquatable<DeleteWorkstationRequest>, IDeepCloneable<DeleteWorkstationRequest>, IBufferMessage, IMessage

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

Request message for DeleteWorkstation.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteWorkstationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteWorkstationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteWorkstationRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationRequest), [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

### DeleteWorkstationRequest()

    public DeleteWorkstationRequest()

### DeleteWorkstationRequest(DeleteWorkstationRequest)

    public DeleteWorkstationRequest(DeleteWorkstationRequest other)

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

## Properties

### Etag

    public string Etag { get; set; }

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

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

### Name

    public string Name { get; set; }

Required. Name of the workstation 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
actually apply it.

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

### WorkstationName

    public WorkstationName WorkstationName { get; set; }

[WorkstationName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationRequest#Google_Cloud_Workstations_V1_DeleteWorkstationRequest_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.WorkstationName` |   |