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\u003eThe latest version available for \u003ccode\u003eBuildOptions.Types.PoolOption\u003c/code\u003e is 2.15.0, with previous versions ranging down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBuildOptions.Types.PoolOption\u003c/code\u003e is a class within the Cloud Build v1 API used to define how a build is executed on a \u003ccode\u003eWorkerPool\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis 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, and inherits from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePoolOption\u003c/code\u003e class has a property called \u003ccode\u003eName\u003c/code\u003e which designates the \u003ccode\u003eWorkerPool\u003c/code\u003e to execute the build on, and this property also has a typed view called \u003ccode\u003eWorkerPoolName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can use the \u003ccode\u003ePoolOption()\u003c/code\u003e constructor or the \u003ccode\u003ePoolOption(BuildOptions.Types.PoolOption other)\u003c/code\u003e to initiate the class.\u003c/p\u003e\n"]]],[],null,[]]