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\u003eThis document provides reference documentation for the \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class within the Google Compute Engine v1 API, detailing its properties and usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class is used to specify the type and quantity of accelerator cards attached to a Compute Engine instance.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 3.6.0, while this specific documentation is based on version 2.5.0, and contains a history of version changes, all the way back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eAcceleratorConfig\u003c/code\u003e include \u003ccode\u003eAcceleratorCount\u003c/code\u003e (an integer representing the number of accelerator cards) and \u003ccode\u003eAcceleratorType\u003c/code\u003e (a string for the accelerator type's URL).\u003c/p\u003e\n"],["\u003cp\u003eThere are several implementations of the AcceleratorConfig class, allowing for deep cloning and proper message buffering.\u003c/p\u003e\n"]]],[],null,[]]