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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-08 UTC."],[[["\u003cp\u003eThe latest version of \u003ccode\u003eAcceleratorConfig\u003c/code\u003e 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAcceleratorConfig\u003c/code\u003e is a class that defines the specifications for the type and quantity of accelerator cards connected to a specific instance.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAcceleratorConfig\u003c/code\u003e class implements multiple interfaces: \u003ccode\u003eIMessage<AcceleratorConfig>\u003c/code\u003e, \u003ccode\u003eIEquatable<AcceleratorConfig>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<AcceleratorConfig>\u003c/code\u003e, \u003ccode\u003eIBufferMessage\u003c/code\u003e, and \u003ccode\u003eIMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class properties, \u003ccode\u003eAcceleratorCount\u003c/code\u003e and \u003ccode\u003eAcceleratorType\u003c/code\u003e, allow for setting the number and type of accelerators, with corresponding boolean checks, \u003ccode\u003eHasAcceleratorCount\u003c/code\u003e and \u003ccode\u003eHasAcceleratorType\u003c/code\u003e, to see if these fields are populated.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class includes two constructors: a default one and another that accepts another instance of the same class as a parameter.\u003c/p\u003e\n"]]],[],null,[]]