gcloud beta endpoints services undelete - undeletes a service configuration that was previously deleted
gcloud beta endpoints services undelete SERVICE [--async] [GCLOUD_WIDE_FLAG ...]
(BETA) 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.
To undelete a service named my-service, run:
$ gcloud beta endpoints services undelete my-service
To run the same command asynchronously (non-blocking), run:
$ gcloud beta endpoints services undelete my-service --async
- SERVICE
The name of the service to undelete.
- --async
Return immediately, without waiting for the operation in progress to complete.
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 $ gcloud help for details.
This command is currently in beta and might change without notice. These variants are also available:
$ gcloud endpoints services undelete
$ gcloud alpha endpoints services undelete