WorkerConfigResponse

data class WorkerConfigResponse(val diskSizeGb: String, val machineType: String, val noExternalIp: Boolean)

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

Constructors

Link copied to clipboard
fun WorkerConfigResponse(diskSizeGb: String, machineType: String, noExternalIp: Boolean)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

If true, workers are created without any public address, which prevents network egress to public IPs.