File: //snap/google-cloud-cli/394/help/man/man1/gcloud_endpoints_services_undelete.1
.TH "GCLOUD_ENDPOINTS_SERVICES_UNDELETE" 1
.SH "NAME"
.HP
gcloud endpoints services undelete \- undeletes a service configuration that was previously deleted
.SH "SYNOPSIS"
.HP
\f5gcloud endpoints services undelete\fR \fISERVICE\fR [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Services that are deleted will be retained in the system for 30 days. If a
deleted service is still within this retention window, it can be undeleted with
this command.
Note that this means that this command will not be effective for service
configurations marked for deletion more than 30 days ago.
.SH "EXAMPLES"
To undelete a service named \f5my\-service\fR, run:
.RS 2m
$ gcloud endpoints services undelete my\-service
.RE
To run the same command asynchronously (non\-blocking), run:
.RS 2m
$ gcloud endpoints services undelete my\-service \-\-async
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fISERVICE\fR
The name of the service to undelete.
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.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"
These variants are also available:
.RS 2m
$ gcloud alpha endpoints services undelete
.RE
.RS 2m
$ gcloud beta endpoints services undelete
.RE