Get Instance
spanner.get_instance
ActionGoogle Cloudconnection required
Calls spanner v1 GET /v1/projects/{projectsId}/instances/{instancesId}.
Gets information about a particular instance.
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
1 field, 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 |
|---|---|---|---|---|---|
instance Instance name or id. | string | Yes | — | — | — |
Output
One shape.
result
Extra keys beyond the ones listed can appear.
| Field | Type | Example |
|---|---|---|
autoscalingConfig | object | — |
config | string | — |
createTime | string | — |
defaultBackupScheduleType | string | — |
displayName | string | — |
edition | string | — |
endpointUris | array | — |
freeInstanceMetadata | object | — |
instanceType | string | — |
labels | object | — |
name | string | — |
nodeCount | integer | — |
processingUnits | integer | — |
replicaComputeCapacity | array | — |
state | string | — |
updateTime | string | — |
{
"autoscalingConfig": {},
"config": "",
"createTime": "",
"defaultBackupScheduleType": "",
"displayName": "",
"edition": "",
"endpointUris": [],
"freeInstanceMetadata": {},
"instanceType": "",
"labels": {},
"name": "",
"nodeCount": 0,
"processingUnits": 0,
"replicaComputeCapacity": [],
"state": "",
"updateTime": ""
}Related Google Cloud Spanner nodes
See Get Instance 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.