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-t4.
[[["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 page provides reference documentation for the \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class within the Google Cloud Dataproc v1 API, detailing its properties and functionality.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class is used to specify the type and number of accelerator cards attached to instances in Google Cloud Dataproc.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of \u003ccode\u003eAcceleratorConfig\u003c/code\u003e is 5.17.0, with previous versions back to 3.1.0 also available for reference.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eAcceleratorConfig\u003c/code\u003e class has two properties: \u003ccode\u003eAcceleratorCount\u003c/code\u003e, which is an integer representing the number of accelerator cards, and \u003ccode\u003eAcceleratorTypeUri\u003c/code\u003e, a string that specifies the type of accelerator.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes details on implementing \u003ccode\u003eAcceleratorConfig\u003c/code\u003e through various interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]