File: //snap/google-cloud-cli/current/help/man/man1/gcloud_alpha_spanner_operations_describe.1
.TH "GCLOUD_ALPHA_SPANNER_OPERATIONS_DESCRIBE" 1
.SH "NAME"
.HP
gcloud alpha spanner operations describe \- describe a Cloud Spanner operation
.SH "SYNOPSIS"
.HP
\f5gcloud alpha spanner operations describe\fR \fIOPERATION\-ID\fR (\fB\-\-instance\fR=\fIINSTANCE\fR\ |\ \fB\-\-instance\-config\fR=\fIINSTANCE_CONFIG\fR) [\fB\-\-backup\fR=\fIBACKUP\fR] [\fB\-\-database\fR=\fIDATABASE\fR] [\fB\-\-instance\-partition\fR=\fIINSTANCE_PARTITION\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
\fB(ALPHA)\fR Describe a Cloud Spanner operation.
.SH "EXAMPLES"
To describe a Cloud Spanner instance operation, run:
.RS 2m
$ gcloud alpha spanner operations describe _auto_12345 \e
\-\-instance=my\-instance\-id
.RE
To describe a Cloud Spanner database operation, run:
.RS 2m
$ gcloud alpha spanner operations describe _auto_12345 \e
\-\-instance=my\-instance\-id \-\-database=my\-database\-id
.RE
To describe a Cloud Spanner backup operation, run:
.RS 2m
$ gcloud alpha spanner operations describe _auto_12345 \e
\-\-instance=my\-instance\-id \-\-backup=my\-backup\-id
.RE
To describe an instance partition operation, run:
.RS 2m
$ gcloud alpha spanner operations describe _auto_12345 \e
\-\-instance=my\-instance\-id \-\-instance\-partition=my\-partition\-id
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIOPERATION\-ID\fR
ID of the operation
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Exactly one of these must be specified:
.RS 2m
.TP 2m
\fB\-\-instance\fR=\fIINSTANCE\fR
The ID of the instance the operation is executing on.
.TP 2m
\fB\-\-instance\-config\fR=\fIINSTANCE_CONFIG\fR
The ID of the instance configuration the operation is executing on.
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-backup\fR=\fIBACKUP\fR
For a backup operation, the name of the backup the operation is executing on.
.TP 2m
\fB\-\-database\fR=\fIDATABASE\fR
For a database operation, the name of the database the operation is executing
on.
.TP 2m
\fB\-\-instance\-partition\fR=\fIINSTANCE_PARTITION\fR
For an instance partition operation, the name of the instance partition the
operation is executing on.
.RE
.sp
.SH "GCLOUD WIDE FLAGS"
These flags are available to all commands: \-\-access\-token\-file, \-\-account,
\-\-billing\-project, \-\-configuration, \-\-flags\-file, \-\-flatten,
\-\-format, \-\-help, \-\-impersonate\-service\-account, \-\-log\-http,
\-\-project, \-\-quiet, \-\-trace\-token, \-\-user\-output\-enabled,
\-\-verbosity.
Run \fB$ gcloud help\fR for details.
.SH "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:
.RS 2m
$ gcloud spanner operations describe
.RE
.RS 2m
$ gcloud beta spanner operations describe
.RE