Google Cloud Tpu V1 Client - Class ListNodesResponse (1.4.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

Namespace

Google \ Cloud \ Tpu \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\RepeatedField

setNodes

The listed nodes.

Parameter
Name Description
var array<Google\Cloud\Tpu\V1\Node>
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