public sealed class WorkerConfig : IMessage<PrivatePoolV1Config.Types.WorkerConfig>, IEquatable<PrivatePoolV1Config.Types.WorkerConfig>, IDeepCloneable<PrivatePoolV1Config.Types.WorkerConfig>, IBufferMessage, IMessage
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 1000. 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 a historical list of versions for the \u003ccode\u003eWorkerConfig\u003c/code\u003e class, starting from version 1.0.0 up to the latest version 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWorkerConfig\u003c/code\u003e class defines the configurations for creating workers in a private pool, which include parameters like disk size and machine type.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eWorkerConfig\u003c/code\u003e has a default constructor, as well as a constructor that takes another \u003ccode\u003eWorkerConfig\u003c/code\u003e object to create an instance.\u003c/p\u003e\n"],["\u003cp\u003eThe properties \u003ccode\u003eDiskSizeGb\u003c/code\u003e and \u003ccode\u003eMachineType\u003c/code\u003e of \u003ccode\u003eWorkerConfig\u003c/code\u003e allow specifying the disk size and machine type for workers, respectively, with defaults provided by Cloud Build if unspecified.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eWorkerConfig\u003c/code\u003e 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 members from the base \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]