public function replaceBatchTags($batchId, array $tags)
    {
        $json = Serialize::tags($tags);
        $result = $this->_put($this->_batchUrl($batchId, '/tags'), $json);
        return Deserialize::tags($result);
    }
public function replaceBatchTags($batchId, array $tags)
    {
        $json = Serialize::tags($tags);
        $result = $this->_put($this->_batchUrl($batchId, '/tags'), $json);
        return Deserialize::tags($result);
    }
public function replaceBatchTags ( $ batchId , array $ tags ) { $ json = Serialize :: tags ( $ tags ) ; $ result = $ this -> _put ( $ this -> _batchUrl ( $ batchId , '/tags' ) , $ json ) ; return Deserialize :: tags ( $ result ) ; }
Replaces the tags of the given batch.

@param string   $batchId identifier of the batch
@param string[] $tags    the new set of batch tags

@return string[] the new batch tags
Replaces the tags of the given batch .