public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class AcceleratorConfig.
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 the `AcceleratorConfig` class in the Compute Engine v1 API is 3.6.0, with multiple prior versions available, including the current 2.14.0 version."],["`AcceleratorConfig` is a class that defines the type and number of accelerator cards attached to a Compute Engine instance, implementing several interfaces like `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`."],["This class has two key properties: `AcceleratorCount`, which specifies the number of guest accelerator cards, and `AcceleratorType`, which provides the URL of the accelerator type resource, with both of these properties having getters to see if they have been set."],["The `AcceleratorConfig` class has two constructors, one empty and the other that takes another instance of the same class as a parameter."],["All versions of `AcceleratorConfig` are found within the namespace `Google.Cloud.Compute.V1`, and the class is compiled in the `Google.Cloud.Compute.V1.dll` assembly."]]],[]]