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-08-22 UTC."],[[["\u003cp\u003eThis webpage provides access to documentation for various versions of the Spanner C++ client library, ranging from version 2.11.0 up to the latest release candidate, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eThe primary focus of the content is demonstrating how to override the default endpoint for the Spanner C++ client library using the \u003ccode\u003egoogle::cloud::EndpointOption\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eInstructions and code examples are provided to show how to set a custom endpoint when initializing the \u003ccode\u003egoogle::cloud::spanner::Client\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eLinks to additional examples are included for overriding the default endpoint with \u003ccode\u003eDatabaseAdminClient\u003c/code\u003e and \u003ccode\u003eInstanceAdminClient\u003c/code\u003e classes, all in version 2.26.0.\u003c/p\u003e\n"]]],[],null,[]]