# Google 日历

Sesami 会将预订同步到 Google 日历，这样您的团队就可以在个人日程旁查看预约。

## 工作原理

* Sesami 会在 Google 日历内为每个资源创建一个单独的日历
* 预订将显示为 **仅供查看** 事件——取消和重新安排必须通过 Sesami 完成
* **双向同步**：Sesami 事件会显示在 Google 日历中，而在 Google 日历中标记为“忙碌”的事件会在 Sesami 中阻止可用性
* 仅同步当前和未来的事件——过去的预订不会同步

## 启用 Google 日历同步

{% stepper %}
{% step %}
导航到该资源

前往：Sesami > 团队 / 资源 > \[选择一个资源] > 高级 > Google 日历同步
{% endstep %}

{% step %}
连接一个 Google 帐户

点击连接并使用 Gmail 帐户登录。请确保在授权流程中启用所有权限复选框。
{% endstep %}

{% step %}
完成

该资源的预订现在将显示在 Google 日历中。
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
每个资源都必须连接到一个 **唯一的** Gmail 地址。您无法将同一个邮箱同步到多个资源。
{% endhint %}

## 从 Google 日历阻止可用时间

要使用您的 Google 日历在 Sesami 中屏蔽时间：

1. 在您的 **主日历** （在“我的日历”下）
2. 将事件状态设为 **忙碌**

{% hint style="info" %}

* “其他日历”下的事件将会 **不会** 阻止 Sesami 可用性
* 标记为“空闲”的事件将会 **不会** 阻止 Sesami 可用性
  {% endhint %}

## 跨资源共享日历

如果您需要经理或管理员在一个地方查看所有预订：

1. **汇总日历**：让每个资源将他们的 Google 日历连接到 Sesami，然后使用 [Google 日历共享](https://support.google.com/calendar/answer/37082) 将每个日历共享给一个中央帐户
2. **使用 Zapier 自动化**：使用 Zapier 来 [在 Google 日历之间复制事件](https://zapier.com/apps/google-calendar/integrations/google-calendar) 这样预订就会显示在其他团队成员的主日历上

{% hint style="info" %}
日历共享和 Zapier 集成是在 Sesami 之外管理的。我们可以帮助指导设置——联系 <help@sesami.co>.
{% endhint %}

## 故障排除

* **预订没有显示？** 请确认在 Google 登录期间已授予所有权限。尝试断开后重新连接。
* **没有同步到 Apple 设备？** 请参阅 [适用于 macOS、iOS 的 Google 日历](/zh-cn/apps-integrations/google-calendar/google-calendar-with-macos-os-x-ios-iphone-ipad.md)

## 相关

* [适用于 macOS、iOS（iPhone/iPad）的 Google 日历](/zh-cn/apps-integrations/google-calendar/google-calendar-with-macos-os-x-ios-iphone-ipad.md) — 修复与 Apple 设备的同步
* [资源可用性](/zh-cn/yu-yue/availability/resource-availability.md) — 管理资源日程
* [通知邮件](/zh-cn/tong-zhi/notification-emails.md) — 电子邮件中的日历事件（.ics）附件

{% embed url="<https://www.youtube-nocookie.com/embed/8zwtCsVqRHc>" %}
使用 Sesami 设置 Google 日历同步
{% endembed %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.sesami.co/zh-cn/apps-integrations/google-calendar.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
