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::pubsub::Publisher:
[[["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."],[[["This document provides a comprehensive list of Pub/Sub C++ client library versions, ranging from version 2.11.0 up to the latest release candidate 2.37.0-rc."],["Each version listed has a corresponding link to its documentation with pubsub-endpoint-example."],["Users can override the default endpoint used by the client library by using `google::cloud::EndpointOption` during client initialization."],["Examples of endpoint overrides are available for various client classes, including `Subscriber`, `BlockingPublisher`, `TopicAdminClient`, `SubscriptionAdminClient`, `SchemaServiceClient`, and `Publisher`."],["The current version described is 2.33.0, but there is newer documentation, such as 2.37.0-rc, that can also be viewed."]]],[]]