* $ondemandscanningService = new Google\Service\OnDemandScanning(...); * $projects = $ondemandscanningService->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_OnDemandScanning_Resource_Projects');