* $pubsubliteService = new Google\Service\PubsubLite(...); * $topicStats = $pubsubliteService->topicStats; * */ class TopicStats extends \Google\Service\Resource { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(TopicStats::class, 'Google_Service_PubsubLite_Resource_TopicStats');