'Internal method used as get_result_hook for AllocateIds call.'

def __v1_put_allocate_ids_hook(self, rpc):

    self.check_rpc_success(rpc)
    v1_resp = rpc.response
    return self.__v1_build_put_result(list(v1_resp.keys), rpc.user_data)
