googleapis: add support for local discovery