總覽

Gemini Enterprise 的 Google 日曆連接器可讓您搜尋活動和日曆,並執行相關操作。

支援的 Google 日曆版本

Google 日曆資料儲存庫支援 Google 日曆 v3 以上版本。

支援的動作

啟用 Google 日曆資料儲存庫後,使用者可在 Gemini Enterprise 中使用自然語言指令執行下列操作。

下列動作會讀取 Google 日曆資料,且預設為啟用:

動作 說明
取得事件 依 ID 擷取 Google 日曆活動。
列出事件 列出 Google 日曆中的活動。
搜尋事件 搜尋符合查詢條件的 Google 日曆活動。
列出日曆 列出使用者 Google 日曆帳戶中的日曆。
建議時間 根據與會者的有空/忙碌資料,建議會議時間。

下列動作會變更 Google 日曆資料,根據預設,這些動作會處於關閉狀態,直到管理員啟用為止:

動作 說明
建立事件 建立新的 Google 日曆活動。
更新活動 更新現有的 Google 日曆活動。
刪除事件 刪除現有的 Google 日曆活動。
回覆活動 回覆 Google 日曆活動邀請。

動作會以授權連接器的使用者權限執行。使用者只能讀取及變更他們在 Google 日曆中已有權限讀取及變更的資料。

必要範圍

Google代管的 OAuth 應用程式會要求下列 OAuth 範圍。使用者授權連接器時,會授予下列範圍:

範圍 目的
https://www.googleapis.com/auth/calendar.calendarlist.readonly 列出使用者 Google 日曆帳戶中的日曆。
https://www.googleapis.com/auth/calendar.events.readonly 讀取及搜尋 Google 日曆活動。
https://www.googleapis.com/auth/calendar.readonly 讀取 Google 日曆中繼資料和活動附件。
https://www.googleapis.com/auth/calendar.events 建立、更新、刪除及回覆 Google 日曆活動。
https://www.googleapis.com/auth/calendar.events.freebusy 查詢與會者的有空/忙碌資料,建議會議時間。
https://www.googleapis.com/auth/calendar.freebusy 查詢日曆的有空/忙碌資訊。
https://www.googleapis.com/auth/calendar 對 Google 日曆資料執行寫入作業。

限制

  • Google 日曆資料儲存庫僅支援 global、us 和 eu 位置。

  • 建立新應用程式或在現有應用程式中新增資料儲存庫時,建議只將一個資料儲存庫與單一連接器類型的動作建立關聯。

後續步驟