Google Cloud Notebooks V2 Client - Class GPUDriverConfig (1.0.2)

Reference documentation and code samples for the Google Cloud Notebooks V2 Client class GPUDriverConfig.

A GPU driver configuration

Generated from protobuf message google.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.

Parameter
Name Description
var string
Returns
Type Description
$this