def mutate(self, mutation, timeout=None, metadata=None, credentials=None):
        """Runs mutate operation."""
        return self.stub.Mutate(mutation, timeout=timeout, metadata=metadata,
                                credentials=credentials)