public sealed class PoolOption : IMessage<BuildOptions.Types.PoolOption>, IEquatable<BuildOptions.Types.PoolOption>, IDeepCloneable<BuildOptions.Types.PoolOption>, IBufferMessage, IMessage
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 details the \u003ccode\u003ePoolOption\u003c/code\u003e class, which is used to configure how a build is executed on a \u003ccode\u003eWorkerPool\u003c/code\u003e within the Google Cloud Build environment.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003ePoolOption\u003c/code\u003e is accessible under version 2.15.0, with historical versions listed down to 1.0.0, each linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePoolOption\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e to provide functionality and define it's role in the system.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePoolOption\u003c/code\u003e class contains a \u003ccode\u003eName\u003c/code\u003e property that specifies the \u003ccode\u003eWorkerPool\u003c/code\u003e resource where the build will be executed, requiring the \u003ccode\u003ecloudbuild.workerpools.use\u003c/code\u003e permission on the project hosting the \u003ccode\u003eWorkerPool\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThis page contains details on the constructors available to the class, allowing for a empty constructor and a constructor that accepts another instance of itself, along with the assembly and namespace it lives in.\u003c/p\u003e\n"]]],[],null,[]]