Reference documentation and code samples for the Google Cloud Notebooks V2 Client class GPUDriverConfig.
A GPU driver configuration
Generated from protobuf messagegoogle.cloud.notebooks.v2.GPUDriverConfig
Namespace
Google \ Cloud \ Notebooks \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ enable_gpu_driver
bool
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.
↳ custom_gpu_driver_path
string
Optional. Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
getEnableGpuDriver
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.
Returns
Type
Description
bool
setEnableGpuDriver
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.
Parameter
Name
Description
var
bool
Returns
Type
Description
$this
getCustomGpuDriverPath
Optional. Specify a custom Cloud Storage path where the GPU driver is
stored. If not specified, we'll automatically choose from official GPU
drivers.
Returns
Type
Description
string
setCustomGpuDriverPath
Optional. Specify a custom Cloud Storage path where the GPU driver is
stored. If not specified, we'll automatically choose from official GPU
drivers.
[[["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-09-04 UTC."],[],[],null,["# Google Cloud Notebooks V2 Client - Class GPUDriverConfig (1.0.5)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.5 (latest)](/php/docs/reference/cloud-notebooks/latest/V2.GPUDriverConfig)\n- [1.0.4](/php/docs/reference/cloud-notebooks/1.0.4/V2.GPUDriverConfig)\n- [0.7.5](/php/docs/reference/cloud-notebooks/0.7.5/V2.GPUDriverConfig)\n- [0.6.2](/php/docs/reference/cloud-notebooks/0.6.2/V2.GPUDriverConfig)\n- [0.5.0](/php/docs/reference/cloud-notebooks/0.5.0/V2.GPUDriverConfig)\n- [0.4.1](/php/docs/reference/cloud-notebooks/0.4.1/V2.GPUDriverConfig)\n- [0.3.6](/php/docs/reference/cloud-notebooks/0.3.6/V2.GPUDriverConfig) \nReference documentation and code samples for the Google Cloud Notebooks V2 Client class GPUDriverConfig.\n\nA GPU driver configuration\n\nGenerated from protobuf message `google.cloud.notebooks.v2.GPUDriverConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Notebooks \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getEnableGpuDriver\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.\n\n### setEnableGpuDriver\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.\n\n### getCustomGpuDriverPath\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### setCustomGpuDriverPath\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."]]