v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137518.0 KB
projects

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.

post/v1beta/{+name}:undelete

Path parameters

namestring required

Required. The fully qualified resource name of the database instance, in the form: projects/{project-number}/locations/{location-id}/instances/{database-id}

Request body

UndeleteDatabaseInstanceRequest required

The request sent to UndeleteDatabaseInstance method.

Response

Successful response