---
title: "GET /v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/peeringRoutes"
method: GET
path: "/v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/peeringRoutes"
tags: ["projects"]
---

# GET /v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/peeringRoutes

`GET /v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/peeringRoutes`

## Request

- Base URL: `https://vmwareengine.googleapis.com`
- URL: `https://vmwareengine.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/privateConnections/{privateConnectionsId}/peeringRoutes`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/cloud-platform`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`

Lists the private connection routes exchanged over a peering connection.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `privateConnectionsId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string
- `pageSize` integer
- `pageToken` string

## Response `200`

Successful response

- ListPrivateConnectionPeeringRoutesResponse: Response message for VmwareEngine.ListPrivateConnectionPeeringRoutes
  - `nextPageToken` string: A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
  - `peeringRoutes` PeeringRoute[]: A list of peering routes.
    - `destRange` string: Output only. Destination range of the peering route in CIDR notation.
    - `direction` 'DIRECTION_UNSPECIFIED' | 'INCOMING' | 'OUTGOING': Output only. Direction of the routes exchanged with the peer network, from the VMware Engine network perspective: * Routes of direction `INCOMING` are imported from the peer network. * Routes of direction `OUTGOING` are exported from the intranet VPC network of the VMware Engine network.
    - `imported` boolean: Output only. True if the peering route has been imported from a peered VPC network; false otherwise. The import happens if the field `NetworkPeering.importCustomRoutes` is true for this network, `NetworkPeering.exportCustomRoutes` is true for the peer VPC network, and the import does not result in a route conflict.
    - `nextHopRegion` string: Output only. Region containing the next hop of the peering route. This field only applies to dynamic routes in the peer VPC network.
    - `priority` string, int64: Output only. The priority of the peering route.
    - `type` 'TYPE_UNSPECIFIED' | 'DYNAMIC_PEERING_ROUTE' | 'STATIC_PEERING_ROUTE' | 'SUBNET_PEERING_ROUTE': Output only. Type of the route in the peer VPC network.

---

[API](https://skmtc.dev/google/apis/vmwareengine.md) - [All operations](https://skmtc.dev/google/apis/vmwareengine/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/vmwareengine/revisions/fe35a276b8e1?raw)
