Skip to content

Commit

Permalink
Cloudsql import links fix. (#21199)
Browse files Browse the repository at this point in the history
  • Loading branch information
subkanthi committed Jan 28, 2022
1 parent 5d23fbe commit 48d44b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion airflow/providers/google/cloud/hooks/cloud_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ def import_instance(self, instance: str, body: Dict, project_id: str) -> None:
:param instance: Database instance ID. This does not include the
project ID.
:param body: The request body, as described in
https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/export#request-body
https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/import#request-body
:param project_id: Project ID of the project that contains the instance. If set
to None or missing, the default project_id from the Google Cloud connection is used.
:return: None
Expand Down
2 changes: 1 addition & 1 deletion airflow/providers/google/cloud/operators/cloud_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ class CloudSQLImportInstanceOperator(CloudSQLBaseOperator):
:param instance: Cloud SQL instance ID. This does not include the project ID.
:param body: The request body, as described in
https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/export#request-body
https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/instances/import#request-body
:param project_id: Optional, Google Cloud Project ID. If set to None or missing,
the default project_id from the Google Cloud connection is used.
:param gcp_conn_id: The connection ID used to connect to Google Cloud.
Expand Down

0 comments on commit 48d44b8

Please sign in to comment.