Skip to content

Commit 4eadc60

Browse files
chore: update sql admin api hostname (#206)
* chore: update get_metadata to connect API
1 parent 91c22b2 commit 4eadc60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/cloud/sql/connector/refresh_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def _get_metadata(
7979
"Authorization": "Bearer {}".format(credentials.token),
8080
}
8181

82-
url = "https://www.googleapis.com/sql/{}/projects/{}/instances/{}".format(
82+
url = "https://sqladmin.googleapis.com/sql/{}/projects/{}/instances/{}/connectSettings".format(
8383
_sql_api_version, project, instance
8484
)
8585

0 commit comments

Comments
 (0)