透過 Gemini Enterprise 的 Google Chat 連接器,您可以使用自然語言指令搜尋及處理 Google Chat 資料。
支援的動作
啟用 Google Chat 資料儲存庫後,使用者就能在 Gemini Enterprise 中使用自然語言指令執行下列動作。
| 動作 | 說明 |
|---|---|
| 傳送訊息 | 將 Google Chat 即時通訊訊息傳送至對話。 |
| 傳送訊息 (Markdown) | 將 Google Chat 即時通訊訊息傳送至對話,並套用 Markdown 格式。 |
| 列出訊息 | 從指定的 Google Chat 對話 (聊天室、即時訊息或群組即時訊息) 擷取訊息。 |
| 列出訊息 (Markdown) | 以 Markdown 格式從指定的 Google Chat 對話擷取訊息。 |
| 搜尋訊息 | 使用關鍵字和篩選器搜尋 Google Chat 訊息。適用於使用者可存取的所有聊天室,或可限定於特定對話。 |
| 搜尋對話 | 依顯示名稱搜尋 Google Chat 對話。 |
| 建立對話 | 建立 Google Chat 對話 (命名聊天室、即時訊息或群組即時訊息)。 |
| 新增回應 | 在 Google Chat 即時通訊訊息中新增回應。 |
| 移除回應 | 從 Google Chat 即時通訊訊息中移除回應。 |
| 新增會員 | 將成員新增至 Google Chat 對話。 |
| 移除會員 | 從 Google Chat 對話中移除使用者成員。 |
| 更新會籍 | 更新 Google Chat 對話中的使用者成員資格。 |
| 列出成員資格 | 列出 Google Chat 對話中的成員。 |
所需權限
Google管理的 OAuth 應用程式要求下列 OAuth 範圍。 使用者授權連接器時,會授予下列範圍:
| 範圍 | 目的 |
|---|---|
https://www.googleapis.com/auth/chat.spaces.readonly |
列出及搜尋 Google Chat 對話。 |
https://www.googleapis.com/auth/chat.messages.readonly |
讀取及搜尋 Google Chat 訊息。 |
https://www.googleapis.com/auth/chat.memberships.readonly |
列出 Google Chat 對話中的成員。 |
https://www.googleapis.com/auth/chat.users.readstate.readonly |
讀取使用者在 Google Chat 訊息中的已讀狀態。 |
https://www.googleapis.com/auth/chat.messages.create |
傳送 Google Chat 訊息。 |
https://www.googleapis.com/auth/chat.spaces.create |
建立 Google Chat 對話。 |
https://www.googleapis.com/auth/chat.memberships |
在 Google Chat 對話中新增、移除及更新成員。 |
https://www.googleapis.com/auth/chat.messages.reactions.create |
在 Google Chat 即時通訊訊息中新增回應。 |
https://www.googleapis.com/auth/chat.messages.reactions |
從 Google Chat 即時通訊訊息中移除回應。 |
限制
- Google Chat 資料儲存庫僅支援
global、us和eu地點。
- 建立新應用程式或為現有應用程式新增資料儲存庫時,建議只將一個資料儲存庫與屬於單一連接器類型的動作建立關聯。
如果您設有安全控管措施,請留意這些措施對 Google Chat 資料的限制,如下表所示:
安全控管措施 注意事項 資料落地 (DRZ) Gemini Enterprise 僅保證資料會儲存在 Google Cloud。如要瞭解資料落地和 Google Chat,請參閱 Google Workspace 法規遵循指南和文件,包含「Google Workspace 的資料地區」。也請參閱「選擇儲存資料的區域」和「數位主權」等範例。 客戶自行管理的加密金鑰 (CMEK) 您的金鑰只會加密 Google Cloud中的資料。Cloud Key Management Service 控制選項不適用於儲存在 Google Chat 的資料。 資料存取透明化控管機制 「資料存取透明化控管機制」會記錄 Google 人員對 Google Cloud 專案採取的動作。您也需要檢查 Google Workspace 建立的資料存取透明化控管機制記錄。詳情請參閱 Google Workspace 管理員說明文件中的「資料存取透明化控管機制記錄事件」。
後續步驟
- 如要使用 Google Chat 建立及設定資料儲存庫,請參閱「設定 Google Chat 資料儲存庫」。