Overview

The Google Chat connector for Gemini Enterprise lets you search and perform actions on your Google Chat data using natural language commands.

Supported actions

When the Google Chat data store is enabled, end users can use natural language commands in Gemini Enterprise to perform the following actions.

The following actions read Google Chat data and are enabled by default:

Action Description
List messages Retrieves messages from a specified Google Chat conversation (space, direct message, or group direct message).
List messages (Markdown) Retrieves messages from a specified Google Chat conversation in Markdown format.
Search messages Searches for Google Chat messages using keywords and filters. Works across all spaces the user has access to, or can be scoped to a specific conversation.
Search conversations Searches for Google Chat conversations by display name.
List memberships Lists memberships in a Google Chat conversation.

The following actions change Google Chat data and are turned off by default until an administrator enables them:

Action Description
Send message Sends a Google Chat message to a conversation.
Send message (Markdown) Sends a Google Chat message to a conversation with Markdown formatting.
Create conversation Creates a Google Chat conversation (named space, direct message, or group direct message).
Add reaction Adds a reaction to a Google Chat message.
Remove reaction Removes a reaction from a Google Chat message.
Add membership Adds a member to a Google Chat conversation.
Remove membership Removes a user membership from a Google Chat conversation.
Update membership Updates a user membership in a Google Chat conversation.

Actions run with the permissions of the user who authorized the connector. A user can only read and change the data that they can already read and change in Google Chat.

Required permissions

The Google-managed OAuth app requests the following OAuth scopes. Users grant these scopes when they authorize the connector:

Scope Purpose
https://www.googleapis.com/auth/chat.spaces.readonly List and search Google Chat conversations.
https://www.googleapis.com/auth/chat.messages.readonly Read and search Google Chat messages.
https://www.googleapis.com/auth/chat.memberships.readonly List memberships in a Google Chat conversation.
https://www.googleapis.com/auth/chat.users.readstate.readonly Read the user's read state for Google Chat messages.
https://www.googleapis.com/auth/chat.messages.create Send Google Chat messages.
https://www.googleapis.com/auth/chat.spaces.create Create Google Chat conversations.
https://www.googleapis.com/auth/chat.memberships Add, remove, and update members in a Google Chat conversation.
https://www.googleapis.com/auth/chat.messages.reactions.create Add a reaction to a Google Chat message.
https://www.googleapis.com/auth/chat.messages.reactions Remove a reaction from a Google Chat message.

Limitations

  • The Google Chat data store is supported only in the global, us, and eu locations.

  • When creating a new app or adding a data store to an existing one, it's recommended to associate only one data store with actions belonging to a single connector type.

What's next