Google Cloud Hypercompute Cluster V1beta Client - Class ListNodesRequest (0.6.0)

Reference documentation and code samples for the Google Cloud Hypercompute Cluster V1beta Client class ListNodesRequest.

Request message for ListNodes.

Generated from protobuf message google.cloud.hypercomputecluster.v1beta.ListNodesRequest

Namespace

Google \ Cloud \ HypercomputeCluster \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. Parent cluster of the nodes to list, in the format projects/{project}/locations/{location}/clusters/{cluster}.

↳ page_size int

Optional. Maximum number of nodes to return. The service may return fewer than this value.

↳ page_token string

Optional. A page token received from a previous ListNodes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListNodes must match the call that provided the page token.

↳ filter string

Optional. Filter to apply to the returned results.

↳ order_by string

Optional. How to order the resulting nodes. Must be one of the following strings: * * name * * name desc If not specified, nodes will be returned in an arbitrary order.

getParent

Required. Parent cluster of the nodes to list, in the format projects/{project}/locations/{location}/clusters/{cluster}.

Returns
Type Description
string

setParent

Required. Parent cluster of the nodes to list, in the format projects/{project}/locations/{location}/clusters/{cluster}.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

Optional. Maximum number of nodes to return. The service may return fewer than this value.

Returns
Type Description
int

setPageSize

Optional. Maximum number of nodes to return. The service may return fewer than this value.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

Optional. A page token received from a previous ListNodes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListNodes must match the call that provided the page token.

Returns
Type Description
string

setPageToken

Optional. A page token received from a previous ListNodes call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to ListNodes must match the call that provided the page token.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

Optional. Filter to apply to the returned results.

Returns
Type Description
string

setFilter

Optional. Filter to apply to the returned results.

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderBy

Optional. How to order the resulting nodes. Must be one of the following strings:

  • name
  • name desc If not specified, nodes will be returned in an arbitrary order.
Returns
Type Description
string

setOrderBy

Optional. How to order the resulting nodes. Must be one of the following strings:

  • name
  • name desc If not specified, nodes will be returned in an arbitrary order.
Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. Parent cluster of the nodes to list, in the format projects/{project}/locations/{location}/clusters/{cluster}. Please see HypercomputeClusterClient::clusterName() for help formatting this field.

Returns
Type Description
ListNodesRequest