Get Session
spanner.get_session
ActionGoogle Cloudconnection required
Calls spanner v1 GET /v1/projects/{projectsId}/instances/{instancesId}/databases/{databasesId}/sessions/{sessionsId}.
Gets a session.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Google Cloud Spanner
- Secret shape
- {"client_id", "client_secret", "refresh_token"}
- Config it needs
- project_id, instance, database
- 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.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
instance Instance name or id. | string | Yes | — | — | — |
database Database name or id. | string | Yes | — | — | — |
session Session name or id. | string | Yes | — | — | — |
Output
One shape.
result
Extra keys beyond the ones listed can appear.
| Field | Type | Example |
|---|---|---|
approximateLastUseTime | string | — |
createTime | string | — |
creatorRole | string | — |
labels | object | — |
multiplexed | boolean | — |
name | string | — |
{
"approximateLastUseTime": "",
"createTime": "",
"creatorRole": "",
"labels": {},
"multiplexed": false,
"name": ""
}Related Google Cloud Spanner nodes
See Get Session run in a workflow.
In a technical demo we add the Google Cloud Spanner connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.