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 is 2.37.0-rc, and it is followed by several stable versions, ranging from 2.36.0 down to 2.11.0."],["This documentation provides links to examples for a list of `*Client` classes which include `DatabaseAdminClient`, `InstanceAdminClient`, and `spanner::Client` for each listed version."],["You can override the default endpoint for client libraries using the `google::cloud::EndpointOption` when initializing the client library."],["The provided code snippet demonstrates how to override the default endpoint to \"private.googleapis.com\" for the `spanner::Client`."],["Each listed version number is linked to a `spanner-endpoint-example` document, allowing you to see version specific information."]]],[]]