public sealed class PrivatePoolV1Config.Types.WorkerConfig : IMessage<PrivatePoolV1Config.Types.WorkerConfig>, IEquatable<PrivatePoolV1Config.Types.WorkerConfig>, IDeepCloneable<PrivatePoolV1Config.Types.WorkerConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class PrivatePoolV1Config.Types.WorkerConfig.
Defines the configuration to be used for creating workers in
the pool.
Size of the disk attached to the worker, in GB.
See Worker pool config
file.
Specify a value of up to 2000. If 0 is specified, Cloud Build will use
a standard disk size.
[[["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 content provides reference documentation for the \u003ccode\u003ePrivatePoolV1Config.Types.WorkerConfig\u003c/code\u003e class within the Cloud Build v1 API.\u003c/p\u003e\n"],["\u003cp\u003eIt lists various versions of the API, ranging from version 1.0.0 to the latest version 2.15.0, each with a link to its documentation for the \u003ccode\u003eWorkerConfig\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkerConfig\u003c/code\u003e class defines the configuration for creating workers in a pool, implementing several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eWorkerConfig\u003c/code\u003e class include \u003ccode\u003eDiskSizeGb\u003c/code\u003e, which specifies the size of the disk attached to the worker, and \u003ccode\u003eMachineType\u003c/code\u003e, which defines the machine type of the worker.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkerConfig\u003c/code\u003e class has a default constructor and a constructor that accepts another \u003ccode\u003eWorkerConfig\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]