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"]],[["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 webpage provides access to documentation for various versions of the Spanner C++ client library, ranging from version 2.11.0 to the latest release candidate, 2.37.0-rc."],["The primary focus of the content is on how to override the default endpoint used by the Spanner client library, which can be achieved by using the `google::cloud::EndpointOption` during client initialization."],["The document offers a specific example of overriding the default endpoint for the `google::cloud::spanner::Client` using `google::cloud::Options` and `google::cloud::EndpointOption` to set a custom endpoint."],["The page includes links to additional examples for setting the endpoint on other client classes, specifically `DatabaseAdminClient` and `InstanceAdminClient`."]]],[]]