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"]],[["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 the \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class is 3.6.0, which is part of the Google.Cloud.Compute.V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides reference documentation for the Compute Engine v1 API \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class, detailing its function as a specification for the type and number of accelerator cards on an instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, offering methods like \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class contains properties such as \u003ccode\u003eAcceleratorCount\u003c/code\u003e (the number of accelerator cards) and \u003ccode\u003eAcceleratorType\u003c/code\u003e (the type of accelerator), along with booleans to check if these fields are set.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes multiple versions of the \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class, ranging from version 1.0.0 to the latest 3.6.0, for users to reference.\u003c/p\u003e\n"]]],[],null,[]]