* $adminService = new Google\Service\Directory(...); * $devices = $adminService->devices; * */ class CustomerDevices extends \Google\Service\Resource { } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CustomerDevices::class, 'Google_Service_Directory_Resource_CustomerDevices');