Google Cloud Tpu V1 Client - Class AcceleratorType (1.4.7)

Reference documentation and code samples for the Google Cloud Tpu V1 Client class AcceleratorType.

A accelerator type that a Node can be configured with.

Generated from protobuf message google.cloud.tpu.v1.AcceleratorType

Namespace

Google \ Cloud \ Tpu \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

The resource name.

↳ type string

the accelerator type.

getName

The resource name.

Returns
Type Description
string

setName

The resource name.

Parameter
Name Description
var string
Returns
Type Description
$this

getType

the accelerator type.

Returns
Type Description
string

setType

the accelerator type.

Parameter
Name Description
var string
Returns
Type Description
$this