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."],[[["The webpage provides documentation and examples for overriding the default endpoint in the Google Cloud Spanner C++ client library, with the latest release candidate version being 2.37.0-rc."],["A list of Spanner C++ client library versions is available, ranging from version 2.11.0 up to 2.37.0-rc, including the currently viewed version 2.29.0."],["The documentation explains that the `google::cloud::EndpointOption` should be used when initializing the client library to change the default endpoint."],["Examples are provided for overriding the default endpoint for `google::cloud::spanner::Client`, as well as for `DatabaseAdminClient` and `InstanceAdminClient`."]]],[]]