WorkerPoolArgs

data class WorkerPoolArgs(val name: Output<String>? = null, val project: Output<String>? = null, val regions: Output<List<WorkerPoolRegionsItem>>? = null, val workerConfig: Output<WorkerConfigArgs>? = null, val workerCount: Output<String>? = null) : ConvertibleToJava<WorkerPoolArgs>

Creates a WorkerPool to run the builds, and returns the new worker pool.

Constructors

Link copied to clipboard
fun WorkerPoolArgs(name: Output<String>? = null, project: Output<String>? = null, regions: Output<List<WorkerPoolRegionsItem>>? = null, workerConfig: Output<WorkerConfigArgs>? = null, workerCount: Output<String>? = null)

Functions

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

Properties

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

User-defined name of the WorkerPool.

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

The project ID of the GCP project for which the WorkerPool is created.

Link copied to clipboard
val regions: Output<List<WorkerPoolRegionsItem>>? = null

List of regions to create the WorkerPool. Regions can't be empty. If Cloud Build adds a new GCP region in the future, the existing WorkerPool will not be enabled in the new region automatically; you must add the new region to the regions field to enable the WorkerPool in that region.

Link copied to clipboard
val workerConfig: Output<WorkerConfigArgs>? = null

Configuration to be used for a creating workers in the WorkerPool.

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

Total number of workers to be created across all requested regions.