"minAccessRole" 在 Google 日历 API 上,顺序是什么?

"minAccessRole" on Google Calendar API, what is the order?

根据 Google 日历 API v3 你可以设置 minAccessRole;

The minimum access role for the user in the returned entries. Optional. The default is no restriction.

有4个值;

我要解决的问题是,顺序是什么?如果设置 minAccessRole,我应该查看哪些日历?

这看起来很明显,但是他们写的顺序让我很反感,因为 reader 角色似乎夹在 writerowner 之间,但似乎不是对我来说是正确的。

我想我必须承认该命令具有误导性。以下顺序可能更明智。在 Sharing and Attendees 页面上找到的信息可能更准确。

The owners of a calendar can share the calendar by giving access to other users. The sharing settings of a given calendar are represented by the ACL collection (access control list) of that calendar. Each resource in the ACL collection grants a specified grantee a certain access role, which is one of those listed in the following table:

  • none 不提供访问权限。
  • freeBusyReader 允许受让人查看日历在给定时间是空闲还是忙碌,但不允许访问事件详细信息。 Free/busy 可以使用 freeBusy.query 操作检索信息。
  • reader 允许受让人读取日历上的事件。
  • writer 允许受让人在日历上读取和写入事件。
  • owner 提供日历的所有权。此角色拥有写入者角色的所有权限,并具有查看和操作 ACL 的额外能力。