Get Function
cloud_functions.get_function
ActionGoogle Cloudconnection required
Calls the Cloud Functions v2 API GET .../functions/{name}.
Read a Cloud Function's state, URL, runtime and entry point (2nd gen API).
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud Functions
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id, region
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
project_id GCP project id (overrides connection). | string | No | — | — | — |
region Region (default us-central1). | string | No | — | — | — |
function Function name. Supports {{ }}. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
name | string | — |
state | string | — |
url | string | — |
runtime | string | — |
entry_point | string | — |
{
"entry_point": "",
"name": "",
"runtime": "",
"state": "",
"url": ""
}See Get Function run in a workflow.
In a technical demo we add the Google Cloud Functions connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.