- gcloud endpoints services undelete - undeletes a service configuration that was previously deleted
gcloud endpoints services undelete SERVICE [--async] [GCLOUD_WIDE_FLAG ...]
Note that this means that this command will not be effective for service configurations marked for deletion more than 30 days ago.
The name of the service to undelete.
Display information about the operation in progress, without waiting for the
operation to complete.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
To undelete a service named my-service, run:
- $ gcloud endpoints services undelete my-service
To run the same command asynchronously (non-blocking), run:
- $ gcloud endpoints services undelete my-service --async
These variants are also available:
- $ gcloud alpha endpoints services undelete $ gcloud beta endpoints services undelete