Googleapis Sql
Googleapis Sql is a generated connector for Google Cloud SQL, a managed relational database service for MySQL, PostgreSQL, and SQL Server.
- Base URL:
https://sqladmin.googleapis.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
sql_flags_list— GET /sql/v1beta4/flags — Lists all available database flags for Cloud SQL instances.sql_instances_list— GET /sql/v1beta4/projects/{project}/instances — Lists instances under a given project.sql_instances_get— GET /sql/v1beta4/projects/{project}/instances/{instance} — Retrieves a resource containing information about a Cloud SQL instance.sql_backupruns_list— GET /sql/v1beta4/projects/{project}/instances/{instance}/backupRuns — Lists all backup runs associated with the project or a given instance and configsql_backupruns_get— GET /sql/v1beta4/projects/{project}/instances/{instance}/backupRuns/{id} — Retrieves a resource containing information about a backup run.sql_connect_get— GET /sql/v1beta4/projects/{project}/instances/{instance}/connectSettings — Retrieves connect settings about a Cloud SQL instance.
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: sql_flags_list
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: sql_flags_list, sql_instances_list, sql_instances_get, sql_backupruns_list, sql_backupruns_get, sql_connect_get |
id |
string | no | — | Path parameter id (required by some operations). |
instance |
string | no | — | Path parameter instance (required by some operations). |
project |
string | no | — | Path parameter project (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |