WorkerConfigArgs

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

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

Constructors

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

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 2000. 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 e2-medium. See Worker pool config file. If left blank, Cloud Build will use a sensible default.

Functions

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