- NAME
-
- gcloud alpha spanner samples - cloud Spanner sample apps
- SYNOPSIS
-
-
gcloud alpha spanner samples
COMMAND
[GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(ALPHA)
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
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--help
.Run
$ gcloud help
for details. - COMMANDS
-
is one of the following:COMMAND
backend
-
(ALPHA)
Run the backend gRPC service for the given Cloud Spanner sample app. init
-
(ALPHA)
Initialize a Cloud Spanner sample app. list
-
(ALPHA)
List available sample applications. run
-
(ALPHA)
Run the given Cloud Spanner sample app. workload
-
(ALPHA)
Generate gRPC traffic for a given sample app's backend service.
- NOTES
-
This command is currently in alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. These variants are also available:
gcloud spanner samples
gcloud beta spanner samples
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 2024-02-06 UTC.