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."],[[["The latest release candidate version for the Spanner C++ library is 2.37.0-rc, with multiple previous versions also available for reference, ranging down to version 2.11.0."],["This document provides a list of available versions for the Spanner C++ library, each with a direct link to its respective `spanner-endpoint-example` documentation page."],["The content covers how to override the default endpoint in the client library using `google::cloud::EndpointOption`."],["Examples are given for how to override the endpoint for `google::cloud::spanner::Client`, as well as providing links to examples for `DatabaseAdminClient` and `InstanceAdminClient`."]]],[]]