* $vmwareengineService = new Google\Service\VMwareEngine(...); * $peeringRoutes = $vmwareengineService->projects_locations_privateConnections_peeringRoutes; * */ class ProjectsLocationsPrivateConnectionsPeeringRoutes extends \Google\Service\Resource { /** * Lists the private connection routes exchanged over a peering connection. * (peeringRoutes.listProjectsLocationsPrivateConnectionsPeeringRoutes) * * @param string $parent Required. The resource name of the private connection * 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/us-west1/privateConnections/my-connection` * @param array $optParams Optional parameters. * * @opt_param int pageSize The maximum number of peering routes to return in one * page. The service may return fewer than this value. The maximum value is * coerced to 1000. The default value of this field is 500. * @opt_param string pageToken A page token, received from a previous * `ListPrivateConnectionPeeringRoutes` call. Provide this to retrieve the * subsequent page. When paginating, all other parameters provided to * `ListPrivateConnectionPeeringRoutes` must match the call that provided the * page token. * @return ListPrivateConnectionPeeringRoutesResponse * @throws \Google\Service\Exception */ public function listProjectsLocationsPrivateConnectionsPeeringRoutes($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListPrivateConnectionPeeringRoutesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsPrivateConnectionsPeeringRoutes::class, 'Google_Service_VMwareEngine_Resource_ProjectsLocationsPrivateConnectionsPeeringRoutes');