Class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig
Defines the configuration to be used for creating workers in the worker pool.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.RemoteBuildExecution.v1alpha.Data
Assembly: Google.Apis.RemoteBuildExecution.v1alpha.dll
Syntax
public class GoogleDevtoolsRemotebuildexecutionAdminV1alphaWorkerConfig : IDirectResponseSchema
Properties
Accelerator
The accelerator card attached to each VM.
Declaration
[JsonProperty("accelerator")]
public virtual GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig Accelerator { get; set; }
Property Value
Type | Description |
---|---|
GoogleDevtoolsRemotebuildexecutionAdminV1alphaAcceleratorConfig |
DiskSizeGb
Required. Size of the disk attached to the worker, in GB. See https://cloud.google.com/compute/docs/disks/
Declaration
[JsonProperty("diskSizeGb")]
public virtual long? DiskSizeGb { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
DiskType
Required. Disk Type to use for the worker. See Storage
options. Currently only pd-standard
and
pd-ssd
are supported.
Declaration
[JsonProperty("diskType")]
public virtual string DiskType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IDictionary<System.String, System.String> |
MachineType
Required. 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.
Declaration
[JsonProperty("machineType")]
public virtual string MachineType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
MaxConcurrentActions
The maximum number of actions a worker can execute concurrently.
Declaration
[JsonProperty("maxConcurrentActions")]
public virtual long? MaxConcurrentActions { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MinCpuPlatform
Minimum CPU platform to use when creating the worker. See CPU Platforms.
Declaration
[JsonProperty("minCpuPlatform")]
public virtual string MinCpuPlatform { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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
).
Declaration
[JsonProperty("networkAccess")]
public virtual string NetworkAccess { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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.
Declaration
[JsonProperty("reserved")]
public virtual bool? Reserved { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> |
SoleTenantNodeType
The node type name to be used for sole-tenant nodes.
Declaration
[JsonProperty("soleTenantNodeType")]
public virtual string SoleTenantNodeType { get; set; }
Property Value
Type | Description |
---|---|
System.String |
VmImage
The name of the image used by each VM.
Declaration
[JsonProperty("vmImage")]
public virtual string VmImage { get; set; }
Property Value
Type | Description |
---|---|
System.String |