listPeeringRoutes method
Future<ExchangedPeeringRoutesList>
listPeeringRoutes(
- ListPeeringRoutesNetworksRequest request
override
Lists the peering routes exchanged over peering connection.
Throws a http.ClientException if there were problems communicating with
the API service. Throws a ServiceException if the API method failed for
any reason.
Implementation
@override
Future<ExchangedPeeringRoutesList> listPeeringRoutes(
ListPeeringRoutesNetworksRequest request,
) async {
if (isClosed) throw StateError('Service is closed');
if (_listPeeringRoutes case final listPeeringRoutes?) {
return listPeeringRoutes(request);
}
throw UnsupportedError('listPeeringRoutes');
}