public sealed class UpdateWorkerPoolRequest : IMessage<UpdateWorkerPoolRequest>, IEquatable<UpdateWorkerPoolRequest>, IDeepCloneable<UpdateWorkerPoolRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Run Admin v2 API class UpdateWorkerPoolRequest.
Optional. If set to true, and if the WorkerPool does not exist, it will
create a new one. The caller must have 'run.workerpools.create' permissions
if this is set to true and the WorkerPool does not exist.
Optional. If set to true, a new revision will be created from the template
even if the system doesn't detect any changes from the previously deployed
revision.
This may be useful for cases where the underlying resources need to be
recreated or reinitialized. For example if the image is specified by label,
but the underlying image digest has changed) or if the container performs
deployment initialization work that needs to be performed again.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Run Admin v2 API - Class UpdateWorkerPoolRequest (2.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.16.0 (latest)](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.15.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.15.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.14.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.14.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.13.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.13.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.12.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.12.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.11.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.11.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.10.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.10.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.9.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.9.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.8.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.8.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.7.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.7.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.6.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.6.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.5.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.4.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.3.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.2.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.1.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Run.V2/2.0.0/Google.Cloud.Run.V2.UpdateWorkerPoolRequest)\n- [1.0.0-beta02](/dotnet/docs/reference/Google.Cloud.Run.V2/1.0.0-beta02/Google.Cloud.Run.V2.UpdateWorkerPoolRequest) \n\n public sealed class UpdateWorkerPoolRequest : IMessage\u003cUpdateWorkerPoolRequest\u003e, IEquatable\u003cUpdateWorkerPoolRequest\u003e, IDeepCloneable\u003cUpdateWorkerPoolRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Run Admin v2 API class UpdateWorkerPoolRequest.\n\nRequest message for updating a worker pool. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateWorkerPoolRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateWorkerPoolRequest](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.UpdateWorkerPoolRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateWorkerPoolRequest](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.UpdateWorkerPoolRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateWorkerPoolRequest](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2.UpdateWorkerPoolRequest), [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.Run.V2](/dotnet/docs/reference/Google.Cloud.Run.V2/latest/Google.Cloud.Run.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Run.V2.dll\n\nConstructors\n------------\n\n### UpdateWorkerPoolRequest()\n\n public UpdateWorkerPoolRequest()\n\n### UpdateWorkerPoolRequest(UpdateWorkerPoolRequest)\n\n public UpdateWorkerPoolRequest(UpdateWorkerPoolRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nOptional. If set to true, and if the WorkerPool does not exist, it will\ncreate a new one. The caller must have 'run.workerpools.create' permissions\nif this is set to true and the WorkerPool does not exist.\n\n### ForceNewRevision\n\n public bool ForceNewRevision { get; set; }\n\nOptional. If set to true, a new revision will be created from the template\neven if the system doesn't detect any changes from the previously deployed\nrevision.\n\nThis may be useful for cases where the underlying resources need to be\nrecreated or reinitialized. For example if the image is specified by label,\nbut the underlying image digest has changed) or if the container performs\ndeployment initialization work that needs to be performed again.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nOptional. The list of fields to be updated.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nOptional. Indicates that the request should be validated and default values\npopulated, without persisting the request or updating any resources.\n\n### WorkerPool\n\n public WorkerPool WorkerPool { get; set; }\n\nRequired. The WorkerPool to be updated."]]