gcloud spanner databases - manage Cloud Spanner databases
gcloud spanner databases GROUP | COMMAND [GCLOUD_WIDE_FLAG ...]
Manage Cloud Spanner databases.
These flags are available to all commands: --help.
Run $ gcloud help for details.
GROUP is one of the following:
- ddl
Manage the DDL for Cloud Spanner databases.
- sessions
Manage the sessions for Cloud Spanner databases.
COMMAND is one of the following:
- add-iam-policy-binding
Add IAM policy binding to 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.
These variants are also available:
$ gcloud alpha spanner databases
$ gcloud beta spanner databases