public sealed class 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\u003eThe \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e class, part of the Google Cloud Batch v1 API, is used to describe Compute Engine accelerators attached to a VM.\u003c/p\u003e\n"],["\u003cp\u003eThis page provides reference documentation for the \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e class, including its properties, constructors, inherited members, and implemented interfaces.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the API is 2.13.0, and the page also lists previous versions for this class down to 1.0.0, with version 1.2.0 being used for most examples.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccelerator\u003c/code\u003e class has properties such as \u003ccode\u003eCount\u003c/code\u003e, \u003ccode\u003eInstallGpuDrivers\u003c/code\u003e (which is now deprecated), and \u003ccode\u003eType\u003c/code\u003e to specify the configuration of the accelerator.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccelerator\u003c/code\u003e class inherits members from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]