'Synchronous AllocateIds operation to reserve the given keys.
Sends one or more v4 AllocateIds rpcs with keys to reserve.
Reserved keys must be complete and must have valid ids.
Args:
keys: Iterable of user-level keys.'

def _reserve_keys(self, keys):

    self._async_reserve_keys(None, keys).get_result()
