Update Data Exchange

analytics_hub.update_data_exchange
ActionGoogle Cloudconnection required

Calls analyticshub v1 PATCH /v1/projects/{projectsId}/locations/{locationsId}/dataExchanges/{dataExchangesId}.

Updates an existing data exchange.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Analytics Hub
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id, location
Resolved by
config.connection_id, else node.connection_id

Configuration

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

FieldTypeRequiredDefaultConstraintsExample
location
Location or region; taken from the connection when unset.
stringNo———
data_exchange
Data exchange name or id.
stringYes———
body
The DataExchange resource, as the API defines it.
objectYes———
update_mask
Field mask specifies the fields to update in the data exchange resource. Optional.
stringNo———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
description
string—
discoveryType
string—
displayName
string—
documentation
string—
icon
string—
listingCount
integer—
logLinkedDatasetQueryUserEmail
boolean—
name
string—
primaryContact
string—
sharingEnvironmentConfig
object—
{
  "description": "",
  "discoveryType": "",
  "displayName": "",
  "documentation": "",
  "icon": "",
  "listingCount": 0,
  "logLinkedDatasetQueryUserEmail": false,
  "name": "",
  "primaryContact": "",
  "sharingEnvironmentConfig": {}
}

See Update Data Exchange run in a workflow.

In a technical demo we add the Google Analytics Hub connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.