Client library support for Spanner Omni
Stay organized with collections
Save and categorize content based on your preferences.
You can use existing
Spanner client libraries to
connect to Spanner Omni. However, there are some differences in
how to connect, specifically in connection strings and authentication methods.
This document describes these differences and provides guidance for accessing
Spanner Omni with existing Spanner client
libraries and drivers.
Although the Spanner Omni resource model references entities such
as projects, outside of Google Cloud, these entities have no
significance. Additionally, other common entities, such as instances, might
differ based on the deployment method.
When using Spanner client libraries with
Spanner Omni, note the following differences:
The project and instance must be set to default when required by
client libraries or tools.
Multi-tenancy isn't supported within a Spanner Omni
deployment. Each deployment provides a single, precreated default instance
(named instances/default), which you can use to create databases and other
resources.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-22 UTC."],[],[]]