CloudSQLHook

Google

Hook for Google Cloud SQL APIs.

View on GitHub

Last Updated: Mar. 3, 2023

Access Instructions

Install the Google provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

api_versionThis is the version of the api.
gcp_conn_idThe Airflow connection used for GCP credentials.
delegate_toThis performs a task on one host with reference to other hosts.
impersonation_chainThis is the optional service account to impersonate using short term credentials.

Documentation

Hook for Google Cloud SQL APIs.

All the methods in the hook where project_id is used must be called with keyword arguments rather than positional.

Was this page helpful?