public sealed class 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 reference documentation for the \u003ccode\u003eBuildOptions.Types.PoolOption\u003c/code\u003e class within the Google Cloud Build v1 API, detailing its role in executing builds on a \u003ccode\u003eWorkerPool\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class is available across multiple versions, from 1.0.0 to the latest 2.15.0, and each version has its own specific documentation link provided.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePoolOption\u003c/code\u003e 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, indicating its integration within the Google.Protobuf framework.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePoolOption\u003c/code\u003e class has properties such as \u003ccode\u003eName\u003c/code\u003e, which specifies the \u003ccode\u003eWorkerPool\u003c/code\u003e resource used to execute a build, requiring the \u003ccode\u003ecloudbuild.workerpools.use\u003c/code\u003e permission.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage also provides information on the constructors of the \u003ccode\u003ePoolOption\u003c/code\u003e class, including a default constructor and one that accepts another \u003ccode\u003ePoolOption\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]