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

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
NameDescription
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
TypeDescription
string

setParent

Required. The parent resource's name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPageSize

The maximum number of results per page to return.

Returns
TypeDescription
int

setPageSize

The maximum number of results per page to return.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getPageToken

The page token.

Returns
TypeDescription
string

setPageToken

The page token.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getFilter

An expression that filters the list of results.

Returns
TypeDescription
string

setFilter

An expression that filters the list of results.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getOrderBy

Sort the results by a certain order.

Returns
TypeDescription
string

setOrderBy

Sort the results by a certain order.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

static::build

Parameter
NameDescription
parent string

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

Returns
TypeDescription
Google\Cloud\NetworkConnectivity\V1\ListHubsRequest