Get Variable
runtime_config.get_variable
ActionGoogle Cloudconnection required
Calls Cloud Runtime Configuration GET /v1beta1/projects/{projectsId}/configs/{configsId}/variables/{variablesId}.
Gets information about a single variable.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud Runtime Configuration
- 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, 2 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 | — | — | — |
config Id of the config to act on, from runtime_config.list_configs — not its name. | string | Yes | — | — | — |
variable Id of the variable to act on, from runtime_config.list_variables — not its name. | string | Yes | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
ok | boolean | — |
updateTime | string | — |
name | string | — |
text | string | — |
value | string | — |
state | string | — |
{
"name": "",
"ok": false,
"state": "",
"text": "",
"updateTime": "",
"value": ""
}Related Google Cloud Runtime Configuration nodes
See Get Variable run in a workflow.
In a technical demo we add the Google Cloud Runtime Configuration connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.