- NAME
-
- gcloud spanner databases - manage Cloud Spanner databases
- SYNOPSIS
-
-
gcloud spanner databasesGROUP|COMMAND[GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Manage Cloud Spanner databases.
- GCLOUD WIDE FLAGS
- These flags are available to all commands:
--help.Run
$ gcloud helpfor details. - GROUPS
-
is one of the following:GROUP - COMMANDS
-
is one of the following:COMMAND-
add-iam-policy-binding - Add IAM policy binding to a Cloud Spanner database.
-
change-quorum - Change quorum of a Cloud Spanner database.
-
create - Create a Cloud Spanner database.
-
delete - Delete a Cloud Spanner database.
-
describe - Describe a Cloud Spanner database.
-
execute-sql - Executes a SQL query against a Cloud Spanner database.
-
get-iam-policy - Get the IAM policy for a Cloud Spanner database.
-
list - List the Cloud Spanner databases contained within the given instance.
-
remove-iam-policy-binding - Remove IAM policy binding of a Cloud Spanner database.
-
restore - Restore a Cloud Spanner database.
-
set-iam-policy - Set the IAM policy for a Cloud Spanner database.
-
update - Update a Cloud Spanner database.
-
- NOTES
- These variants are also available:
gcloud alpha spanner databasesgcloud beta spanner databases
gcloud spanner databases
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-05-27 UTC.

