Google Cloud Container V1 Client - Class GPUDirectConfig (2.8.0)

Reference documentation and code samples for the Google Cloud Container V1 Client class GPUDirectConfig.

GPUDirectConfig specifies the GPU direct strategy on the node pool.

Generated from protobuf message google.container.v1.GPUDirectConfig

Namespace

Google \ Cloud \ Container \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ gpu_direct_strategy int

The type of GPU direct strategy to enable on the node pool.

getGpuDirectStrategy

The type of GPU direct strategy to enable on the node pool.

Returns
Type Description
int

hasGpuDirectStrategy

clearGpuDirectStrategy

setGpuDirectStrategy

The type of GPU direct strategy to enable on the node pool.

Parameter
Name Description
var int
Returns
Type Description
$this