Download Model

firebase_ml.download_model
ActionAI & modelsconnection required

Calls Firebase ML GET /v1beta2/projects/{projectsId}/models/{modelsId}:download.

Gets Download information for a model. This is meant for downloading model resources onto devices. It gives very limited information about the model.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Firebase ML
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, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
project_id
GCP project id (overrides connection).
stringNo———
model
Id of the model to act on, from firebase_ml.list_models — not its name.
stringYes———

Output

One shape.

result

FieldTypeExample
ok
boolean—
modelFormat
string—
downloadUri
string—
expireTime
string—
sizeBytes
string—
{
  "downloadUri": "",
  "expireTime": "",
  "modelFormat": "",
  "ok": false,
  "sizeBytes": ""
}

See Download Model run in a workflow.

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