def update_snapshot_policy(self, name, policy):
    """
    Update a snapshot policy.

    @param name: The name of the snapshot policy to update.
    @param policy: The modified snapshot policy.
    @return: The updated snapshot policy.
    @since: API v6
    """
    return self._put("snapshots/policies/%s" % name, ApiSnapshotPolicy, data=policy,
        api_version=6)