You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Google Calendar API:calendar.events.freebusy与calendar.freebusy权限范围差异咨询

Google Calendar权限范围calendar.events.freebusy与calendar.freebusy的区别
  • 权限维度不同

    • calendar.freebusy是日历级的忙闲查询权限:授权后可获取指定日历下所有事件的忙闲状态,但拿不到任何事件的具体内容(比如标题、参会人、地点)。
    • calendar.events.freebusy是事件级的忙闲查询权限:从事件维度授权访问忙闲数据,核心功能和前者重叠,但权限粒度更细。
  • 实际功能的重叠与差异
    两者在实际使用中都能实现忙闲状态查询的需求,但calendar.freebusy的权限覆盖范围是整个日历,而calendar.events.freebusy更聚焦于单个事件的忙闲属性。不过Google官方对这两个权限的描述确实模糊,导致容易混淆。

  • 场景选择建议

    • 若只需查询用户某日历的整体忙闲情况,选calendar.freebusy就足够;
    • 若应用逻辑更偏向针对特定事件的忙闲管理,calendar.events.freebusy是更精准的权限选项,但实际效果和前者无本质区别。

内容的提问来源于stack exchange,提问作者Yusif

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.31 14:55:26