Google Calendar API 概览
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Google 日历 API 是一种 RESTful API,可通过显式 HTTP 调用或使用 Google 客户端库进行访问。该 API 可公开 Google 日历网页界面中提供的大多数功能。
以下是 Google Calendar API 中使用的常见术语的列表:
- 活动
- 日历中的活动,包含标题、开始时间和结束时间以及参加者等信息。活动可以是一次性活动,也可以是重复性活动。活动由 Event 资源表示。
- 日历
- 事件集合。每个日历都有关联的元数据,例如日历说明或默认日历时区。单个日历的元数据由日历资源表示。
- 日历列表
- 日历界面中用户日历列表上的所有日历的列表。日历列表中显示的单个日历的元数据由 CalendarListEntry 资源表示。
此元数据包括日历的用户专用属性,例如日历的颜色或新活动的通知。
- 设置
- 日历界面中的用户偏好设置,例如用户的时区。单个用户偏好设置由设置资源表示。
- ACL
- 一种访问权限控制规则,用于向用户(或一组用户)授予对日历的指定访问权限级别。单个访问权限控制规则由 ACL 资源表示。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-04。
[null,null,["最后更新时间 (UTC):2025-08-04。"],[],[],null,["# Google Calendar API overview\n\nThe Google Calendar API is a RESTful API that can be accessed through explicit HTTP\ncalls or using the Google Client Libraries. The API exposes most of the features\navailable in the Google Calendar Web interface.\n\nFollowing is a list of common terms used in the Google Calendar API:\n\n*[Event](/workspace/calendar/v3/reference/events)*\n: An event on a calendar containing information such as the title, start and end\n times, and attendees. Events can be either single events or [recurring\n events](/workspace/calendar/concepts/events-calendars#recurring_events). An event is\n represented by an\n [Event resource](/workspace/calendar/v3/reference/events#resource-representations).\n\n*[Calendar](/workspace/calendar/v3/reference/calendars)*\n: A collection of events. Each calendar has associated metadata, such as\n calendar description or default calendar time zone. The metadata for a single\n calendar is represented by a\n [Calendar resource](/workspace/calendar/v3/reference/calendars).\n\n*[Calendar List](/workspace/calendar/v3/reference/calendarList)*\n: A list of all calendars on a user's calendar list in the Calendar UI. The\n metadata for a single calendar that appears on the calendar list is represented\n by a\n [CalendarListEntry resource](/workspace/calendar/v3/reference/calendarList).\n This metadata includes user-specific properties of the calendar, such\n as its color or notifications for new events.\n\n*[Setting](/workspace/calendar/v3/reference/settings)*\n: A user preference from the Calendar UI, such as the user's\n time zone. A single user preference is represented by a\n [Setting Resource](/workspace/calendar/v3/reference/settings).\n\n*[ACL](/workspace/calendar/v3/reference/acl)*\n: An access control rule granting a user (or a group of users) a specified level\n of access to a calendar. A single access control rule is represented by an [ACL\n resource](/workspace/calendar/v3/reference/acl).\n\nRelated topics\n--------------\n\n- To learn about developing with Google Workspace APIs, including handling\n authentication and authorization, refer\n to\n [Get started as a Google Workspace developer](/workspace/guides/getstarted-overview).\n\n- To learn how to configure and run a simple Google Calendar API app, read the\n [Quickstarts overview](/workspace/calendar/quickstarts-overview).\n\n|---|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| | Want to see the Google Calendar API in action? The Google Workspace Developers channel offers videos about tips, tricks, and the latest features. [Subscribe now](https://www.youtube.com/channel/UCUcg6az6etU_gRtZVAhBXaw) |"]]