WorkerPoolWorkerConfig constructor
const
WorkerPoolWorkerConfig({})
Creates a new WorkerPoolWorkerConfig.
diskSizeGb Size of the disk attached to the worker, in GB. See diskSizeGb. Specify a value of up to 1000. If 0 is specified, Cloud Build will use a standard disk size.
enableNestedVirtualization Enable nested virtualization on the worker, if supported by the machine type. See Worker pool config file. If left blank, Cloud Build will set this to false.
machineType Machine type of a worker, such as n1-standard-1. See machineType. If left blank, Cloud Build will use n1-standard-1.
noExternalIp If true, workers are created without any public address, which prevents network egress to public IPs.
Implementation
const WorkerPoolWorkerConfig({
this.diskSizeGb,
this.enableNestedVirtualization,
this.machineType,
this.noExternalIp,
});