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\u003eThe \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e class, part of the Google Cloud Batch v1 API, is used to describe Compute Engine accelerators that can be attached to a virtual machine.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing it to be used with Google Protocol Buffers for structured data exchange and manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccelerator\u003c/code\u003e class has properties including \u003ccode\u003eCount\u003c/code\u003e (the number of accelerators), \u003ccode\u003eInstallGpuDrivers\u003c/code\u003e (a deprecated setting for installing GPU drivers), and \u003ccode\u003eType\u003c/code\u003e (the type of accelerator, like "nvidia-tesla-t4").\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccelerator\u003c/code\u003e class is available for a wide range of versions, from 1.0.0 to 2.13.0, with 2.13.0 being the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThe class inherits members such as GetHashCode(), GetType(), and ToString() from the object class, and is in the Google.Cloud.Batch.V1 namespace.\u003c/p\u003e\n"]]],[],null,[]]