docs/en/integrations/cloudgda/source.md
The cloud-gemini-data-analytics source provides a client to interact with the Gemini Data Analytics API. This allows tools to send natural language queries to the API.
Authentication can be handled in two ways:
useClientOAuth is set to true, the source expects the authentication token to be provided by the caller when making a request to the Toolbox server (typically via an HTTP Bearer token). The Toolbox server will then forward this token to the underlying Gemini Data Analytics API calls.{{< list-tools >}}
kind: source
name: my-gda-source
type: cloud-gemini-data-analytics
projectId: my-project-id
---
kind: source
name: my-oauth-gda-source
type: cloud-gemini-data-analytics
projectId: my-project-id
useClientOAuth: true
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be "cloud-gemini-data-analytics". |
| projectId | string | true | The Google Cloud Project ID where the API is enabled. |
| useClientOAuth | boolean | false | If true, the source uses the token provided by the caller (forwarded to the API). Otherwise, it uses server-side Application Default Credentials (ADC). Defaults to false. |