--- title: "GOG CLI配置" type: source tags: [] date: 2026-03-15 --- ## Source File - [[raw/Skills/GOG-CLI-安装配置指南.md]] ## Summary - 核心主题:gog CLI安装配置完整指南 - 问题域:Google Workspace命令行管理 - 方法/机制:通过Homebrew安装、OAuth授权、Google Cloud Console配置API - 结论/价值:实现Gmail、Google Calendar、Google Drive、Google Contacts、Google Docs/Sheets的命令行管理 ## Key Claims - gog CLI通过Homebrew安装后需配置OAuth凭证才能使用 - Google API调用需同时满足OAuth授权和API Enablement两层条件 - 需要在Google Cloud Console添加测试用户绕过"此应用未经Google验证"限制 - 每个Google API服务需单独启用(如Gmail API、Drive API等) ## Key Concepts - [[OAuth授权]]:Google身份认证流程 - [[GoogleWorkspace]]:Gmail、Calendar、Drive等企业级Google服务套件 - [[CLI工具]]:命令行界面工具实现自动化 ## Key Entities - [[gogCLI]]:Google Workspace CLI工具 - [[GoogleCloudConsole]]:Google API管理平台 ## Connections - [[GoogleWorkspace]] ← managed_by ← [[gogCLI]] ## Contradictions - 无冲突