What is this integration?
Google Cloud Platform (GCP) provides fully managed cloud services including relational databases (Cloud SQL), NoSQL document databases (Firestore), and serverless data warehouses (BigQuery).What Monk manages
- Cloud SQL instances, databases, and users
- Firestore databases with PITR and backup support
- BigQuery datasets and table snapshots
- Cloud Storage buckets
- Service accounts and IAM bindings
- API enablement via Service Usage
What the Agent can do and how to use it
- Database Creation: Provision PostgreSQL, MySQL, SQL Server (Cloud SQL), Firestore, or BigQuery datasets
- Backup & Recovery: Automated backups, on-demand snapshots, point-in-time recovery, and restore operations
- Scaling: Modify instance tiers, storage, and enable high availability
- Security: Configure authorized networks, SSL, and IAM permissions
- Monitoring: Access instance status and connection information
- Ensure GCP provider is added:
monk cluster provider add -p gcp - monk update <namespace>/<name>
Auth
- Uses GCP provider credentials configured via
monk cluster provider add -p gcp - GCP credentials are automatically injected into the GCP client
Getting Started
- Ensure GCP provider is added:
- Define a Cloud SQL instance (save as gcp-stack.yaml):
- Create/update:
Cloud SQL Backup & Restore Actions
| Action | Description |
|---|---|
get-backup-info | View backup configuration and PITR status |
create-backup | Create an on-demand backup |
list-backups | List available backups (automated and on-demand) |
describe-backup | Get detailed information about a specific backup |
delete-backup | Delete a backup |
restore | Restore from backup (overwrites instance) |
get-restore-status | Check status of restore operation |
Firestore Backup & Restore Actions
| Action | Description |
|---|---|
get-backup-info | View PITR status and configuration |
export-documents | Export database to Cloud Storage |
import-documents | Import from Cloud Storage export |
list-backups | List scheduled backups in a location |
describe-backup | Get backup details |
delete-backup | Delete a scheduled backup |
restore | Restore to a new database from backup |
get-restore-status | Check restore operation progress |
export-documents for full database backups.
BigQuery Backup & Restore Actions
| Action | Description |
|---|---|
get-backup-info | View time travel settings and storage model |
create-snapshot | Create a table snapshot |
list-snapshots | List tables/snapshots in dataset |
describe-snapshot | Get table/snapshot details |
delete-snapshot | Delete a snapshot table |
restore | Create new table from snapshot |
Restore Behavior Summary
| Database | Restore Target | Warning |
|---|---|---|
| Cloud SQL | Same instance | ⚠️ OVERWRITES existing instance |
| Firestore | New database | ✅ Safe - creates new database |
| BigQuery | New table | ✅ Safe - creates new table (clone) |

