public sealed class AllocationPolicy.Types.Accelerator : IMessage<AllocationPolicy.Types.Accelerator>, IEquatable<AllocationPolicy.Types.Accelerator>, IDeepCloneable<AllocationPolicy.Types.Accelerator>, IBufferMessage, IMessage
Reference documentation and code samples for the Batch v1 API class AllocationPolicy.Types.Accelerator.
Accelerator describes Compute Engine accelerators to be attached to the VM.
[[["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-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e class within the Google Cloud Batch V1 API, detailing its structure and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e class represents Compute Engine accelerators that can be attached to a virtual machine (VM).\u003c/p\u003e\n"],["\u003cp\u003eThe class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class, providing various methods and functionalities.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eCount\u003c/code\u003e (to define the number of accelerators), \u003ccode\u003eInstallGpuDrivers\u003c/code\u003e (now deprecated, use instances[0].install_gpu_drivers instead) and \u003ccode\u003eType\u003c/code\u003e to define the accelerator type.\u003c/p\u003e\n"],["\u003cp\u003eThe page shows a list of all the available versions of this documentation, with the latest being 2.13.0 and going back to 1.0.0, and can be accessed for each version.\u003c/p\u003e\n"]]],[],null,[]]