public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
A specification of the type and number of accelerator cards attached to the instance.
Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The latest version of `AcceleratorConfig` is 3.6.0, and it is part of the Google.Cloud.Compute.V1 namespace, with various older versions available from 1.0.0 onward."],["`AcceleratorConfig` is a class that defines the specifications for the type and quantity of accelerator cards connected to a specific instance."],["`AcceleratorConfig` class implements multiple interfaces: `IMessage\u003cAcceleratorConfig\u003e`, `IEquatable\u003cAcceleratorConfig\u003e`, `IDeepCloneable\u003cAcceleratorConfig\u003e`, `IBufferMessage`, and `IMessage`."],["The class properties, `AcceleratorCount` and `AcceleratorType`, allow for setting the number and type of accelerators, with corresponding boolean checks, `HasAcceleratorCount` and `HasAcceleratorType`, to see if these fields are populated."],["The `AcceleratorConfig` class includes two constructors: a default one and another that accepts another instance of the same class as a parameter."]]],[]]