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< ? labels, required Input<String, String> >String> machineType, Input<String> ? maxConcurrentActions, Input<String> ? minCpuPlatform, Input<String> ? networkAccess, Input<bool> ? reserved, Input<String> ? soleTenantNodeType, Input<String> ? vmImage}) -
Creates a new GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig.
acceleratorThe accelerator card attached to each VM.diskSizeGbSize of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/diskTypeDisk Type to use for the worker. See Storage options. Currently onlypd-standardandpd-ssdare supported.labelsLabels 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.machineTypeMachine type of the worker, such ase2-standard-2. See https://cloud.google.com/compute/docs/machine-types for a list of supported machine types. Note thatf1-microandg1-smallare not yet supported.maxConcurrentActionsThe maximum number of actions a worker can execute concurrently.minCpuPlatformMinimum CPU platform to use when creating the worker. See CPU Platforms.networkAccessDetermines 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 throughrestricted.googleapis.com(199.36.153.4/30).reservedDetermines 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.soleTenantNodeTypeThe node type name to be used for sole-tenant nodes.vmImageThe 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-standardandpd-ssdare 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 thatf1-microandg1-smallare 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