- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists the Network Connectivity Center hubs associated with a given project.
HTTP request
GET https://networkconnectivity.googleapis.com/v1alpha1/{parent=projects/*/locations/global}/hubs
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
parent |
Required. The parent resource's name. Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
pageSize |
The maximum number of results per page that should be returned. |
pageToken |
The page token. |
filter |
A filter expression that filters the results listed in the response. |
orderBy |
Sort the results by a certain order. |
Request body
The request body must be empty.
Response body
Response for HubService.ListHubs
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"hubs": [
{
object ( |
Fields | |
---|---|
hubs[] |
Hubs to be returned. |
nextPageToken |
The next pagination token in the List response. It should be used as pageToken for the following request. An empty value means no more result. |
unreachable[] |
Locations that could not be reached. |
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.