public function restoreSnapshot($repository, $name, $options = [], $waitForCompletion = false)
    {
        $endpoint = new Restore();
        $endpoint->setRepository($repository);
        $endpoint->setSnapshot($name);
        $endpoint->setBody($options);
        $endpoint->setParams(['wait_for_completion' => $waitForCompletion]);

        return $this->_client->requestEndpoint($endpoint);
    }