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

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 that should be returned.

↳ page_token string

The page token.

↳ filter string

An expression that filters the results listed in the response.

↳ 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 that should be returned.

Returns
TypeDescription
int

setPageSize

The maximum number of results per page that should be returned.

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 results listed in the response.

Returns
TypeDescription
string

setFilter

An expression that filters the results listed in the response.

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