WorkerPoolWorkerConfigArgs

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

Constructors

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

Properties

Link copied to clipboard
val diskSizeGb: Output<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: Output<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: Output<Boolean>? = null

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

Functions

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