Google Cloud Notebooks V1 Client - Class RuntimeAcceleratorConfig (0.7.5)

Reference documentation and code samples for the Google Cloud Notebooks V1 Client class RuntimeAcceleratorConfig.

Definition of the types of hardware accelerators that can be used.

Definition of the types of hardware accelerators that can be used. See Compute Engine AcceleratorTypes. Examples:

  • nvidia-tesla-k80
  • nvidia-tesla-p100
  • nvidia-tesla-v100
  • nvidia-tesla-p4
  • nvidia-tesla-t4
  • nvidia-tesla-a100

Generated from protobuf message google.cloud.notebooks.v1.RuntimeAcceleratorConfig

Namespace

Google \ Cloud \ Notebooks \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Accelerator model.

↳ core_count int|string

Count of cores of this accelerator.

getType

Accelerator model.

Returns
Type Description
int

setType

Accelerator model.

Parameter
Name Description
var int
Returns
Type Description
$this

getCoreCount

Count of cores of this accelerator.

Returns
Type Description
int|string

setCoreCount

Count of cores of this accelerator.

Parameter
Name Description
var int|string
Returns
Type Description
$this