In some cases, you may need to override the default endpoint used by the client library. Use the google::cloud::EndpointOption when initializing the client library to change this default. For example, this will override the default endpoint for google::cloud::spanner::Client:
[[["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 2025-04-09 UTC."],[[["This webpage provides documentation for various versions of the Spanner C++ client library, ranging from version 2.11.0 to 2.37.0-rc, with links to specific examples for each version."],["The latest release candidate version is 2.37.0-rc, and it can be found at `/cpp/docs/reference/spanner/latest/spanner-endpoint-example`."],["The primary function of this documentation is to demonstrate how to override the default endpoint for Spanner client libraries, such as `google::cloud::spanner::Client`."],["Examples for overriding the default endpoint are also available for `DatabaseAdminClient` and `InstanceAdminClient`."]]],[]]