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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The content provides documentation for the `WorkerConfig` class within the `PrivatePoolV1Config.Types` namespace of the Google Cloud Build v1 API, specifically for versions ranging from 1.0.0 to 2.15.0."],["`WorkerConfig` is used to define the configuration for creating workers within a private pool, including properties like `DiskSizeGb` and `MachineType`."],["The documentation indicates that the `WorkerConfig` class inherits from `Object` and implements multiple interfaces, such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, which are designed for message handling, equality checking, deep cloning, and buffer manipulation respectively."],["The `WorkerConfig` class offers two constructors: a parameterless constructor, and one that accepts another `WorkerConfig` instance."],["`DiskSizeGb` allows defining disk size for the worker, with a maximum of 1000GB, and `MachineType` lets you specify the machine type, with both properties having default options if left blank."]]],[]]