public sealed class UpdateWorkstationRequest : IMessage<UpdateWorkstationRequest>, IEquatable<UpdateWorkstationRequest>, IDeepCloneable<UpdateWorkstationRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Workstations v1 API class UpdateWorkstationRequest.
Optional. If set and the workstation configuration is not found, a new
workstation configuration is created. In this situation, update_mask
is ignored.
[[["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\u003eThis page provides reference documentation for the \u003ccode\u003eUpdateWorkstationRequest\u003c/code\u003e class within the Cloud Workstations v1 API, specifically for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateWorkstationRequest\u003c/code\u003e is used to send a request for updating a workstation, inheriting from \u003ccode\u003eobject\u003c/code\u003e and implementing multiple interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateWorkstationRequest\u003c/code\u003e class includes properties like \u003ccode\u003eAllowMissing\u003c/code\u003e, \u003ccode\u003eUpdateMask\u003c/code\u003e, \u003ccode\u003eValidateOnly\u003c/code\u003e, and \u003ccode\u003eWorkstation\u003c/code\u003e, which allow for specifying the update behavior, mask fields to be updated, validation status, and the workstation to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this API is 1.3.0, however there are older versions that are also available and documented: 1.2.0, 1.1.0, and 1.0.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Workstations v1 API - Class UpdateWorkstationRequest (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.UpdateWorkstationRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.2.0/Google.Cloud.Workstations.V1.UpdateWorkstationRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.1.0/Google.Cloud.Workstations.V1.UpdateWorkstationRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.0.0/Google.Cloud.Workstations.V1.UpdateWorkstationRequest) \n\n public sealed class UpdateWorkstationRequest : IMessage\u003cUpdateWorkstationRequest\u003e, IEquatable\u003cUpdateWorkstationRequest\u003e, IDeepCloneable\u003cUpdateWorkstationRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Workstations v1 API class UpdateWorkstationRequest.\n\nRequest message for UpdateWorkstation. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateWorkstationRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateWorkstationRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.UpdateWorkstationRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateWorkstationRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.UpdateWorkstationRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateWorkstationRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.UpdateWorkstationRequest), [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### UpdateWorkstationRequest()\n\n public UpdateWorkstationRequest()\n\n### UpdateWorkstationRequest(UpdateWorkstationRequest)\n\n public UpdateWorkstationRequest(UpdateWorkstationRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nOptional. If set and the workstation configuration is not found, a new\nworkstation configuration is created. In this situation, update_mask\nis ignored.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. Mask specifying which fields in the workstation configuration\nshould be updated.\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### Workstation\n\n public Workstation Workstation { get; set; }\n\nRequired. Workstation to update."]]