GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig class

Defines the configuration to be used for creating workers in the worker pool.

Constructors

GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig({Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig>? accelerator, required Input<String> diskSizeGb, required Input<String> diskType, Input<Map<String, String>>? labels, required Input<String> machineType, Input<String>? maxConcurrentActions, Input<String>? minCpuPlatform, Input<String>? networkAccess, Input<bool>? reserved, Input<String>? soleTenantNodeType, Input<String>? vmImage})
Creates a new GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig. accelerator The accelerator card attached to each VM. diskSizeGb Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ diskType Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-ssd are supported. labels Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource. machineType Machine type of the worker, such as e2-standard-2. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that f1-micro and g1-small are not yet supported. maxConcurrentActions The maximum number of actions a worker can execute concurrently. minCpuPlatform Minimum CPU platform to use when creating the worker. See CPU Platforms. networkAccess Determines the type of network access granted to workers. Possible values: - "public": Workers can connect to the public internet. - "private": Workers can only connect to Google APIs and services. - "restricted-private": Workers can only connect to Google APIs that are reachable through restricted.googleapis.com (199.36.153.4/30). reserved Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See Preemptible VMs for more details. soleTenantNodeType The node type name to be used for sole-tenant nodes. vmImage The name of the image used by each VM.
const
GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.fromMap(Map<String, dynamic> map)
factory

Properties

accelerator → Input<GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig>?
The accelerator card attached to each VM.
final
diskSizeGb → Input<String>
Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
final
diskType → Input<String>
Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-ssd are supported.
final
hashCode → int
The hash code for this object.
no setterinherited
labels → Input<Map<String, String>>?
Labels associated with the workers. Label keys and values can be no longer than 63 characters, can only contain lowercase letters, numeric characters, underscores and dashes. International letters are permitted. Label keys must start with a letter. Label values are optional. There can not be more than 64 labels per resource.
final
machineType → Input<String>
Machine type of the worker, such as e2-standard-2. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note that f1-micro and g1-small are not yet supported.
final
maxConcurrentActions → Input<String>?
The maximum number of actions a worker can execute concurrently.
final
minCpuPlatform → Input<String>?
Minimum CPU platform to use when creating the worker. See CPU Platforms.
final
networkAccess → Input<String>?
Determines the type of network access granted to workers. Possible values: - "public": Workers can connect to the public internet. - "private": Workers can only connect to Google APIs and services. - "restricted-private": Workers can only connect to Google APIs that are reachable through restricted.googleapis.com (199.36.153.4/30).
final
reserved → Input<bool>?
Determines whether the worker is reserved (equivalent to a Compute Engine on-demand VM and therefore won't be preempted). See Preemptible VMs for more details.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
soleTenantNodeType → Input<String>?
The node type name to be used for sole-tenant nodes.
final
vmImage → Input<String>?
The name of the image used by each VM.
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