* $ondemandscanningService = new Google\Service\OnDemandScanning(...); * $locations = $ondemandscanningService->locations; * */ class ProjectsLocations extends \Google\Service\Resource { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ProjectsLocations::class, 'Google_Service_OnDemandScanning_Resource_ProjectsLocations');