class ProjectsLocationsNetworkPeeringsPeeringRoutes extends Resource (View source)

The "peeringRoutes" collection of methods.

Typical usage is:

 $vmwareengineService = new Google\Service\VMwareEngine(...);
 $peeringRoutes = $vmwareengineService->projects_locations_networkPeerings_peeringRoutes;

Methods

listProjectsLocationsNetworkPeeringsPeeringRoutes(string $parent, array $optParams = [])

Lists the network peering routes exchanged over a peering connection.

Details

ListPeeringRoutesResponse listProjectsLocationsNetworkPeeringsPeeringRoutes(string $parent, array $optParams = [])

Lists the network peering routes exchanged over a peering connection.

NetworkPeering is a global resource and location can only be global. (peeringRoutes.listProjectsLocationsNetworkPeeringsPeeringRoutes)

Parameters

string $parent

Required. The resource name of the network peering to retrieve peering routes from. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. For example: projects/my-project/locations/global/networkPeerings/my-peering

array $optParams

Optional parameters.

Return Value

ListPeeringRoutesResponse

Exceptions

Exception