Google Cloud Tpu V2 Client - Class ListAcceleratorTypesResponse (1.1.1)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAcceleratorTypes

The listed nodes.

Parameter
NameDescription
var array<Google\Cloud\Tpu\V2\AcceleratorType>
Returns
TypeDescription
$this

getNextPageToken

The next page token or empty if none.

Returns
TypeDescription
string

setNextPageToken

The next page token or empty if none.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getUnreachable

Locations that could not be reached.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnreachable

Locations that could not be reached.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this