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-03-21 UTC."],[[["This webpage provides access to documentation for various versions of the Google Cloud Spanner C++ client library, ranging from version 2.11.0 to the latest release candidate 2.37.0-rc."],["The latest stable version of the documentation being showcased is version 2.34.0 of the Spanner C++ client library."],["Users can find documentation for overriding the default endpoint for Spanner client classes such as `Client`, `DatabaseAdminClient`, and `InstanceAdminClient`."],["The `google::cloud::EndpointOption` is used to override the default endpoint when initializing the Spanner C++ client library."]]],[]]