Google Cloud Tpu V2 Client - Class ListAcceleratorTypesResponse (1.4.4)

Reference documentation and code samples for the Google Cloud Tpu V2 Client class ListAcceleratorTypesResponse.

Response for ListAcceleratorTypes.

Generated from protobuf message google.cloud.tpu.v2.ListAcceleratorTypesResponse

Namespace

Google \ Cloud \ Tpu \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ accelerator_types array<Google\Cloud\Tpu\V2\AcceleratorType>

The listed nodes.

↳ next_page_token string

The next page token or empty if none.

↳ unreachable array

Locations that could not be reached.

getAcceleratorTypes

The listed nodes.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAcceleratorTypes

The listed nodes.

Parameter
Name Description
var array<Google\Cloud\Tpu\V2\AcceleratorType>
Returns
Type Description
$this

getNextPageToken

The next page token or empty if none.

Returns
Type Description
string

setNextPageToken

The next page token or empty if none.

Parameter
Name Description
var string
Returns
Type Description
$this

getUnreachable

Locations that could not be reached.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
Name Description
var string[]
Returns
Type Description
$this