WorkerPoolArgs class
The set of arguments for WorkerPool. The set of arguments for WorkerPool.
Constructors
-
WorkerPoolArgs({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.
autoscaleThe autoscale policy to apply on a pool.channelChannel specifies the release channel of the pool.instanceIdRequired.nameWorkerPool 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 thepoolIdfield.parentResource name of the instance in which to create the new worker pool. Format:projects/[PROJECT_ID]/instances/[INSTANCE_ID].poolIdID 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.projectOptional.workerConfigSpecifies the properties, such as machine type and disk size, used for creating workers in a worker pool.workerCountThe desired number of workers in the worker pool. Must be a value between 0 and 15000.const -
WorkerPoolArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
autoscale
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaAutoscale> ? -
The autoscale policy to apply on a pool.
final
-
channel
→ Input<
String> ? -
Channel specifies the release channel of the pool.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceId
→ Input<
String> -
final
-
name
→ Input<
String> ? -
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 thepoolIdfield.final -
parent
→ Input<
String> ? -
Resource name of the instance in which to create the new worker pool. Format:
projects/[PROJECT_ID]/instances/[INSTANCE_ID].final -
poolId
→ Input<
String> ? -
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.
final
-
project
→ Input<
String> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
workerConfig
→ Input<
GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig> ? -
Specifies the properties, such as machine type and disk size, used for creating workers in a worker pool.
final
-
workerCount
→ Input<
String> ? -
The desired number of workers in the worker pool. Must be a value between 0 and 15000.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited