Google Cloud Network Connectivity V1 Client - Class ListHubsRequest (2.1.1)

Reference documentation and code samples for the Google Cloud Network Connectivity V1 Client class ListHubsRequest.

Request for HubService.ListHubs method.

Generated from protobuf message google.cloud.networkconnectivity.v1.ListHubsRequest

Namespace

Google \ Cloud \ NetworkConnectivity \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ parent string

Required. The parent resource's name.

↳ page_size int

The maximum number of results per page to return.

↳ page_token string

The page token.

↳ filter string

An expression that filters the list of results.

↳ order_by string

Sort the results by a certain order.

getParent

Required. The parent resource's name.

Returns
Type Description
string

setParent

Required. The parent resource's name.

Parameter
Name Description
var string
Returns
Type Description
$this

getPageSize

The maximum number of results per page to return.

Returns
Type Description
int

setPageSize

The maximum number of results per page to return.

Parameter
Name Description
var int
Returns
Type Description
$this

getPageToken

The page token.

Returns
Type Description
string

setPageToken

The page token.

Parameter
Name Description
var string
Returns
Type Description
$this

getFilter

An expression that filters the list of results.

Returns
Type Description
string

setFilter

An expression that filters the list of results.

Parameter
Name Description
var string
Returns
Type Description
$this

getOrderBy

Sort the results by a certain order.

Returns
Type Description
string

setOrderBy

Sort the results by a certain order.

Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
parent string

Required. The parent resource's name. Please see HubServiceClient::locationName() for help formatting this field.

Returns
Type Description
ListHubsRequest