public sealed class Accelerator : IMessage<AllocationPolicy.Types.Accelerator>, IEquatable<AllocationPolicy.Types.Accelerator>, IDeepCloneable<AllocationPolicy.Types.Accelerator>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class AllocationPolicy.Types.Accelerator.
Accelerator describes Compute Engine accelerators to be attached to the VM.
Implements
IMessage<AllocationPolicy.Types.Accelerator>, IEquatable<AllocationPolicy.Types.Accelerator>, IDeepCloneable<AllocationPolicy.Types.Accelerator>, IBufferMessage, IMessageNamespace
Google.Cloud.Batch.V1Assembly
Google.Cloud.Batch.V1.dll
Constructors
Accelerator()
public Accelerator()
Accelerator(AllocationPolicy.Types.Accelerator)
public Accelerator(AllocationPolicy.Types.Accelerator other)
Parameter | |
---|---|
Name | Description |
other | AllocationPolicy.Types.Accelerator |
Properties
Count
public long Count { get; set; }
The number of accelerators of this type.
Property Value | |
---|---|
Type | Description |
Int64 |
InstallGpuDrivers
[Obsolete]
public bool InstallGpuDrivers { get; set; }
Deprecated: please use instances[0].install_gpu_drivers instead.
Property Value | |
---|---|
Type | Description |
Boolean |
Type
public string Type { get; set; }
The accelerator type. For example, "nvidia-tesla-t4".
See gcloud compute accelerator-types list
.
Property Value | |
---|---|
Type | Description |
String |