GoogleApi.RemoteBuildExecution.V2.Model.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig (google_api_remote_build_execution v0.18.0) View Source
Defines the configuration to be used for creating workers in the worker pool.
Attributes
-
accelerator
(type:GoogleApi.RemoteBuildExecution.V2.Model.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig.t
, default:nil
) - The accelerator card attached to each VM. -
diskSizeGb
(type:String.t
, default:nil
) - Required. Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/ -
diskType
(type:String.t
, default:nil
) - Required. Disk Type to use for the worker. See Storage options. Currently onlypd-standard
andpd-ssd
are supported. -
labels
(type:map()
, default:nil
) - 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
(type:String.t
, default:nil
) - Required. Machine 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-micro
andg1-small
are not yet supported. -
maxConcurrentActions
(type:String.t
, default:nil
) - The maximum number of actions a worker can execute concurrently. -
minCpuPlatform
(type:String.t
, default:nil
) - Minimum CPU platform to use when creating the worker. See CPU Platforms. -
networkAccess
(type:String.t
, default:nil
) - 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 throughrestricted.googleapis.com
(199.36.153.4/30
). -
reserved
(type:boolean()
, default:nil
) - 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
(type:String.t
, default:nil
) - The node type name to be used for sole-tenant nodes. -
vmImage
(type:String.t
, default:nil
) - The name of the image used by each VM.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() :: %GoogleApi.RemoteBuildExecution.V2.Model.GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig{ accelerator: GoogleApi.RemoteBuildExecution.V2.Model.GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig.t(), diskSizeGb: String.t(), diskType: String.t(), labels: map(), machineType: String.t(), maxConcurrentActions: String.t(), minCpuPlatform: String.t(), networkAccess: String.t(), reserved: boolean(), soleTenantNodeType: String.t(), vmImage: String.t() }
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.