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-31 UTC."],[[["The `AcceleratorConfig` class provides a specification for the type and number of accelerator cards attached to a compute instance."],["The latest version of the documentation available is for version 3.6.0, and versions ranging from 1.0.0 to 3.5.0 are also available."],["The class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["`AcceleratorConfig` has two key properties: `AcceleratorCount` (an integer representing the number of accelerator cards) and `AcceleratorType` (a string specifying the full or partial URL of the accelerator type)."],["The `HasAcceleratorCount` and `HasAcceleratorType` properties are both booleans, that denote if the `accelerator_count` field and `accelerator_type` field are set, respectively."]]],[]]