1.5.0 (latest) 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

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

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

Request message for StopWorkstation.

## Inheritance

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

## Implements

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

## 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.md.txt)

## Assembly

Google.Cloud.Workstations.V1.dll

## Constructors

### StopWorkstationRequest()

    public StopWorkstationRequest()

### StopWorkstationRequest(StopWorkstationRequest)

    public StopWorkstationRequest(StopWorkstationRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `StopWorkstationRequest` |

## 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** |
| `string` |   |

### Name

    public string Name { get; set; }

Required. Name of the workstation to stop.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `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** |
| `bool` |   |

### 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.md.txt)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.StopWorkstationRequest.md.txt#Google_Cloud_Workstations_V1_StopWorkstationRequest_Name) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `WorkstationName` |   |