WorkerPoolArgs constructor
- Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale> ? autoscale, - Input<
String> ? channel, - required Input<
String> instanceId, - Input<
String> ? name, - Input<
String> ? parent, - Input<
String> ? poolId, - Input<
String> ? project, - Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig> ? workerConfig, - Input<
String> ? workerCount,
Creates a new WorkerPoolArgs.
autoscale The autoscale policy to apply on a pool.
channel Channel specifies the release channel of the pool.
instanceId Required.
name 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.
parent Resource name of the instance in which to create the new worker pool. Format: projects/[PROJECT_ID]/instances/[INSTANCE_ID].
poolId 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.
project Optional.
workerConfig Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
workerCount The desired number of workers in the worker pool. Must be a value between 0 and 15000.
Implementation
const WorkerPoolArgs({
this.autoscale,
this.channel,
required this.instanceId,
this.name,
this.parent,
this.poolId,
this.project,
this.workerConfig,
this.workerCount,
});