Google Cloud Platform
Flowgen connects to GCP via BigQuery Query, BigQuery Jobs, and BigQuery Storage API.
Credentials
The credentials_path field points to a GCP service account JSON file. Download it from the GCP Console under IAM > Service Accounts > Keys.
{
"type": "service_account",
"project_id": "my-project-id",
"private_key_id": "key-id",
"private_key": "-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n",
"client_email": "[email protected]",
"client_id": "123456789",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token"
} When credentials_path is omitted, all BigQuery tasks fall back to Application Default Credentials in this order:
GOOGLE_APPLICATION_CREDENTIALSenvironment variable pointing to a service account JSON file.- Workload Identity (GKE).
- Compute Engine metadata server.