GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs

data class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs(val accelerator: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs>? = null, val diskSizeGb: Output<String>, val diskType: Output<String>, val labels: Output<Map<String, String>>? = null, val machineType: Output<String>, val maxConcurrentActions: Output<String>? = null, val minCpuPlatform: Output<String>? = null, val networkAccess: Output<String>? = null, val reserved: Output<Boolean>? = null, val soleTenantNodeType: Output<String>? = null, val vmImage: Output<String>? = null) : ConvertibleToJava<GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs>

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

Constructors

fun GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs(accelerator: Output<GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfigArgs>? = null, diskSizeGb: Output<String>, diskType: Output<String>, labels: Output<Map<String, String>>? = null, machineType: Output<String>, maxConcurrentActions: Output<String>? = null, minCpuPlatform: Output<String>? = null, networkAccess: Output<String>? = null, reserved: Output<Boolean>? = null, soleTenantNodeType: Output<String>? = null, vmImage: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfigArgs

Properties

Link copied to clipboard

The accelerator card attached to each VM.

Link copied to clipboard
val diskSizeGb: Output<String>

Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/

Link copied to clipboard
val diskType: Output<String>

Disk Type to use for the worker. See Storage options. Currently only pd-standard and pd-ssd are supported.

Link copied to clipboard
val labels: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val machineType: Output<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.

Link copied to clipboard
val maxConcurrentActions: Output<String>? = null

The maximum number of actions a worker can execute concurrently.

Link copied to clipboard
val minCpuPlatform: Output<String>? = null

Minimum CPU platform to use when creating the worker. See CPU Platforms.

Link copied to clipboard
val networkAccess: Output<String>? = null

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).

Link copied to clipboard
val reserved: Output<Boolean>? = null

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.

Link copied to clipboard
val soleTenantNodeType: Output<String>? = null

The node type name to be used for sole-tenant nodes.

Link copied to clipboard
val vmImage: Output<String>? = null

The name of the image used by each VM.