You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: skills/cloud-sql-postgres-admin/SKILL.md
+63-42Lines changed: 63 additions & 42 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,73 +15,88 @@ All scripts can be executed using Node.js. Replace `<param_name>` and `<param_va
15
15
16
16
Note: The scripts automatically load the environment variables from various .env files. Do not ask the user to set vars unless skill executions fails due to env var absence.
17
17
18
+
18
19
## Scripts
19
20
21
+
20
22
### clone_instance
21
23
22
24
Clone an existing Cloud SQL instance into a new instance. The clone can be a direct copy of the source instance, or a point-in-time-recovery (PITR) clone from a specific timestamp. The call returns a Cloud SQL Operation object. Call wait_for_operation tool after this, make sure to use multiplier as 4 to poll the opertation status till it is marked DONE.
23
25
24
26
#### Parameters
25
27
26
-
| Name | Type | Description | Required | Default |
| project | string | The GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one. | No ||
56
-
| name | string | The name of the instance | Yes ||
57
-
| databaseVersion | string | The database version for Postgres. If not specified, defaults to the latest available version (e.g., POSTGRES_17). | No |`POSTGRES_17`|
58
-
| rootPassword | string | The root password for the instance | Yes ||
59
-
| editionPreset | string | The edition of the instance. Can be `Production` or `Development`. This determines the default machine type and availability. Defaults to `Development`. | No |`Development`|
61
+
| Name | Type | Description | Required | Default |
62
+
| :--- | :--- | :--- | :--- | :--- |
63
+
| project | string | The GCP project ID. This is pre-configured; do not ask for it unless the user explicitly provides a different one. | No ||
64
+
| name | string | The name of the instance | Yes ||
65
+
| databaseVersion | string | The database version for Postgres. If not specified, defaults to the latest available version (e.g., POSTGRES_17). | No |`POSTGRES_17`|
66
+
| rootPassword | string | The root password for the instance | Yes ||
67
+
| editionPreset | string | The edition of the instance. Can be `Production` or `Development`. This determines the default machine type and availability. Defaults to `Development`. | No |`Development`|
68
+
60
69
61
70
---
62
71
63
72
### create_user
64
73
74
+
75
+
65
76
#### Parameters
66
77
67
-
| Name | Type | Description | Required | Default |
0 commit comments