public sealed class DeleteWorkerPoolRequest : IMessage<DeleteWorkerPoolRequest>, IEquatable<DeleteWorkerPoolRequest>, IDeepCloneable<DeleteWorkerPoolRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class DeleteWorkerPoolRequest.
[[["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-19 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eDeleteWorkerPoolRequest\u003c/code\u003e class within the Google Cloud Build v1 API, detailing its properties, inheritance, and implementation of various interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteWorkerPoolRequest\u003c/code\u003e class is used to send a request to delete a specified \u003ccode\u003eWorkerPool\u003c/code\u003e in Google Cloud Build, with version \u003ccode\u003e2.15.0\u003c/code\u003e being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe document lists several versions of the API, ranging from version 1.0.0 all the way to the latest, 2.15.0, giving users the option to see the documentation for other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDeleteWorkerPoolRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eAllowMissing\u003c/code\u003e, \u003ccode\u003eEtag\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eValidateOnly\u003c/code\u003e, and \u003ccode\u003eWorkerPoolName\u003c/code\u003e, allowing for detailed configuration of the worker pool deletion request.\u003c/p\u003e\n"],["\u003cp\u003eThe worker pool is able to be deleted by using the specified format of: \u003ccode\u003eprojects/{project}/locations/{location}/workerPools/{workerPool}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Build v1 API - Class DeleteWorkerPoolRequest (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.15.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.14.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.13.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.12.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.11.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.10.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.9.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.8.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.7.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.6.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.5.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.4.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.3.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.2.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.1.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/2.0.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.4.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.3.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.2.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.1.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/1.0.0/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest) \n\n public sealed class DeleteWorkerPoolRequest : IMessage\u003cDeleteWorkerPoolRequest\u003e, IEquatable\u003cDeleteWorkerPoolRequest\u003e, IDeepCloneable\u003cDeleteWorkerPoolRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Build v1 API class DeleteWorkerPoolRequest.\n\nRequest to delete a `WorkerPool`. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DeleteWorkerPoolRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DeleteWorkerPoolRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DeleteWorkerPoolRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DeleteWorkerPoolRequest](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest), [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.CloudBuild.V1](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.CloudBuild.V1.dll\n\nConstructors\n------------\n\n### DeleteWorkerPoolRequest()\n\n public DeleteWorkerPoolRequest()\n\n### DeleteWorkerPoolRequest(DeleteWorkerPoolRequest)\n\n public DeleteWorkerPoolRequest(DeleteWorkerPoolRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nIf set to true, and the `WorkerPool` is not found, the request will succeed\nbut no action will be taken on the server.\n\n### Etag\n\n public string Etag { get; set; }\n\nOptional. If provided, it must match the server's etag on the workerpool\nfor the request to be processed.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. The name of the `WorkerPool` to delete.\nFormat:\n`projects/{project}/locations/{location}/workerPools/{workerPool}`.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nIf set, validate the request and preview the response, but do not actually\npost it.\n\n### WorkerPoolName\n\n public WorkerPoolName WorkerPoolName { get; set; }\n\n[WorkerPoolName](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.WorkerPoolName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.CloudBuild.V1/latest/Google.Cloud.CloudBuild.V1.DeleteWorkerPoolRequest#Google_Cloud_CloudBuild_V1_DeleteWorkerPoolRequest_Name) resource name property."]]