gcloud alpha spanner databases

NAME
gcloud alpha spanner databases - manage Cloud Spanner databases
SYNOPSIS
gcloud alpha spanner databasesGROUP |COMMAND[GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) Manage Cloud Spanner databases.
GCLOUD WIDE FLAGS
These flags are available to all commands:--help.

Run$gcloud help for details.

GROUPS
GROUP is one of the following:
config
(ALPHA) Manage Spanner database configurations.
ddl
(ALPHA) Manage the DDL for Cloud Spanner databases.
roles
(ALPHA) Manage Cloud Spanner database roles.
sessions
(ALPHA) Manage the sessions for Cloud Spanner databases.
splits
(ALPHA) Manage the split points for Spanner databases.
COMMANDS
COMMAND is one of the following:
add-iam-policy-binding
(ALPHA) Add IAM policy binding to a Cloud Spanner database.
change-quorum
(ALPHA) Change quorum of a Cloud Spanner database.
create
(ALPHA) Create a Cloud Spanner database.
delete
(ALPHA) Delete a Cloud Spanner database.
describe
(ALPHA) Describe a Cloud Spanner database.
execute-sql
(ALPHA) Executes a SQL query against a Cloud Spanner database.
get-iam-policy
(ALPHA) Get the IAM policy for a Cloud Spanner database.
import
(ALPHA) Import data from various source files to Cloud Spanner.
list
(ALPHA) List the Cloud Spanner databases contained within the giveninstance.
remove-iam-policy-binding
(ALPHA) Remove IAM policy binding of a Cloud Spanner database.
restore
(ALPHA) Restore a Cloud Spanner database.
set-iam-policy
(ALPHA) Set the IAM policy for a Cloud Spanner database.
update
(ALPHA) Update a Cloud Spanner database.
NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. These variants are also available:
gcloudspannerdatabases
gcloudbetaspannerdatabases

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-06-03 UTC.