[[["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-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eWorkerPoolSpec\u003c/code\u003e class in the Vertex AI v1beta1 API represents the configuration of a worker pool within a job.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.AIPlatform.V1Beta1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWorkerPoolSpec\u003c/code\u003e includes properties for defining the container, disk, machine, and other specifications such as the number of worker replicas and NFS mounts.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkerPoolSpec\u003c/code\u003e supports both custom container tasks via \u003ccode\u003eContainerSpec\u003c/code\u003e and Python packaged tasks through \u003ccode\u003ePythonPackageSpec\u003c/code\u003e.\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, providing functionalities for serialization, equality checking, deep cloning, and buffer management.\u003c/p\u003e\n"]]],[],null,["# Vertex AI v1beta1 API - Class WorkerPoolSpec (1.0.0-beta47)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta47 (latest)](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.WorkerPoolSpec)\n- [1.0.0-beta46](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/1.0.0-beta46/Google.Cloud.AIPlatform.V1Beta1.WorkerPoolSpec) \n\n public sealed class WorkerPoolSpec : IMessage\u003cWorkerPoolSpec\u003e, IEquatable\u003cWorkerPoolSpec\u003e, IDeepCloneable\u003cWorkerPoolSpec\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Vertex AI v1beta1 API class WorkerPoolSpec.\n\nRepresents the spec of a worker pool in a job. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WorkerPoolSpec \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WorkerPoolSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.WorkerPoolSpec), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WorkerPoolSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.WorkerPoolSpec), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WorkerPoolSpec](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.WorkerPoolSpec), [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.AIPlatform.V1Beta1](/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)\n\nAssembly\n--------\n\nGoogle.Cloud.AIPlatform.V1Beta1.dll\n\nConstructors\n------------\n\n### WorkerPoolSpec()\n\n public WorkerPoolSpec()\n\n### WorkerPoolSpec(WorkerPoolSpec)\n\n public WorkerPoolSpec(WorkerPoolSpec other)\n\nProperties\n----------\n\n### ContainerSpec\n\n public ContainerSpec ContainerSpec { get; set; }\n\nThe custom container task.\n\n### DiskSpec\n\n public DiskSpec DiskSpec { get; set; }\n\nDisk spec.\n\n### MachineSpec\n\n public MachineSpec MachineSpec { get; set; }\n\nOptional. Immutable. The specification of a single machine.\n\n### NfsMounts\n\n public RepeatedField\u003cNfsMount\u003e NfsMounts { get; }\n\nOptional. List of NFS mount spec.\n\n### PythonPackageSpec\n\n public PythonPackageSpec PythonPackageSpec { get; set; }\n\nThe Python packaged task.\n\n### ReplicaCount\n\n public long ReplicaCount { get; set; }\n\nOptional. The number of worker replicas to use for this worker pool.\n\n### TaskCase\n\n public WorkerPoolSpec.TaskOneofCase TaskCase { get; }"]]