Google Cloud Tpu V1 Client - Class ListNodesRequest (1.2.0)

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

Request for ListNodes.

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

Namespace

Google \ Cloud \ Tpu \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource name.

↳ page_size int

The maximum number of items to return.

↳ page_token string

The next_page_token value returned from a previous List request, if any.

getParent

Required. The parent resource name.

Returns
TypeDescription
string

setParent

Required. The parent resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of items to return.

Returns
TypeDescription
int

setPageSize

The maximum number of items to return.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The next_page_token value returned from a previous List request, if any.

Returns
TypeDescription
string

setPageToken

The next_page_token value returned from a previous List request, if any.

Parameter
NameDescription
var string
Returns
TypeDescription
$this