Cloud Spanner Database Admin V1 API - Module Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin (v0.18.0)

Reference documentation and code samples for the Cloud Spanner Database Admin V1 API module Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin.

Cloud Spanner Database Admin API

The Cloud Spanner Database Admin API can be used to:

  • create, drop, and list databases
  • update the schema of pre-existing databases
  • create, delete and list backups for a database
  • restore a database from an existing backup

To load this service and instantiate a REST client:

require "google/cloud/spanner/admin/database/v1/database_admin/rest"
client = ::Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin::Rest::Client.new