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\u003eThe latest release candidate version is 2.37.0-rc, and it is followed by several stable versions, ranging from 2.36.0 down to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides links to examples for a list of \u003ccode\u003e*Client\u003c/code\u003e classes which include \u003ccode\u003eDatabaseAdminClient\u003c/code\u003e, \u003ccode\u003eInstanceAdminClient\u003c/code\u003e, and \u003ccode\u003espanner::Client\u003c/code\u003e for each listed version.\u003c/p\u003e\n"],["\u003cp\u003eYou can override the default endpoint for client libraries using the \u003ccode\u003egoogle::cloud::EndpointOption\u003c/code\u003e when initializing the client library.\u003c/p\u003e\n"],["\u003cp\u003eThe provided code snippet demonstrates how to override the default endpoint to "private.googleapis.com" for the \u003ccode\u003espanner::Client\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEach listed version number is linked to a \u003ccode\u003espanner-endpoint-example\u003c/code\u003e document, allowing you to see version specific information.\u003c/p\u003e\n"]]],[],null,[]]