Undelete Dataset
bigquery.undelete_dataset
ActionDatabases & warehousesconnection required
Calls bigquery v2 POST /projects/{projectsId}/datasets/{datasetsId}:undelete.
Undeletes a dataset which is within time travel window based on datasetId.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google BigQuery
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
dataset Dataset name or id. | string | Yes | — | — | — |
body The UndeleteDatasetRequest resource, as the API defines it. | object | Yes | — | — | — |
Output
One shape.
result
Extra keys beyond the ones listed can appear.
| Field | Type | Example |
|---|---|---|
access | array | — |
catalogSource | string | — |
creationTime | string | — |
datasetReference | object | — |
defaultCollation | string | — |
defaultEncryptionConfiguration | object | — |
defaultPartitionExpirationMs | string | — |
defaultRoundingMode | string | — |
defaultTableExpirationMs | string | — |
description | string | — |
etag | string | — |
externalCatalogDatasetOptions | object | — |
externalDatasetReference | object | — |
friendlyName | string | — |
id | string | — |
isCaseInsensitive | boolean | — |
kind | string | — |
labels | object | — |
lastModifiedTime | string | — |
linkedDatasetMetadata | object | — |
linkedDatasetSource | object | — |
location | string | — |
maxTimeTravelHours | string | — |
resourceTags | object | — |
restrictions | object | — |
satisfiesPzi | boolean | — |
satisfiesPzs | boolean | — |
selfLink | string | — |
storageBillingModel | string | — |
tags | array | — |
type | string | — |
{
"access": [],
"catalogSource": "",
"creationTime": "",
"datasetReference": {},
"defaultCollation": "",
"defaultEncryptionConfiguration": {},
"defaultPartitionExpirationMs": "",
"defaultRoundingMode": "",
"defaultTableExpirationMs": "",
"description": "",
"etag": "",
"externalCatalogDatasetOptions": {},
"externalDatasetReference": {},
"friendlyName": "",
"id": "",
"isCaseInsensitive": false,
"kind": "",
"labels": {},
"lastModifiedTime": "",
"linkedDatasetMetadata": {},
"linkedDatasetSource": {},
"location": "",
"maxTimeTravelHours": "",
"resourceTags": {},
"restrictions": {},
"satisfiesPzi": false,
"satisfiesPzs": false,
"selfLink": "",
"storageBillingModel": "",
"tags": [],
"type": ""
}See Undelete Dataset run in a workflow.
In a technical demo we add the Google BigQuery connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.