Google Cloud Tpu V2 Client - Class ListNodesResponse (1.2.0)

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

Response for ListNodes.

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

Namespace

Google \ Cloud \ Tpu \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ nodes array<Google\Cloud\Tpu\V2\Node>

The listed nodes.

↳ next_page_token string

The next page token or empty if none.

↳ unreachable array

Locations that could not be reached.

getNodes

The listed nodes.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setNodes

The listed nodes.

Parameter
NameDescription
var array<Google\Cloud\Tpu\V2\Node>
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