
Google Cloud DeleteDatabase
CertifiedDelete a Spanner database
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.DeleteDatabaseExamples
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
databaseId *Requiredstring
The Spanner database ID
instanceId *Requiredstring
The Spanner instance ID
projectId *Requiredstring
The GCP project ID
emulatorHost string
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.
impersonatedServiceAccount string
The GCP service account to impersonate
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
scopes array
SubTypestring
The GCP scopes to be used
serviceAccount string
The GCP service account
Outputs
database string
The database name that was deleted