WorkerPoolWorkerConfig

data class WorkerPoolWorkerConfig(val diskSizeGb: Int? = null, val machineType: String? = null, val noExternalIp: Boolean? = null)

Constructors

Link copied to clipboard
constructor(diskSizeGb: Int? = null, machineType: String? = null, noExternalIp: Boolean? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val diskSizeGb: Int? = null

Size of the disk attached to the worker, in GB. See (https://cloud.google.com/cloud-build/docs/custom-workers/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
val machineType: String? = null

Machine type of a worker, such as n1-standard-1. See (https://cloud.google.com/cloud-build/docs/custom-workers/worker-pool-config-file). If left blank, Cloud Build will use n1-standard-1.

Link copied to clipboard
val noExternalIp: Boolean? = null

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