v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1342224376.9 KB
datasets

Undeletes a dataset which is within time travel window based on datasetId. If a time is specified, the dataset version deleted at that time is undeleted, else the last live version is undeleted. # IAM Permissions Requires the following IAM permission(s) to use this method: - bigquery.datasets.create on the project. - bigquery.datasets.get on the dataset.

post/projects/{+projectId}/datasets/{+datasetId}:undelete

Path parameters

projectIdstring required

Required. Project ID of the dataset to be undeleted

datasetIdstring required

Required. Dataset ID of dataset being deleted

Request body

deletionTimestring google-datetime

Optional. The exact time when the dataset was deleted. If not specified, the most recently deleted version is undeleted. Undeleting a dataset using deletion time is not supported.

Response

Successful response