WorkerPoolArgs

data class WorkerPoolArgs(val autoscale: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs>? = null, val channel: Output<String>? = null, val instanceId: Output<String>? = null, val name: Output<String>? = null, val parent: Output<String>? = null, val poolId: Output<String>? = null, val project: Output<String>? = null, val workerConfig: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs>? = null, val workerCount: Output<String>? = null) : ConvertibleToJava<WorkerPoolArgs>

Creates a new worker pool with a specified size and configuration. Returns a long running operation which contains a worker pool on completion. While the long running operation is in progress, any call to GetWorkerPool returns a worker pool in state CREATING.

Constructors

Link copied to clipboard
fun WorkerPoolArgs(autoscale: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscaleArgs>? = null, channel: Output<String>? = null, instanceId: Output<String>? = null, name: Output<String>? = null, parent: Output<String>? = null, poolId: Output<String>? = null, project: Output<String>? = null, workerConfig: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs>? = null, workerCount: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard

The autoscale policy to apply on a pool.

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

Channel specifies the release channel of the pool.

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

WorkerPool resource name formatted as: projects/[PROJECT_ID]/instances/[INSTANCE_ID]/workerpools/[POOL_ID]. name should not be populated when creating a worker pool since it is provided in the poolId field.

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

Resource name of the instance in which to create the new worker pool. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID].

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

ID of the created worker pool. A valid pool ID must: be 6-50 characters long, contain only lowercase letters, digits, hyphens and underscores, start with a lowercase letter, and end with a lowercase letter or a digit.

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

Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.

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

The desired number of workers in the worker pool. Must be a value between 0 and 15000.