fix(gda): support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client - #3460
Conversation
## Description The Gemini Data Analytics (GDA) API calls made via custom REST HTTP client lacked dynamic mTLS endpoint routing, violating AIP-4114 and breaking Context Aware Access (CAA). This change fixes the issue by updating the GDA client helper to dynamically select the API endpoint based on standard AIP-4114 environment variables (`GOOGLE_API_USE_CLIENT_CERTIFICATE` and `GOOGLE_API_USE_MTLS_ENDPOINT`). The following tools have been updated to use `NewGDAClient` instead of hardcoded URLs: - `bigquery-conversational-analytics` - `conversational-analytics-ask-data-agent` - `conversational-analytics-get-data-agent-info` - `conversational-analytics-list-accessible-data-agents` - `looker-conversational-analytics`
There was a problem hiding this comment.
Code Review
This pull request introduces a centralized utility helper util.NewGDAClient and util.GetGDAEndpoint to manage endpoint selection, mTLS, and client creation for Gemini Data Analytics (GDA) API calls. Multiple GDA-related tools and integration tests are refactored to use this new utility instead of constructing raw HTTP clients and hardcoding endpoints. The reviewer feedback suggests setting appropriate timeouts on the newly created GDA HTTP clients across several tools (e.g., 330 seconds for streaming in lookerconversationalanalytics and 30 seconds for unary calls in conversationalanalyticsgetdataagentinfo and conversationalanalyticslistaccessibledataagents) to prevent hanging requests and goroutine leaks.
🤖 I have created a release *beep* *boop* --- ## [1.6.0](v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([#3544](#3544)) ([d12eaa8](d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([#3528](#3528)) ([3f0f0af](3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([#3529](#3529)) ([d6dc5fe](d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([#3478](#3478)) ([bc2de2a](bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([#3337](#3337)) ([6dd669a](6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([#3499](#3499)) ([7ea7a09](7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([#3500](#3500)) ([182f933](182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([#3494](#3494)) ([997fb8c](997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([#3507](#3507)) ([cd22b89](cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([#3460](#3460)) ([cc2a61e](cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([#3531](#3531)) ([b67419d](b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([#3515](#3515)) ([18c539c](18c539c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com>
🤖 I have created a release *beep* *boop* --- ## [1.6.0](v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([#3544](#3544)) ([d12eaa8](d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([#3528](#3528)) ([3f0f0af](3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([#3529](#3529)) ([d6dc5fe](d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([#3478](#3478)) ([bc2de2a](bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([#3337](#3337)) ([6dd669a](6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([#3499](#3499)) ([7ea7a09](7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([#3500](#3500)) ([182f933](182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([#3494](#3494)) ([997fb8c](997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([#3507](#3507)) ([cd22b89](cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([#3460](#3460)) ([cc2a61e](cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([#3531](#3531)) ([b67419d](b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([#3515](#3515)) ([18c539c](18c539c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 35c13ad
🤖 I have created a release *beep* *boop* --- ## [1.6.0](googleapis/mcp-toolbox@v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([googleapis#3544](googleapis#3544)) ([d12eaa8](googleapis@d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([googleapis#3528](googleapis#3528)) ([3f0f0af](googleapis@3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([googleapis#3529](googleapis#3529)) ([d6dc5fe](googleapis@d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([googleapis#3478](googleapis#3478)) ([bc2de2a](googleapis@bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([googleapis#3337](googleapis#3337)) ([6dd669a](googleapis@6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([googleapis#3499](googleapis#3499)) ([7ea7a09](googleapis@7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([googleapis#3500](googleapis#3500)) ([182f933](googleapis@182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([googleapis#3494](googleapis#3494)) ([997fb8c](googleapis@997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([googleapis#3507](googleapis#3507)) ([cd22b89](googleapis@cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([googleapis#3460](googleapis#3460)) ([cc2a61e](googleapis@cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([googleapis#3531](googleapis#3531)) ([b67419d](googleapis@b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([googleapis#3515](googleapis#3515)) ([18c539c](googleapis@18c539c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 35c13ad
🤖 I have created a release *beep* *boop* --- ## [1.6.0](googleapis/mcp-toolbox@v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([googleapis#3544](googleapis#3544)) ([d12eaa8](googleapis@d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([googleapis#3528](googleapis#3528)) ([3f0f0af](googleapis@3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([googleapis#3529](googleapis#3529)) ([d6dc5fe](googleapis@d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([googleapis#3478](googleapis#3478)) ([bc2de2a](googleapis@bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([googleapis#3337](googleapis#3337)) ([6dd669a](googleapis@6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([googleapis#3499](googleapis#3499)) ([7ea7a09](googleapis@7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([googleapis#3500](googleapis#3500)) ([182f933](googleapis@182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([googleapis#3494](googleapis#3494)) ([997fb8c](googleapis@997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([googleapis#3507](googleapis#3507)) ([cd22b89](googleapis@cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([googleapis#3460](googleapis#3460)) ([cc2a61e](googleapis@cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([googleapis#3531](googleapis#3531)) ([b67419d](googleapis@b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([googleapis#3515](googleapis#3515)) ([18c539c](googleapis@18c539c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 35c13ad
🤖 I have created a release *beep* *boop* --- ## [1.6.0](googleapis/mcp-toolbox@v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([googleapis#3544](googleapis#3544)) ([d12eaa8](googleapis@d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([googleapis#3528](googleapis#3528)) ([3f0f0af](googleapis@3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([googleapis#3529](googleapis#3529)) ([d6dc5fe](googleapis@d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([googleapis#3478](googleapis#3478)) ([bc2de2a](googleapis@bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([googleapis#3337](googleapis#3337)) ([6dd669a](googleapis@6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([googleapis#3499](googleapis#3499)) ([7ea7a09](googleapis@7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([googleapis#3500](googleapis#3500)) ([182f933](googleapis@182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([googleapis#3494](googleapis#3494)) ([997fb8c](googleapis@997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([googleapis#3507](googleapis#3507)) ([cd22b89](googleapis@cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([googleapis#3460](googleapis#3460)) ([cc2a61e](googleapis@cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([googleapis#3531](googleapis#3531)) ([b67419d](googleapis@b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([googleapis#3515](googleapis#3515)) ([18c539c](googleapis@18c539c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 35c13ad
🤖 I have created a release *beep* *boop* --- ## [1.6.0](googleapis/mcp-toolbox@v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([googleapis#3544](googleapis#3544)) ([d12eaa8](googleapis@d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([googleapis#3528](googleapis#3528)) ([3f0f0af](googleapis@3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([googleapis#3529](googleapis#3529)) ([d6dc5fe](googleapis@d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([googleapis#3478](googleapis#3478)) ([bc2de2a](googleapis@bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([googleapis#3337](googleapis#3337)) ([6dd669a](googleapis@6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([googleapis#3499](googleapis#3499)) ([7ea7a09](googleapis@7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([googleapis#3500](googleapis#3500)) ([182f933](googleapis@182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([googleapis#3494](googleapis#3494)) ([997fb8c](googleapis@997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([googleapis#3507](googleapis#3507)) ([cd22b89](googleapis@cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([googleapis#3460](googleapis#3460)) ([cc2a61e](googleapis@cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([googleapis#3531](googleapis#3531)) ([b67419d](googleapis@b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([googleapis#3515](googleapis#3515)) ([18c539c](googleapis@18c539c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 35c13ad
🤖 I have created a release *beep* *boop* --- ## [1.6.0](googleapis/mcp-toolbox@v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([googleapis#3544](googleapis#3544)) ([d12eaa8](googleapis@d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([googleapis#3528](googleapis#3528)) ([3f0f0af](googleapis@3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([googleapis#3529](googleapis#3529)) ([d6dc5fe](googleapis@d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([googleapis#3478](googleapis#3478)) ([bc2de2a](googleapis@bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([googleapis#3337](googleapis#3337)) ([6dd669a](googleapis@6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([googleapis#3499](googleapis#3499)) ([7ea7a09](googleapis@7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([googleapis#3500](googleapis#3500)) ([182f933](googleapis@182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([googleapis#3494](googleapis#3494)) ([997fb8c](googleapis@997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([googleapis#3507](googleapis#3507)) ([cd22b89](googleapis@cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([googleapis#3460](googleapis#3460)) ([cc2a61e](googleapis@cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([googleapis#3531](googleapis#3531)) ([b67419d](googleapis@b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([googleapis#3515](googleapis#3515)) ([18c539c](googleapis@18c539c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 35c13ad
🤖 I have created a release *beep* *boop* --- ## [1.6.0](googleapis/mcp-toolbox@v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([googleapis#3544](googleapis#3544)) ([d12eaa8](googleapis@d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([googleapis#3528](googleapis#3528)) ([3f0f0af](googleapis@3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([googleapis#3529](googleapis#3529)) ([d6dc5fe](googleapis@d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([googleapis#3478](googleapis#3478)) ([bc2de2a](googleapis@bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([googleapis#3337](googleapis#3337)) ([6dd669a](googleapis@6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([googleapis#3499](googleapis#3499)) ([7ea7a09](googleapis@7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([googleapis#3500](googleapis#3500)) ([182f933](googleapis@182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([googleapis#3494](googleapis#3494)) ([997fb8c](googleapis@997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([googleapis#3507](googleapis#3507)) ([cd22b89](googleapis@cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([googleapis#3460](googleapis#3460)) ([cc2a61e](googleapis@cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([googleapis#3531](googleapis#3531)) ([b67419d](googleapis@b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([googleapis#3515](googleapis#3515)) ([18c539c](googleapis@18c539c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Yuan Teoh <45984206+Yuan325@users.noreply.github.com> 35c13ad
mcp-toolbox 1.6.0 Created-by: HarmonybrewBot Commit-by: HarmonybrewBot Merged-by: HarmonybrewBot Description: Created by `brew bump` --- Created with `brew bump-formula-pr`.<details> <summary>release notes</summary> <pre>## [1.6.0](googleapis/mcp-toolbox@v1.5.0...v1.6.0) (2026-06-30) ### Features * Support MCP 2026 draft specs ([#3544](googleapis/mcp-toolbox#3544)) ([d12eaa8](googleapis/mcp-toolbox@d12eaa8)) * **release:** Add digital signature to Toolbox binaries ([#3528](googleapis/mcp-toolbox#3528)) ([3f0f0af](googleapis/mcp-toolbox@3f0f0af)) * **tool/cloud-storage:** Configure object operation parameters ([#3529](googleapis/mcp-toolbox#3529)) ([d6dc5fe](googleapis/mcp-toolbox@d6dc5fe)) * **tool/cloud-storage:** Support configurable parameters ([#3478](googleapis/mcp-toolbox#3478)) ([bc2de2a](googleapis/mcp-toolbox@bc2de2a)) * **tools/dataplex-list-data-products:** Add dataplex-list-data-products tool ([#3337](googleapis/mcp-toolbox#3337)) ([6dd669a](googleapis/mcp-toolbox@6dd669a)) * **tools/dataplex-get-data-product:** Add dataplex-get-data-product tool ([#3499](googleapis/mcp-toolbox#3499)) ([7ea7a09](googleapis/mcp-toolbox@7ea7a09)) * **tools/dataplex-list-data-assets:** Add dataplex-list-data-assets tool ([#3500](googleapis/mcp-toolbox#3500)) ([182f933](googleapis/mcp-toolbox@182f933)) * **tools/looker:** Support complex filter_expression parameter in queries ([#3494](googleapis/mcp-toolbox#3494)) ([997fb8c](googleapis/mcp-toolbox@997fb8c)) * **tools/looker:** Support dynamic_fields parameter in queries ([#3507](googleapis/mcp-toolbox#3507)) ([cd22b89](googleapis/mcp-toolbox@cd22b89)) ### Bug Fixes * **tools/gda:** Support mTLS and GOOGLE_API_USE_MTLS_ENDPOINT for GDA client ([#3460](googleapis/mcp-toolbox#3460)) ([cc2a61e](googleapis/mcp-toolbox@cc2a61e)) * **tools/looker-conversational-analytics:** Validate explore_references shape instead of panicking ([#3531](googleapis/mcp-toolbox#3531)) ([b67419d](googleapis/mcp-toolbox@b67419d)) * **tool/looker-create-view-from-table:** Correct Looker API payload structure ([#3515](googleapis/mcp-toolbox#3515)) ([18c539c](googleapis/mcp-toolbox@18c539c)) | **OS/Architecture** | **Description** | **SHA256 Hash** | | --------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------- | | [linux/amd64](https://storage.googleapis.com/mcp-toolbox-for-databases/v1.6.0/linux/amd64/toolbox) ([Signature](https://storage.googleapis.com/mcp-toolbox-for-databases/v1.6.0/linux/amd64/toolbox.asc)) | For **Linux** systems running on **Intel/AMD 64-bit processors**. | 0cd6fa1773926a37e55c803542f16ef621eaea38b015ec9778dfaae9f30da302 | | [darwin/arm64](https://storage.googleapis.com/mcp-toolbox-for-databases/v1.6.0/darwin/arm64/toolbox) | For **macOS** systems running on **Apple Silicon** (M1, M2, M3, etc.) processors. | feb567fb8416504004ff99acd4661278a88d70cc137681f6535a5e54469c6594 | | [darwin/amd64](https://storage.googleapis.com/mcp-toolbox-for-databases/v1.6.0/darwin/amd64/toolbox) | For **macOS** systems running on **Intel processors**. | fbb5af6b170431edb08741828a2581f9ee8548dd37c3e8222a3c2722f0007f32 | | [windows/amd64](https://storage.googleapis.com/mcp-toolbox-for-databases/v1.6.0/windows/amd64/toolbox.exe) | For **Windows** systems running on **Intel/AMD 64-bit processors**. | 3be7e587c86dd9dbdb593a380396f399358c179ce37aed3045b4c8bf42569394 | | [windows/arm64](https://storage.googleapis.com/mcp-toolbox-for-databases/v1.6.0/windows/arm64/toolbox.exe) | For **Windows** systems running on **ARM 64-bit processors**. | 3c6345114032a0671a5b66764673124ec4c27b5b41d1816ea15ac8afb5ca7cdc | </pre> <p>View the full release notes at <a href="https://github.com/googleapis/mcp-toolbox/releases/tag/v1.6.0">https://github.com/googleapis/mcp-toolbox/releases/tag/v1.6.0</a>.</p> </details> <hr> See merge request: Harmonybrew/homebrew-core!13304
Description
The Gemini Data Analytics (GDA) API calls made via custom REST HTTP client lacked dynamic mTLS endpoint routing, violating AIP-4114 and breaking Context Aware Access (CAA).
This change fixes the issue by updating the GDA client helper to dynamically select the API endpoint based on standard AIP-4114 environment variables (
GOOGLE_API_USE_CLIENT_CERTIFICATEandGOOGLE_API_USE_MTLS_ENDPOINT).The following tools have been updated to use
NewGDAClientinstead of hardcoded URLs:bigquery-conversational-analyticsconversational-analytics-ask-data-agentconversational-analytics-get-data-agent-infoconversational-analytics-list-accessible-data-agentslooker-conversational-analyticsDescription
PR Checklist
CONTRIBUTING.md
bug/issue
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
!if this involve a breaking change🛠️ Fixes #<issue_number_goes_here>