'Roll back a transaction
see https://cloud.google.com/datastore/docs/apis/v1beta2/datasets/rollback
:param transaction: the transaction to roll back'

def rollback(self, transaction):

    self.connection.datasets().rollback(datasetId=self.dataset_id, body={'transaction': transaction}).execute()
