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 intended for attachment to a virtual machine.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its functionality in data handling and cloning.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of this class include \u003ccode\u003eCount\u003c/code\u003e to specify the number of accelerators, \u003ccode\u003eDriverVersion\u003c/code\u003e to define the NVIDIA GPU driver version, and \u003ccode\u003eType\u003c/code\u003e to identify the specific accelerator type (e.g., "nvidia-tesla-t4").\u003c/p\u003e\n"],["\u003cp\u003eThere is a deprecated property \u003ccode\u003eInstallGpuDrivers\u003c/code\u003e, which is replaced by \u003ccode\u003einstances[0].install_gpu_drivers\u003c/code\u003e, indicating a change in how GPU driver installations are handled.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides a history of the Batch v1 API, showing the different versions from 1.0.0 to 2.13.0 (latest) and links to their respective documentation for the \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,[]]