Retrieves a NetworkPeering resource by its resource name. The resource contains details of the network peering, such as peered networks, import and export custom route configurations, and peering state.

HTTP request


The URL uses gRPC Transcoding syntax.

Path parameters



Required. The resource name of the network peering to retrieve. Resource names are schemeless URIs that follow the conventions in For example: projects/my-project/locations/global/networkPeerings/my-peering

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of NetworkPeering.

Authorization scopes

Requires the following OAuth scope:


For more information, see the Authentication Overview.