Appearance
Privacy & Data Governance
FreshHow Gemini Code Assist handles your data across editions.
Data Handling by Edition
| Individuals | Standard | Enterprise | |
|---|---|---|---|
| Data used for ML training | Yes (opt-out available) | No | No |
| VPC-SC support | No | Yes | Yes |
| Private Google Access | No | Yes | Yes |
| IP indemnification | No | Yes | Yes |
| Enterprise DPA | No | Yes | Yes |
Source Citations
Gemini provides citation info when it directly quotes from open source code at length.
- Standard chat: Citations shown when applicable
- Agent mode: No citations (known limitation)
Opt Out of ML Training (Individuals)
VS Code: Chat pane > ... More > Privacy settings
IntelliJ: Click spark icon > Privacy settings OR Settings > Gemini
This opts you out of Google using your interaction data to improve ML models. Settings are stored at IDE level.
Telemetry (Crash Reports)
VS Code: Settings > Extensions > Gemini Code Assist > Telemetry section
IntelliJ: Settings > Gemini > Code Usage Statistics section
Exclude Code from AI Context
Create .aiexclude in your project root (same syntax as .gitignore):
# Sensitive files — never send to Gemini
.env
.env.*
secrets/
credentials.json
*.pem
*.key
*.p12
config/production.json
# Exclude large binary or generated files
dist/
build/
*.min.jsINFO
.gitignore patterns are also respected automatically — no need to duplicate them in .aiexclude.