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 \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class is used to define the type and number of accelerator cards attached to a virtual machine instance within Google Cloud Compute V1.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available is 3.6.0, while the current documentation is for version 2.0.0, with multiple prior versions listed ranging from 3.5.0 down to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAcceleratorConfig\u003c/code\u003e implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, along with inheriting members from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties \u003ccode\u003eAcceleratorCount\u003c/code\u003e (an integer representing the number of accelerator cards) and \u003ccode\u003eAcceleratorType\u003c/code\u003e (a string with the URL of the accelerator type), along with boolean indicators \u003ccode\u003eHasAcceleratorCount\u003c/code\u003e and \u003ccode\u003eHasAcceleratorType\u003c/code\u003e to determine if those fields are set.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors for the class, a default constructor, and one that accepts another instance of \u003ccode\u003eAcceleratorConfig\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,[]]