path_to_credentials_json_file | Absolute path to your Google Cloud service account credentials file (JSON). If Mage is running on a GCP instance, leave this as null to use the instance’s service account. | /path/to/credentials.json | ✅ |
project_id | The GCP project ID where your BigQuery dataset exists. | example_project | ✅ |
dataset | Name of the BigQuery dataset where data will be written. | example_dataset | ✅ |
location | (Optional) The region of your BigQuery dataset. If not set, BigQuery may infer it automatically. | us-west1 | ❌ |
disable_update_column_types | If false, Mage will alter existing BigQuery column types to match the schema when necessary. If true, existing types will not be modified. | false (default) | ❌ |
use_batch_load | Use BigQuery load jobs instead of the streaming API. Recommended for better performance and cost efficiency. | true (default) | ❌ |
credentials_info | Alternative to path_to_credentials_json_file. Directly embed your credentials JSON as a dictionary (useful for environment-based configs). | See structure below | ❌ |