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 execute builds on a \u003ccode\u003eWorkerPool\u003c/code\u003e.\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, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation lists all available versions of \u003ccode\u003ePoolOption\u003c/code\u003e documentation from 1.0.0 to 2.15.0, with the latest release being 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has a \u003ccode\u003eName\u003c/code\u003e property, which specifies the \u003ccode\u003eWorkerPool\u003c/code\u003e resource for executing the build and requires \u003ccode\u003ecloudbuild.workerpools.use\u003c/code\u003e permission on the project.\u003c/p\u003e\n"],["\u003cp\u003eThe webpage provides information on the constructors of the \u003ccode\u003ePoolOption\u003c/code\u003e class, listing both the default constructor and one that takes a \u003ccode\u003ePoolOption\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"]]],[],null,[]]