public sealed class GPUDriverConfig : IMessage<GPUDriverConfig>, IEquatable<GPUDriverConfig>, IDeepCloneable<GPUDriverConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Notebooks v2 API class GPUDriverConfig.
Optional. Whether the end user authorizes Google Cloud to install GPU
driver on this VM instance. If this field is empty or set to false, the GPU
driver won't be installed. Only applicable to instances with GPUs.
[[["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-08-07 UTC."],[[["\u003cp\u003eThis documentation covers the \u003ccode\u003eGPUDriverConfig\u003c/code\u003e class within the Google Cloud Notebooks v2 API, which is used for configuring GPU driver settings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGPUDriverConfig\u003c/code\u003e class allows you to specify a custom Cloud Storage path for the GPU driver using the \u003ccode\u003eCustomGpuDriverPath\u003c/code\u003e property, or to rely on automatically selected official drivers.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eEnableGpuDriver\u003c/code\u003e property of the \u003ccode\u003eGPUDriverConfig\u003c/code\u003e class lets users control whether Google Cloud should install a GPU driver on the VM instance.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGPUDriverConfig\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.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors, one default and another that accepts a \u003ccode\u003eGPUDriverConfig\u003c/code\u003e object, to create new instances of the \u003ccode\u003eGPUDriverConfig\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Notebooks v2 API - Class GPUDriverConfig (1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.GPUDriverConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.1.0/Google.Cloud.Notebooks.V2.GPUDriverConfig)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/1.0.0/Google.Cloud.Notebooks.V2.GPUDriverConfig) \n\n public sealed class GPUDriverConfig : IMessage\u003cGPUDriverConfig\u003e, IEquatable\u003cGPUDriverConfig\u003e, IDeepCloneable\u003cGPUDriverConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Notebooks v2 API class GPUDriverConfig.\n\nA GPU driver configuration \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GPUDriverConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GPUDriverConfig](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.GPUDriverConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GPUDriverConfig](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.GPUDriverConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GPUDriverConfig](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2.GPUDriverConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Notebooks.V2](/dotnet/docs/reference/Google.Cloud.Notebooks.V2/latest/Google.Cloud.Notebooks.V2)\n\nAssembly\n--------\n\nGoogle.Cloud.Notebooks.V2.dll\n\nConstructors\n------------\n\n### GPUDriverConfig()\n\n public GPUDriverConfig()\n\n### GPUDriverConfig(GPUDriverConfig)\n\n public GPUDriverConfig(GPUDriverConfig other)\n\nProperties\n----------\n\n### CustomGpuDriverPath\n\n public string CustomGpuDriverPath { get; set; }\n\nOptional. Specify a custom Cloud Storage path where the GPU driver is\nstored. If not specified, we'll automatically choose from official GPU\ndrivers.\n\n### EnableGpuDriver\n\n public bool EnableGpuDriver { get; set; }\n\nOptional. Whether the end user authorizes Google Cloud to install GPU\ndriver on this VM instance. If this field is empty or set to false, the GPU\ndriver won't be installed. Only applicable to instances with GPUs."]]