- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Lists route tables in a given hub.
HTTP request
GET https://networkconnectivity.googleapis.com/v1/{parent=projects/*/locations/global/hubs/*}/routeTables
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 to return per page. |
pageToken |
The page token. |
filter |
An expression that filters the list of results. |
orderBy |
Sort the results by a certain order. |
Request body
The request body must be empty.
Response body
Response for HubService.ListRouteTables
method.
If successful, the response body contains data with the following structure:
JSON representation |
---|
{
"routeTables": [
{
object ( |
Fields | |
---|---|
routeTables[] |
The requested route tables. |
nextPageToken |
The token for the next page of the response. To see more results, use this value as the pageToken for your next request. If this value is empty, there are no more results. |
unreachable[] |
Hubs 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.