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 `AcceleratorConfig` class within the Google.Cloud.Compute.V1 API defines the specification for accelerator cards attached to a Compute Engine instance."],["The latest version of this API is 3.6.0, with the provided content showing versions ranging from 1.0.0 to 3.6.0, showcasing the version history."],["The class has two primary properties, `AcceleratorCount` and `AcceleratorType`, which are used to specify the number and type of accelerators, respectively, for a Compute Engine instance."],["The `AcceleratorConfig` class implements multiple interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage` which provide various functionalities for object comparison, cloning and message handling."],["The class can be instantiated through two constructors, one default and one that accepts another `AcceleratorConfig` instance, allowing for the creation of new objects and copy operations."]]],[]]