Cloud Build v1 API - Class PrivatePoolV1Config.Types.WorkerConfig (2.1.0)

Stay organized with collections Save and categorize content based on your preferences.
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.

Inheritance

Object > PrivatePoolV1Config.Types.WorkerConfig

Namespace

Google.Cloud.CloudBuild.V1

Assembly

Google.Cloud.CloudBuild.V1.dll

Constructors

WorkerConfig()

public WorkerConfig()

WorkerConfig(PrivatePoolV1Config.Types.WorkerConfig)

public WorkerConfig(PrivatePoolV1Config.Types.WorkerConfig other)
Parameter
NameDescription
otherPrivatePoolV1Config.Types.WorkerConfig

Properties

DiskSizeGb

public long DiskSizeGb { get; set; }

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.

Property Value
TypeDescription
Int64

MachineType

public string MachineType { get; set; }

Machine type of a worker, such as e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.

Property Value
TypeDescription
String