AcceleratorResponse class
Accelerator describes Compute Engine accelerators to be attached to the VM.
Constructors
-
AcceleratorResponse({required Input<
String> count, required Input<String> driverVersion, required Input<bool> installGpuDrivers, required Input<String> type}) -
Creates a new AcceleratorResponse.
countThe number of accelerators of this type.driverVersionOptional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.installGpuDriversDeprecated: please use instances0.install_gpu_drivers instead.typeThe accelerator type. For example, "nvidia-tesla-t4". Seegcloud compute accelerator-types list.const -
AcceleratorResponse.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
count
→ Input<
String> -
The number of accelerators of this type.
final
-
driverVersion
→ Input<
String> -
Optional. The NVIDIA GPU driver version that should be installed for this type. You can define the specific driver version such as "470.103.01", following the driver version requirements in https://cloud.google.com/compute/docs/gpus/install-drivers-gpu#minimum-driver. Batch will install the specific accelerator driver if qualified.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
installGpuDrivers
→ Input<
bool> -
Deprecated: please use instances
0.install_gpu_drivers instead.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
type
→ Input<
String> -
The accelerator type. For example, "nvidia-tesla-t4". See
gcloud compute accelerator-types list.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