public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
Specifies the type and number of accelerator cards attached to the instances
of an instance. See GPUs on Compute
Engine.
Auto Zone Exception: If you are using the Dataproc
Auto Zone
Placement
feature, you must use the short name of the accelerator type
resource, for example, nvidia-tesla-k80.
[[["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\u003eAcceleratorConfig\u003c/code\u003e class, part of the \u003ccode\u003eGoogle.Cloud.Dataproc.V1\u003c/code\u003e namespace, defines the configuration for accelerator cards attached to instances, with the latest version being 5.17.0.\u003c/p\u003e\n"],["\u003cp\u003eThis class allows specifying the type and number of accelerators, referencing Compute Engine AcceleratorTypes through full URLs, partial URIs, or short names.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers a constructor, \u003ccode\u003eAcceleratorConfig()\u003c/code\u003e, allowing users to directly instantiate it, and one using another \u003ccode\u003eAcceleratorConfig\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eIt has two main properties: \u003ccode\u003eAcceleratorCount\u003c/code\u003e, an integer representing the quantity of accelerators, and \u003ccode\u003eAcceleratorTypeUri\u003c/code\u003e, a string defining the accelerator type, with the requirement to use the short name when using Dataproc's Auto Zone Placement.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e 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 \u003ccode\u003eObject\u003c/code\u003e, adding the standard functions that come with it.\u003c/p\u003e\n"]]],[],null,[]]