Replace Table

bigquery.replace_table
ActionDatabases & warehousesconnection required

Calls bigquery v2 PUT /projects/{projectsId}/datasets/{datasetsId}/tables/{tablesId}.

Updates information in an existing table.

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

3 fields, 3 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
dataset
Dataset name or id.
stringYes———
table
Table name or id.
stringYes———
body
The Table resource, as the API defines it.
objectYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
biglakeConfiguration
object—
cloneDefinition
object—
clustering
object—
creationTime
string—
defaultCollation
string—
defaultRoundingMode
string—
description
string—
encryptionConfiguration
object—
etag
string—
expirationTime
string—
externalCatalogTableOptions
object—
externalDataConfiguration
object—
friendlyName
string—
id
string—
kind
string—
labels
object—
lastModifiedTime
string—
location
string—
managedTableType
string—
materializedView
object—
materializedViewStatus
object—
maxStaleness
string—
model
object—
numActiveLogicalBytes
string—
numActivePhysicalBytes
string—
numBytes
string—
numCurrentPhysicalBytes
string—
numLongTermBytes
string—
numLongTermLogicalBytes
string—
numLongTermPhysicalBytes
string—
numPartitions
string—
numPhysicalBytes
string—
numRows
string—
numTimeTravelPhysicalBytes
string—
numTotalLogicalBytes
string—
numTotalPhysicalBytes
string—
partitionDefinition
object—
rangePartitioning
object—
replicas
array—
requirePartitionFilter
boolean—
resourceTags
object—
restrictions
object—
schema
object—
selfLink
string—
snapshotDefinition
object—
streamingBuffer
object—
tableConstraints
object—
tableReference
object—
tableReplicationInfo
object—
timePartitioning
object—
type
string—
view
object—
{
  "biglakeConfiguration": {},
  "cloneDefinition": {},
  "clustering": {},
  "creationTime": "",
  "defaultCollation": "",
  "defaultRoundingMode": "",
  "description": "",
  "encryptionConfiguration": {},
  "etag": "",
  "expirationTime": "",
  "externalCatalogTableOptions": {},
  "externalDataConfiguration": {},
  "friendlyName": "",
  "id": "",
  "kind": "",
  "labels": {},
  "lastModifiedTime": "",
  "location": "",
  "managedTableType": "",
  "materializedView": {},
  "materializedViewStatus": {},
  "maxStaleness": "",
  "model": {},
  "numActiveLogicalBytes": "",
  "numActivePhysicalBytes": "",
  "numBytes": "",
  "numCurrentPhysicalBytes": "",
  "numLongTermBytes": "",
  "numLongTermLogicalBytes": "",
  "numLongTermPhysicalBytes": "",
  "numPartitions": "",
  "numPhysicalBytes": "",
  "numRows": "",
  "numTimeTravelPhysicalBytes": "",
  "numTotalLogicalBytes": "",
  "numTotalPhysicalBytes": "",
  "partitionDefinition": {},
  "rangePartitioning": {},
  "replicas": [],
  "requirePartitionFilter": false,
  "resourceTags": {},
  "restrictions": {},
  "schema": {},
  "selfLink": "",
  "snapshotDefinition": {},
  "streamingBuffer": {},
  "tableConstraints": {},
  "tableReference": {},
  "tableReplicationInfo": {},
  "timePartitioning": {},
  "type": "",
  "view": {}
}

See Replace Table 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.