Module: Google::Cloud::Spanner::Admin::Database::V1::DatabaseAdmin

Defined in:
lib/google/cloud/spanner/admin/database/v1/database_admin.rb,
lib/google/cloud/spanner/admin/database/v1/database_admin/rest.rb,
lib/google/cloud/spanner/admin/database/v1/database_admin/paths.rb,
lib/google/cloud/spanner/admin/database/v1/database_admin/client.rb,
lib/google/cloud/spanner/admin/database/v1/database_admin/operations.rb,
lib/google/cloud/spanner/admin/database/v1/database_admin/credentials.rb,
lib/google/cloud/spanner/admin/database/v1/database_admin/rest/client.rb,
lib/google/cloud/spanner/admin/database/v1/database_admin/rest/operations.rb,
lib/google/cloud/spanner/admin/database/v1/database_admin/rest/service_stub.rb

Overview

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, copy 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

Defined Under Namespace

Modules: Paths, Rest Classes: Client, Credentials, Operations