> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://apidocs.polytomic.com/2024-02-08/guides/configuring-your-connections/connections/googleworkspace/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://apidocs.polytomic.com/_mcp/server.
# Google Workspace
Supports:
* ✅ Models
* ✅ Bulk sync source
* ✅ Connection Proxy
## Connection
### Configuration
| Name | Type | Description | Required |
auth_method |
string |
Authentication method
Default: browser. Accepted values: `oauth`, `service_account` ↓ |
true |
client_id |
string |
|
false |
client_secret |
string |
|
false |
`auth_method`
When `auth_method` is `service_account`
| Name | Type | Description | Required |
service_account |
string |
Service account key |
true |
`oauth_token_expiry`
When `oauth_token_expiry` has a value AND `service_account` has a value
| Name | Type | Description | Required |
customer_id |
string |
Customer ID |
false |
#### Example
```json
{
"name": "Google Workspace connection",
"type": "googleworkspace",
"configuration": {
"auth_method": "",
"client_id": "eb669428-1854-4cb1-a560-403e05b8acbf",
"client_secret": "ay8d5hdepz62px8lqeoakuea2ccl4rxm13i6tbyorxhu1i20kc8ruvksmzxq"
}
}
```
### Read-only properties
| Name | Type | Description | Required |
client_email |
string |
Connected account
(required if `auth_method` is "service_account") |
false |
## Model Sync
### Source
#### Configuration
| Name | Type | Description | Required |
stream_id |
string |
Object |
true |
#### Example
```json
{
...
"configuration": {
"stream_id": "directory_users"
}
}
```
## Bulk Sync
### Source
Google Workspace connections may be used as a bulk sync source. No additional configuration options are required.