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