* $domainsService = new Google\Service\CloudDomains(...); * $projects = $domainsService->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_CloudDomains_Resource_Projects');