mirror of
https://github.com/googleapis/genai-toolbox.git
synced 2026-02-19 03:14:29 -05:00
2.2 KiB
2.2 KiB
title, type, weight, description
| title | type | weight | description |
|---|---|---|---|
| cloud-sql-create-backup | docs | 10 | Creates a backup on a Cloud SQL instance. |
The cloud-sql-create-backup tool creates an on-demand backup on a Cloud SQL instance using the Cloud SQL Admin API.
{{< notice info dd>}}
This tool uses a source of type cloud-sql-admin.
{{< /notice >}}
Examples
Basic backup creation (current state)
kind: tools
name: backup-creation-basic
type: cloud-sql-create-backup
source: cloud-sql-admin-source
description: "Creates a backup on the given Cloud SQL instance."
Reference
Tool Configuration
| field | type | required | description |
|---|---|---|---|
| type | string | true | Must be "cloud-sql-create-backup". |
| source | string | true | The name of the cloud-sql-admin source to use. |
| description | string | false | A description of the tool. |
Tool Inputs
| parameter | type | required | description |
|---|---|---|---|
| project | string | true | The project ID. |
| instance | string | true | The name of the instance to take a backup on. Does not include the project ID. |
| location | string | false | (Optional) Location of the backup run. |
| backup_description | string | false | (Optional) The description of this backup run. |