public sealed class BuildOptions.Types.PoolOption : IMessage<BuildOptions.Types.PoolOption>, IEquatable<BuildOptions.Types.PoolOption>, IDeepCloneable<BuildOptions.Types.PoolOption>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class BuildOptions.Types.PoolOption.
Details about how a build should be executed on a WorkerPool.
[[["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 webpage provides documentation for the \u003ccode\u003eBuildOptions.Types.PoolOption\u003c/code\u003e class within the Google Cloud Build v1 API, detailing how to configure builds to run on a specified \u003ccode\u003eWorkerPool\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version documented is 2.15.0, with a list of other versions from 2.14.0 down to 1.0.0 being accessible for the same class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePoolOption\u003c/code\u003e class allows setting a specific \u003ccode\u003eWorkerPool\u003c/code\u003e resource by name, which follows the format: \u003ccode\u003eprojects/{project}/locations/{location}/workerPools/{workerPoolId}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePoolOption\u003c/code\u003e class implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, along with inheriting members from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePoolOption\u003c/code\u003e class provides two constructors: a default constructor \u003ccode\u003ePoolOption()\u003c/code\u003e and an overload \u003ccode\u003ePoolOption(PoolOption other)\u003c/code\u003e for creating a new instance based on an existing one.\u003c/p\u003e\n"]]],[],null,[]]