Skip to content

Privacy & Data Governance

Fresh

How Gemini Code Assist handles your data across editions.

Data Handling by Edition

IndividualsStandardEnterprise
Data used for ML trainingYes (opt-out available)NoNo
VPC-SC supportNoYesYes
Private Google AccessNoYesYes
IP indemnificationNoYesYes
Enterprise DPANoYesYes

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.js

INFO

.gitignore patterns are also respected automatically — no need to duplicate them in .aiexclude.

Based on official Google Gemini Code Assist documentation.