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 資料儲存庫」。