* $texttospeechService = new Google\Service\Texttospeech(...); * $locations = $texttospeechService->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_Texttospeech_Resource_ProjectsLocations');