* $datalabelingService = new Google\Service\DataLabeling(...); * $projects = $datalabelingService->projects; * */ class Projects extends \Google\Service\Resource { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Projects::class, 'Google_Service_DataLabeling_Resource_Projects');