gcloud beta spanner samples - cloud Spanner sample apps
gcloud beta spanner samples COMMAND [GCLOUD_WIDE_FLAG ...]
(BETA) Each Cloud Spanner sample application includes a backend gRPC service backed by a Cloud Spanner database and a workload script that generates service traffic.
These sample apps are open source and available at https://github.com/GoogleCloudPlatform/cloud-spanner-samples.
To see a list of available sample apps, run:
$ gcloud spanner samples list
These flags are available to all commands: --help.
Run $ gcloud help for details.
COMMAND is one of the following:
- backend
(BETA) Run the backend gRPC service for the given Cloud Spanner sample app.
- init
(BETA) Initialize a Cloud Spanner sample app.
- list
(BETA) List available sample applications.
- run
(BETA) Run the given Cloud Spanner sample app.
- workload
(BETA) Generate gRPC traffic for a given sample app's backend service.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud spanner samples
$ gcloud alpha spanner samples