Calendar API 资源类型
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
日历 API 背景
日历概念
Google 日历基于以下几个基本概念:
- 事件
- 日历上的单个活动,其中包含活动标题、开始时间和结束时间以及参加者等信息。
- 日历
- 包含日历元数据(例如说明)的单个日历条目。
- 日历列表
- 日历界面中用户日历列表中所有日历的列表。
- 设置
- 日历界面的用户偏好设置,例如用户的时区。
- ACL
- 一条访问权限控制规则,其中包含规则的类型和范围等信息。
日历 API 数据模型
资源是具有唯一标识符的单个数据实体。Calendar API 基于五种类型的资源运行:
- 事件资源
- 表示日历上的单个活动。
- 日历资源
- 表示单个日历的元数据。
- 日历列表资源
- 表示界面中用户日历列表中显示的单个日历的元数据。
- 设置资源
- 表示日历界面中的单个用户偏好设置。
- ACL 资源
- 表示 ACL。
Google 日历 API 数据模型基于资源组(称为集合):
- 活动收集
- 包含特定日历资源中的所有活动资源。
- CalendarList 集合
- 包含特定用户的所有 CalendarList 资源。
- 设置集合
- 包含特定用户的所有设置资源。
- ACL 集合
- 包含应用于特定日历的所有 ACL 资源。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-29。
[null,null,["最后更新时间 (UTC):2025-08-29。"],[],[],null,["# Calendar API Resource Types\n\nCalendar API background\n-----------------------\n\n### Calendar concepts\n\nGoogle Calendar is built on several basic concepts:\n\nEvent\n: A single event on a calendar containing information such as the title of event, start and end times, and attendees.\n\nCalendar\n: A single calendar entry containing metadata for the calendar such as a description.\n\nCalendar List\n: A list of all calendars on a user's calendar list in the Calendar UI.\n\nSetting\n: A user preference from the Calendar UI, such as the user's time zone.\n\nACL\n: A single access control rule containing information such as the type and scope of the rule.\n\n### Calendar API data model\n\nA resource is an individual data entity with a unique identifier. The Calendar API operates on five types of resources:\n\nEvent Resource\n: Represents a single event on a calendar.\n\nCalendars Resource\n: Represents metadata for an individual calendar.\n\nCalendarList Resource\n: Represents metadata for an individual calendar that appears on the user's calendar list in the UI.\n\nSettings Resource\n: Represents a single user preference from the Calendar UI.\n\nACL Resource\n: Represents an ACL.\n\nThe Calendar API data model is based on groups of resources, called collections:\n\nEvents Collection\n: Consists of all the Event Resources within a specific Calendar Resource.\n\nCalendarList Collection\n: Consists of all the CalendarList Resources for a specific user.\n\nSettings Collection\n: Consists of all the Settings Resources for a specific user.\n\nACL Collection\n: Consists of all the ACL Resources applied to a specific calendar."]]