def restore_snapshot(snapshot_id)
      ProfitBricks.request(
        method: :post,
        path: "/datacenters/#{datacenterId}/volumes/#{id}/restore-snapshot",
        headers: { 'Content-Type' => 'application/x-www-form-urlencoded' },
        expects: 202,
        body: URI.encode_www_form(snapshotId: snapshot_id)
      )
    end
def restore_snapshot(snapshot_id)
      ProfitBricks.request(
        method: :post,
        path: "/datacenters/#{datacenterId}/volumes/#{id}/restore-snapshot",
        headers: { 'Content-Type' => 'application/x-www-form-urlencoded' },
        expects: 202,
        body: URI.encode_www_form(snapshotId: snapshot_id)
      )
    end
Restore snapshot to volume.

 ==== Parameters
 * +snapshot_id+<String>: Universally unique identifer of snapshot resource

 ==== Returns
 * +true+<Boolean>