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