Show / Hide Table of Contents

Class WorkerConfig

Defines the configuration to be used for creating workers in the pool.

Inheritance
object
WorkerConfig
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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 4000. 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

EnableNestedVirtualization

Optional. Enable nested virtualization on the worker, if supported by the machine type. By default, nested virtualization is disabled.

Declaration
[JsonProperty("enableNestedVirtualization")]
public virtual bool? EnableNestedVirtualization { get; set; }
Property Value
Type Description
bool?

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

RankedMachineSeries

Optional. Ranked list (earlier items have higher priority) of Machine Series to consider when provisioning worker VMs. The pool's requirements will be matched to a pre-sized machine type which is available in the pool's region. If left blank, Cloud Build will use a sensible default.

Declaration
[JsonProperty("rankedMachineSeries")]
public virtual IList<string> RankedMachineSeries { get; set; }
Property Value
Type Description
IList<string>

WorkerRelease

Optional. Option to specify which release or release channel (rapid|regular|stable) to use to run this build.

Declaration
[JsonProperty("workerRelease")]
public virtual string WorkerRelease { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX