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"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["The `AcceleratorConfig` class, part of the `Google.Cloud.Dataproc.V1` namespace, defines the configuration for accelerator cards attached to instances, with the latest version being 5.17.0."],["This class allows specifying the type and number of accelerators, referencing Compute Engine AcceleratorTypes through full URLs, partial URIs, or short names."],["The class offers a constructor, `AcceleratorConfig()`, allowing users to directly instantiate it, and one using another `AcceleratorConfig` instance as a parameter."],["It has two main properties: `AcceleratorCount`, an integer representing the quantity of accelerators, and `AcceleratorTypeUri`, a string defining the accelerator type, with the requirement to use the short name when using Dataproc's Auto Zone Placement."],["The `AcceleratorConfig` class implements several interfaces including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, and inherits from `Object`, adding the standard functions that come with it."]]],[]]