In some cases, you may need to override the default endpoint used by the client library. Use the EndpointOption when initializing the client library to change this default.
For example, this will override the default endpoint for vmwareengine_v1::VmwareEngineClient:
// This configuration is common with Private Google Access:
// https://cloud.google.com/vpc/docs/private-google-access
auto options = google::cloud::Options{}.set<google::cloud::EndpointOption>(
"private.googleapis.com");
auto client = google::cloud::vmwareengine_v1::VmwareEngineClient(
google::cloud::vmwareengine_v1::MakeVmwareEngineConnection(options));
[[["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-14 UTC."],[[["The latest release candidate version for the VMware Engine documentation is 2.37.0-rc, and it can be found at /cpp/docs/reference/vmwareengine/latest/vmwareengine-override-endpoint."],["This page provides access to numerous previous versions of the VMware Engine documentation, ranging from 2.36.0 down to 2.11.0, each with its own specific URL for referencing."],["Users can override the default endpoint for the client library, such as for `vmwareengine_v1::VmwareEngineClient`, by utilizing the `EndpointOption` when initializing the client."],["The provided example demonstrates how to override the default endpoint, specifically configuring it for \"private.googleapis.com\", which is a common configuration for Private Google Access."]]],[]]