Google Cloud DeleteDatabase

Google Cloud DeleteDatabase

Certified

Delete a Spanner database

Permanently deletes a Spanner database and all of its schema and data.

yaml
type: io.kestra.plugin.gcp.spanner.DeleteDatabase

Delete a Spanner database

yaml
id: spanner_delete_database
namespace: company.team

tasks:
  - id: delete_db
    type: io.kestra.plugin.gcp.spanner.DeleteDatabase
    projectId: "{{ secret('GCP_PROJECT_ID') }}"
    instanceId: my-instance
    databaseId: my-database
Properties

The Spanner database ID

The Spanner instance ID

The GCP project ID

Spanner emulator host (host: port), for local testing only

When set, the task connects to a local Spanner emulator instead of the real Spanner service.

The GCP service account to impersonate

Reference (ref) of the pluginDefaults to apply to this task.

SubTypestring

The GCP scopes to be used

The GCP service account

The database name that was deleted