public function getService($service_name, \Google_Client $client)
    {
        $this->library->load('gapi');

        $class = "Google_Service_$service_name";

        if (!class_exists($class)) {
            throw new LogicException("Class $class not found");
        }

        return new $class($client);
    }