Skip to content

Commit 35757e5

Browse files
committed
feat: add Configuration settings
1 parent 41e4fae commit 35757e5

File tree

1 file changed

+39
-10
lines changed

1 file changed

+39
-10
lines changed

gemini-extension.json

Lines changed: 39 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,45 @@
1717
"--prebuilt",
1818
"cloud-sql-mssql",
1919
"--stdio"
20-
],
21-
"env": {
22-
"CLOUD_SQL_SQLSERVER_PROJECT": "${CLOUD_SQL_SQLSERVER_PROJECT}",
23-
"CLOUD_SQL_SQLSERVER_REGION": "${CLOUD_SQL_SQLSERVER_REGION}",
24-
"CLOUD_SQL_SQLSERVER_INSTANCE": "${CLOUD_SQL_SQLSERVER_INSTANCE}",
25-
"CLOUD_SQL_SQLSERVER_DATABASE": "${CLOUD_SQL_SQLSERVER_DATABASE}",
26-
"CLOUD_SQL_SQLSERVER_USER": "${CLOUD_SQL_SQLSERVER_USER}",
27-
"CLOUD_SQL_SQLSERVER_PASSWORD": "${CLOUD_SQL_SQLSERVER_PASSWORD}"
28-
}
20+
]
2921
}
3022
},
31-
"contextFileName": "CLOUD-SQL-SQLSERVER.md"
23+
"contextFileName": "CLOUD-SQL-SQLSERVER.md",
24+
"settings": [
25+
{
26+
"name": "Project ID",
27+
"description": "ID of the Google Cloud project",
28+
"envVar": "CLOUD_SQL_MSSQL_PROJECT"
29+
},
30+
{
31+
"name": "Region",
32+
"description": "Region of the Cloud SQL instance",
33+
"envVar": "CLOUD_SQL_MSSQL_REGION"
34+
},
35+
{
36+
"name": "Instance ID",
37+
"description": "ID of the Cloud SQL instance",
38+
"envVar": "CLOUD_SQL_MSSQL_INSTANCE"
39+
},
40+
{
41+
"name": "Database Name",
42+
"description": "Name of the database",
43+
"envVar": "CLOUD_SQL_MSSQL_DATABASE"
44+
},
45+
{
46+
"name": "User",
47+
"description": "Username of the database user",
48+
"envVar": "CLOUD_SQL_MSSQL_USER"
49+
},
50+
{
51+
"name": "Password",
52+
"description": "Password of the database user",
53+
"envVar": "CLOUD_SQL_MSSQL_PASSWORD"
54+
},
55+
{
56+
"name": "IP Type",
57+
"description": "(Optional) Type of the IP address (PUBLIC or PRIVATE)",
58+
"envVar": "CLOUD_SQL_MSSQL_IP_TYPE"
59+
}
60+
]
3261
}

0 commit comments

Comments
 (0)