WorkerConfigArgs

data class WorkerConfigArgs(val diskSizeGb: Output<String>? = null, val machineType: Output<String>? = null, val noExternalIp: Output<Boolean>? = null) : ConvertibleToJava<WorkerConfigArgs>

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

Constructors

Link copied to clipboard
fun WorkerConfigArgs(diskSizeGb: Output<String>? = null, machineType: Output<String>? = null, noExternalIp: Output<Boolean>? = null)

Functions

Link copied to clipboard
open override fun toJava(): WorkerConfigArgs

Properties

Link copied to clipboard
val diskSizeGb: Output<String>? = null

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
val machineType: Output<String>? = null

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
val noExternalIp: Output<Boolean>? = null

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