public sealed class AcceleratorConfig : IMessage<AcceleratorConfig>, IEquatable<AcceleratorConfig>, IDeepCloneable<AcceleratorConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dataproc v1 API class AcceleratorConfig.
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\u003eThis document provides reference documentation and code samples for the Google Cloud Dataproc v1 API class \u003ccode\u003eAcceleratorConfig\u003c/code\u003e, which details the configuration of accelerator cards for instance usage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class is implemented through several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and it inherits from the \u003ccode\u003eObject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties \u003ccode\u003eAcceleratorCount\u003c/code\u003e, indicating the number of accelerator cards, and \u003ccode\u003eAcceleratorTypeUri\u003c/code\u003e, specifying the type of accelerator, with examples and requirements for usage with Dataproc's Auto Zone Placement feature.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of the \u003ccode\u003eAcceleratorConfig\u003c/code\u003e documentation are available, ranging from the latest version (5.17.0) down to version 3.1.0, allowing developers to reference different API iterations.\u003c/p\u003e\n"],["\u003cp\u003eConstructors for \u003ccode\u003eAcceleratorConfig\u003c/code\u003e include a default constructor and a copy constructor, where the latter can take another \u003ccode\u003eAcceleratorConfig\u003c/code\u003e object as a parameter, and methods such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, \u003ccode\u003eMemberwiseClone\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e are inherited from the object class.\u003c/p\u003e\n"]]],[],null,[]]