Google Cloud Notebooks V2 Client - Class GPUDriverConfig (0.6.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
NameDescription
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
TypeDescription
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
NameDescription
var bool
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this