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 v1alpha 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 document provides reference information for the \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e class within the Batch v1alpha API, specifically version 1.0.0-alpha30.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e class is used to describe Compute Engine accelerators that can be attached to a virtual machine (VM) instance.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, while also inheriting from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAccelerator\u003c/code\u003e class contains properties such as \u003ccode\u003eCount\u003c/code\u003e, \u003ccode\u003eDriverVersion\u003c/code\u003e, \u003ccode\u003eInstallGpuDrivers\u003c/code\u003e, and \u003ccode\u003eType\u003c/code\u003e, which allow configuration of the quantity, version, installation, and specific type of accelerators respectively.\u003c/p\u003e\n"],["\u003cp\u003eTwo constructors are provided, one for creating an empty \u003ccode\u003eAccelerator\u003c/code\u003e object, and another for creating a copy from an existing \u003ccode\u003eAllocationPolicy.Types.Accelerator\u003c/code\u003e instance.\u003c/p\u003e\n"]]],[],null,[]]