WorkerConfigArgs

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

WorkerConfig defines the configuration to be used for a creating workers in the pool.

Constructors

Link copied to clipboard
fun WorkerConfigArgs(diskSizeGb: Output<String>? = null, machineType: Output<String>? = 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 https://cloud.google.com/compute/docs/disks/ If 0 is specified, Cloud Build will use a standard disk size.

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

Machine Type of the worker, such as n1-standard-1. See https://cloud.google.com/compute/docs/machine-types. If left blank, Cloud Build will use a standard unspecified machine to create the worker pool.