Google Cloud Notebooks V1 Client - Class RuntimeAcceleratorConfig (0.6.2)

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
NameDescription
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
TypeDescription
int

setType

Accelerator model.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCoreCount

Count of cores of this accelerator.

Returns
TypeDescription
int|string

setCoreCount

Count of cores of this accelerator.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this