總覽

透過 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 資料儲存庫僅支援 globaluseu 地點。

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

後續步驟