Class WorkerConfig
Defines the configuration to be used for creating workers in the pool.
Implements
Inherited Members
Namespace: Google.Apis.CloudBuild.v1.Data
Assembly: Google.Apis.CloudBuild.v1.dll
Syntax
public class WorkerConfig : IDirectResponseSchema
Properties
DiskSizeGb
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.
Declaration
[JsonProperty("diskSizeGb")]
public virtual long? DiskSizeGb { get; set; }
Property Value
Type | Description |
---|---|
long? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MachineType
Optional. Machine type of a worker, such as e2-medium
. See Worker pool config
file. If left blank,
Cloud Build will use a sensible default.
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
Type | Description |
---|---|
string |