Update Version

firebase_hosting.update_version
ActionBusiness appsconnection required

Calls firebasehosting v1beta1 PATCH /v1beta1/sites/{sitesId}/versions/{versionsId}.

Updates the specified metadata for the specified version.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Firebase Hosting
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
site
Site name or id.
stringYes———
version
Version name or id.
stringYes———
body
The Version resource, as the API defines it.
objectYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
config
object—
createTime
string—
createUser
object—
deleteTime
string—
deleteUser
object—
fileCount
string—
finalizeTime
string—
finalizeUser
object—
labels
object—
name
string—
status
string—
versionBytes
string—
{
  "config": {},
  "createTime": "",
  "createUser": {},
  "deleteTime": "",
  "deleteUser": {},
  "fileCount": "",
  "finalizeTime": "",
  "finalizeUser": {},
  "labels": {},
  "name": "",
  "status": "",
  "versionBytes": ""
}

See Update Version run in a workflow.

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