AcceleratorConfig class

Specifies the type and number of accelerator cards attached to the instances of an instance.

See GPUs on Compute Engine (https://cloud.google.com/compute/docs/gpus/).

Constructors

AcceleratorConfig({int? acceleratorCount, String? acceleratorTypeUri})
AcceleratorConfig.fromJson(Map json_)

Properties

acceleratorCount int?
The number of the accelerator cards of this type exposed to this instance.
getter/setter pair
acceleratorTypeUri String?
Full URL, partial URI, or short name of the accelerator type resource to expose to this instance.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited