Class WorkerConfig
Defines the configuration to be used for creating workers in the pool.
Inheritance
System.Object
WorkerConfig
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudBuild.v1beta1.Data
Assembly: Google.Apis.CloudBuild.v1beta1.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 1000. 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 |
---|---|
System.Nullable<System.Int64> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MachineType
Machine type of a worker, such as n1-standard-1
. See Worker pool config
file. If left blank,
Cloud Build will use n1-standard-1
.
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
NoExternalIp
If true, workers are created without any public address, which prevents network egress to public IPs.
Declaration
[JsonProperty("noExternalIp")]
public virtual bool? NoExternalIp { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |