Google Cloud Spanner · Schema
Google Cloud Spanner Instance
A Cloud Spanner instance resource that provides compute and storage capacity for Spanner databases.
DatabaseDistributedGoogle CloudRelationalSQL
Properties
| Name | Type | Description |
|---|---|---|
| name | string | The unique name of the instance in the format projects/{project}/instances/{instance}. |
| config | string | The name of the instance's configuration (e.g., projects/{project}/instanceConfigs/{config}). |
| displayName | string | The descriptive name for the instance. |
| nodeCount | integer | The number of nodes allocated to this instance. At most one of nodeCount or processingUnits should be present. |
| processingUnits | integer | The number of processing units allocated (100 processing units = 1 node). |
| state | string | The current state of the instance. |
| labels | object | Cloud labels for this instance. |
| endpointUris | array | The endpoint URIs for this instance. |
| createTime | string | The creation time of the instance. |
| updateTime | string | The last update time of the instance. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/google-cloud-spanner/refs/heads/main/json-schema/instance-schema.json",
"title": "Google Cloud Spanner Instance",
"description": "A Cloud Spanner instance resource that provides compute and storage capacity for Spanner databases.",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The unique name of the instance in the format projects/{project}/instances/{instance}.",
"pattern": "^projects/[^/]+/instances/[^/]+$"
},
"config": {
"type": "string",
"description": "The name of the instance's configuration (e.g., projects/{project}/instanceConfigs/{config})."
},
"displayName": {
"type": "string",
"description": "The descriptive name for the instance.",
"minLength": 4,
"maxLength": 30
},
"nodeCount": {
"type": "integer",
"description": "The number of nodes allocated to this instance. At most one of nodeCount or processingUnits should be present.",
"minimum": 1
},
"processingUnits": {
"type": "integer",
"description": "The number of processing units allocated (100 processing units = 1 node).",
"minimum": 100
},
"state": {
"type": "string",
"enum": ["STATE_UNSPECIFIED", "CREATING", "READY"],
"description": "The current state of the instance."
},
"labels": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"description": "Cloud labels for this instance."
},
"endpointUris": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "The endpoint URIs for this instance."
},
"createTime": {
"type": "string",
"format": "date-time",
"description": "The creation time of the instance."
},
"updateTime": {
"type": "string",
"format": "date-time",
"description": "The last update time of the instance."
}
},
"required": ["config", "displayName"]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/instance"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.