Google Cloud Tpu V1 Client - Class ListNodesResponse (1.0.5)

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

Response for ListNodes.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ nodes array<Google\Cloud\Tpu\V1\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\V1\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