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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eStopWorkstationRequest\u003c/code\u003e class is part of the Google Cloud Workstations v1 API and is used to request the stopping of a workstation.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in message handling and data manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStopWorkstationRequest\u003c/code\u003e has properties such as \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eValidateOnly\u003c/code\u003e, and \u003ccode\u003eWorkstationName\u003c/code\u003e, which are used to specify the workstation to be stopped and control the stopping operation.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the \u003ccode\u003eStopWorkstationRequest\u003c/code\u003e available, with the latest version being 1.3.0.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are available for the class, one being parameterless, and one taking another instance of the same class as a parameter.\u003c/p\u003e\n"]]],[],null,["# Cloud Workstations v1 API - Class StopWorkstationRequest (1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.StopWorkstationRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.2.0/Google.Cloud.Workstations.V1.StopWorkstationRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.1.0/Google.Cloud.Workstations.V1.StopWorkstationRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.0.0/Google.Cloud.Workstations.V1.StopWorkstationRequest) \n\n public sealed class StopWorkstationRequest : IMessage\u003cStopWorkstationRequest\u003e, IEquatable\u003cStopWorkstationRequest\u003e, IDeepCloneable\u003cStopWorkstationRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Workstations v1 API class StopWorkstationRequest.\n\nRequest message for StopWorkstation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StopWorkstationRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StopWorkstationRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.StopWorkstationRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StopWorkstationRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.StopWorkstationRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StopWorkstationRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.StopWorkstationRequest), [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) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Workstations.V1](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Workstations.V1.dll\n\nConstructors\n------------\n\n### StopWorkstationRequest()\n\n public StopWorkstationRequest()\n\n### StopWorkstationRequest(StopWorkstationRequest)\n\n public StopWorkstationRequest(StopWorkstationRequest other)\n\nProperties\n----------\n\n### Etag\n\n public string Etag { get; set; }\n\nOptional. If set, the request will be rejected if the latest version of the\nworkstation on the server does not have this ETag.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Name of the workstation to stop.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nOptional. If set, validate the request and preview the review, but do not\nactually apply it.\n\n### WorkstationName\n\n public WorkstationName WorkstationName { get; set; }\n\n[WorkstationName](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.StopWorkstationRequest#Google_Cloud_Workstations_V1_StopWorkstationRequest_Name) resource name property."]]