WorkerPoolArgs constructor

const WorkerPoolArgs({
  1. Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale>? autoscale,
  2. Input<String>? channel,
  3. required Input<String> instanceId,
  4. Input<String>? name,
  5. Input<String>? parent,
  6. Input<String>? poolId,
  7. Input<String>? project,
  8. Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig>? workerConfig,
  9. 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,
});