Restores a DatabaseInstance
that was previously marked to be deleted. After the delete method is used, DatabaseInstances are set to the DELETED
state for 20 days, and will be purged within 30 days. Databases in the DELETED
state can be undeleted without losing any data. This method may only be used on a DatabaseInstance in the DELETED
state. Purged DatabaseInstances may not be recovered.
HTTP request
POST https://firebasedatabase.googleapis.com/v1beta/{name=projects/*/locations/*/instances/*}:undelete
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The fully qualified resource name of the database instance, in the form: Authorization requires the following IAM permission on the specified resource
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of DatabaseInstance
.
Authorization Scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/cloud-platform
https://www.googleapis.com/auth/firebase
For more information, see the Authentication Overview.