* $cloudfunctionsService = new Google\Service\CloudFunctions(...); * $runtimes = $cloudfunctionsService->projects_locations_runtimes; * */ class ProjectsLocationsRuntimes extends \Google\Service\Resource { /** * Returns a list of runtimes that are supported for the requested project. * (runtimes.listProjectsLocationsRuntimes) * * @param string $parent Required. The project and location from which the * runtimes should be listed, specified in the format `projects/locations` * @param array $optParams Optional parameters. * * @opt_param string filter The filter for Runtimes that match the filter * expression, following the syntax outlined in https://google.aip.dev/160. * @return ListRuntimesResponse * @throws \Google\Service\Exception */ public function listProjectsLocationsRuntimes($parent, $optParams = []) { $params = ['parent' => $parent]; $params = array_merge($params, $optParams); return $this->call('list', [$params], ListRuntimesResponse::class); } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocationsRuntimes::class, 'Google_Service_CloudFunctions_Resource_ProjectsLocationsRuntimes');