A connection to the Cloud Spanner instance administration service.
This interface defines pure-virtual methods for each of the user-facing overload sets in InstanceAdminClient. This allows users to inject custom behavior (e.g., with a Google Mock object) in a InstanceAdminClient object for use in their own tests.
To create a concrete instance that connects you to a real Cloud Spanner instance administration service, see MakeInstanceAdminConnection().
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-02 UTC."],[[["This document details the `InstanceAdminConnection` class, which provides a connection to the Cloud Spanner instance administration service, though it is deprecated in favor of using `InstanceAdminClient` and `InstanceAdminConnection` within the `google::cloud::spanner_admin` namespace."],["The `InstanceAdminConnection` interface includes virtual methods for interacting with Cloud Spanner instances, such as retrieving, creating, updating, and deleting instances."],["It allows users to inject custom behavior for testing purposes, through the implementation of pure-virtual methods corresponding to user-facing overload sets in `InstanceAdminClient`."],["This class provides methods to interact with instance configurations and policies, including retrieving configurations, listing instance configs, listing instances, and managing IAM policies for instances."],["The documentation includes links to various version-specific pages for the `InstanceAdminConnection`, such as [2.37.0-rc](/cpp/docs/reference/spanner/latest/classgoogle_1_1cloud_1_1spanner_1_1InstanceAdminConnection) (latest) and other versions down to 2.11.0."]]],[]]