gcloud spanner databases Stay organized with collections Save and categorize content based on your preferences.
- 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:COMMANDadd-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:
gcloudalphaspannerdatabasesgcloudbetaspannerdatabases
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-05-07 UTC.