Update Repository

dataform.update_repository
ActionGoogle Cloudconnection required

Calls dataform v1 PATCH /v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}.

Updates a single Repository.

Connection

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

Configuration

3 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———
repository
Repository name or id.
stringYes———
body
The Repository resource, as the API defines it.
objectYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
containingFolder
string—
createTime
string—
dataEncryptionState
object—
displayName
string—
gitRemoteSettings
object—
internalMetadata
string—
kmsKeyName
string—
labels
object—
name
string—
npmrcEnvironmentVariablesSecretVersion
string—
serviceAccount
string—
setAuthenticatedUserAdmin
boolean—
teamFolderName
string—
workspaceCompilationOverrides
object—
{
  "containingFolder": "",
  "createTime": "",
  "dataEncryptionState": {},
  "displayName": "",
  "gitRemoteSettings": {},
  "internalMetadata": "",
  "kmsKeyName": "",
  "labels": {},
  "name": "",
  "npmrcEnvironmentVariablesSecretVersion": "",
  "serviceAccount": "",
  "setAuthenticatedUserAdmin": false,
  "teamFolderName": "",
  "workspaceCompilationOverrides": {}
}

See Update Repository run in a workflow.

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