public sealed class 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 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 documentation for the \u003ccode\u003eWorkerConfig\u003c/code\u003e class within the \u003ccode\u003ePrivatePoolV1Config.Types\u003c/code\u003e namespace of the Google Cloud Build v1 API, specifically for versions ranging from 1.0.0 to 2.15.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eWorkerConfig\u003c/code\u003e is used to define the configuration for creating workers within a private pool, including properties like \u003ccode\u003eDiskSizeGb\u003c/code\u003e and \u003ccode\u003eMachineType\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation indicates that the \u003ccode\u003eWorkerConfig\u003c/code\u003e class inherits from \u003ccode\u003eObject\u003c/code\u003e and implements multiple interfaces, such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, which are designed for message handling, equality checking, deep cloning, and buffer manipulation respectively.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eWorkerConfig\u003c/code\u003e class offers two constructors: a parameterless constructor, and one that accepts another \u003ccode\u003eWorkerConfig\u003c/code\u003e instance.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDiskSizeGb\u003c/code\u003e allows defining disk size for the worker, with a maximum of 1000GB, and \u003ccode\u003eMachineType\u003c/code\u003e lets you specify the machine type, with both properties having default options if left blank.\u003c/p\u003e\n"]]],[],null,[]]