You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: BIGQUERY.md
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,24 +4,22 @@
4
4
5
5
To install this extension, the Gemini CLI version must be v0.6.0 or above. The version can be found by running: `gemini --version`.
6
6
7
-
## BigQuery MCP Server (Data Plane: Connecting and Querying)
7
+
## BigQuery Skills (Data Plane: Connecting and Querying)
8
8
9
-
This section covers connecting to a BigQuery instance.
9
+
This section covers connecting to BigQuery.
10
10
11
-
1.**Verify Environment Variables**: Before attempting to connect, confirm with the user that the following environment variables are set in the extension configuration or their shell environment.
11
+
1.**Extension Configuration**: This extension requires several settings (e.g., Project ID, Location). These values are gathered via prompts when you first install or link the extension:
12
12
13
-
*`BIGQUERY_PROJECT`: The GCP project ID.
13
+
*`BIGQUERY_PROJECT`: The GCP project ID.
14
+
*`BIGQUERY_LOCATION`: (Optional) Location of the BigQuery resources.
14
15
15
-
2.**Handle Missing Variables**: If a command fails with an error message containing a placeholder like `${BIGQUERY_PROJECT}`, it signifies a missing environment variable. Inform the user which variable is missing and instruct them to set it.
16
+
If you need to update any of these values later, use the `gemini extensions config bigquery-data-analytics` command.
16
17
17
-
3.**Handle Permission Errors**:
18
-
* For operations that execute queries and view metadata, the user needs the
19
-
**BigQuery User** (`roles/bigquery.user`) and **BigQuery Metadata Viewer** (`roles/bigquery.metadataViewer`) role.
20
-
* For operations that create, or modify datasets and tables, the user neds
21
-
the **BigQuery Data Editor** (`roles/bigquery.dataEditor`) role.
22
-
* If an operation fails due to permissions, identify the type of operation
23
-
and recommend the appropriate role. you can provide these links for
2.**Handle Missing Variables**: If a command fails with an error message containing a placeholder like `${BIGQUERY_PROJECT}`, it signifies a missing environment variable. Inform the user which variable is missing and instruct them to set it.
19
+
20
+
3.**Handle Permission Errors**:
21
+
* For operations that execute queries and view metadata, the user needs the **BigQuery User** (`roles/bigquery.user`) and **BigQuery Metadata Viewer** (`roles/bigquery.metadataViewer`) role.
22
+
* For operations that create, or modify datasets and tables, the user needs the **BigQuery Data Editor** (`roles/bigquery.dataEditor`) role.
23
+
* If an operation fails due to permissions, identify the type of operation and recommend the appropriate role. You can provide these links for assistance:
Copy file name to clipboardExpand all lines: DEVELOPER.md
+10-33Lines changed: 10 additions & 33 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ Before you begin, ensure you have the following:
10
10
1.**Gemini CLI:** Install the Gemini CLI version v0.6.0 or above. Installation
11
11
instructions can be found on the official Gemini CLI documentation. You can
12
12
verify your version by running `gemini --version`.
13
-
2.**BigQuery Access** For testing data plane tools, you will need access to an active BigQuery dataset.
13
+
2.**BigQuery Access** For testing data plane skills, you will need access to an active BigQuery dataset.
14
14
15
15
## Developing the Extension
16
16
17
17
### Running from Local Source
18
18
19
-
The core logic for this extension is handled by a pre-built `toolbox` binary. The development process involves installing the extension locally into the Gemini CLI to test changes.
19
+
The development process involves installing the extension locally into the Gemini CLI to test changes.
20
20
21
21
1.**Clone the Repository:**
22
22
@@ -25,29 +25,16 @@ The core logic for this extension is handled by a pre-built `toolbox` binary. Th
25
25
cd bigquery-data-analytics
26
26
```
27
27
28
-
2. **Download the Toolbox Binary:** The required version of the `toolbox` binary
29
-
is specified in`toolbox_version.txt`. Download it for your platform.
0 commit comments