public sealed class DeleteWorkstationConfigRequest : IMessage<DeleteWorkstationConfigRequest>, IEquatable<DeleteWorkstationConfigRequest>, IDeepCloneable<DeleteWorkstationConfigRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Workstations v1 API class DeleteWorkstationConfigRequest.
Optional. If set, any workstations in the workstation configuration are
also deleted. Otherwise, the request works only if the workstation
configuration has no workstations.
[[["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 document provides reference information for the \u003ccode\u003eDeleteWorkstationConfigRequest\u003c/code\u003e class within the Cloud Workstations v1 API, used for deleting a workstation configuration.\u003c/p\u003e\n"],["\u003cp\u003eThe 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteWorkstationConfigRequest\u003c/code\u003e class has properties such as \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eForce\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eValidateOnly\u003c/code\u003e, and \u003ccode\u003eWorkstationConfigName\u003c/code\u003e, which are used to define the deletion parameters.\u003c/p\u003e\n"],["\u003cp\u003eConstructors are available to create a new \u003ccode\u003eDeleteWorkstationConfigRequest\u003c/code\u003e instance or copy an existing one.\u003c/p\u003e\n"],["\u003cp\u003eThere are currently four versions available for the \u003ccode\u003eDeleteWorkstationConfigRequest\u003c/code\u003e, from v1.0.0 up to the latest v1.3.0.\u003c/p\u003e\n"]]],[],null,["# Cloud Workstations v1 API - Class DeleteWorkstationConfigRequest (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.DeleteWorkstationConfigRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.2.0/Google.Cloud.Workstations.V1.DeleteWorkstationConfigRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.1.0/Google.Cloud.Workstations.V1.DeleteWorkstationConfigRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Workstations.V1/1.0.0/Google.Cloud.Workstations.V1.DeleteWorkstationConfigRequest) \n\n public sealed class DeleteWorkstationConfigRequest : IMessage\u003cDeleteWorkstationConfigRequest\u003e, IEquatable\u003cDeleteWorkstationConfigRequest\u003e, IDeepCloneable\u003cDeleteWorkstationConfigRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Workstations v1 API class DeleteWorkstationConfigRequest.\n\nMessage for deleting a workstation configuration. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteWorkstationConfigRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteWorkstationConfigRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationConfigRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteWorkstationConfigRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationConfigRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteWorkstationConfigRequest](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationConfigRequest), [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### DeleteWorkstationConfigRequest()\n\n public DeleteWorkstationConfigRequest()\n\n### DeleteWorkstationConfigRequest(DeleteWorkstationConfigRequest)\n\n public DeleteWorkstationConfigRequest(DeleteWorkstationConfigRequest other)\n\nProperties\n----------\n\n### Etag\n\n public string Etag { get; set; }\n\nOptional. If set, the request is rejected if the latest version of the\nworkstation configuration on the server does not have this ETag.\n\n### Force\n\n public bool Force { get; set; }\n\nOptional. If set, any workstations in the workstation configuration are\nalso deleted. Otherwise, the request works only if the workstation\nconfiguration has no workstations.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Name of the workstation configuration to delete.\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### WorkstationConfigName\n\n public WorkstationConfigName WorkstationConfigName { get; set; }\n\n[WorkstationConfigName](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.WorkstationConfigName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Workstations.V1/latest/Google.Cloud.Workstations.V1.DeleteWorkstationConfigRequest#Google_Cloud_Workstations_V1_DeleteWorkstationConfigRequest_Name) resource name property."]]