Skip to content

Commit 324d148

Browse files
committed
feat(bigquery): add proxy support for API calls
1 parent 0857c29 commit 324d148

3 files changed

Lines changed: 185 additions & 41 deletions

File tree

docs/en/integrations/bigquery/source.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ project: "my-project-id"
112112
# scopes: # Optional: List of OAuth scopes to request.
113113
# - "https://www.googleapis.com/auth/bigquery"
114114
# - "https://www.googleapis.com/auth/drive.readonly"
115+
# proxy: "https://proxy.company:8443" # Optional: Route API calls through a proxy. If unset, HTTPS_PROXY/HTTP_PROXY are honored.
115116
# maxQueryResultRows: 50 # Optional: Limits the number of rows returned by queries. Defaults to 50.
116117
```
117118

@@ -132,6 +133,7 @@ useClientOAuth: true
132133
# scopes: # Optional: List of OAuth scopes to request.
133134
# - "https://www.googleapis.com/auth/bigquery"
134135
# - "https://www.googleapis.com/auth/drive.readonly"
136+
# proxy: "https://proxy.company:8443" # Optional: Route API calls through a proxy. If unset, HTTPS_PROXY/HTTP_PROXY are honored.
135137
# maxQueryResultRows: 50 # Optional: Limits the number of rows returned by queries. Defaults to 50.
136138
```
137139

@@ -146,5 +148,6 @@ useClientOAuth: true
146148
| allowedDatasets | []string | false | An optional list of dataset IDs that tools using this source are allowed to access. If provided, any tool operation attempting to access a dataset not in this list will be rejected. To enforce this, two types of operations are also disallowed: 1) Dataset-level operations (e.g., `CREATE SCHEMA`), and 2) operations where table access cannot be statically analyzed (e.g., `EXECUTE IMMEDIATE`, `CREATE PROCEDURE`). If a single dataset is provided, it will be treated as the default for prebuilt tools. |
147149
| useClientOAuth | string | false | If set to `'true'`, forwards the client's OAuth access token from the default `Authorization` header. If set to a custom header name (e.g., `X-My-Auth`), that header will be used instead. An empty string or `'false'` disables this feature. Defaults to `""` (disabled). |
148150
| scopes | []string | false | A list of OAuth 2.0 scopes to use for the credentials. If not provided, default scopes are used. |
151+
| proxy | string | false | Optional HTTP(S) proxy URL to route API calls through. If unset, HTTPS_PROXY/HTTP_PROXY are honored. |
149152
| impersonateServiceAccount | string | false | Service account email to impersonate when making BigQuery and Dataplex API calls. The authenticated principal must have the `roles/iam.serviceAccountTokenCreator` role on the target service account. [Learn More](https://cloud.google.com/iam/docs/service-account-impersonation) |
150153
| maxQueryResultRows | int | false | The maximum number of rows to return from a query. Defaults to 50. |

0 commit comments

Comments
 (0)