// 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::compute_external_vpn_gateways_v1::
ExternalVpnGatewaysClient(
google::cloud::compute_external_vpn_gateways_v1::
MakeExternalVpnGatewaysConnectionRest(options));
[[["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-14 UTC."],[[["\u003cp\u003eThis webpage provides access to documentation for various versions of the \u003ccode\u003ecompute_external_vpn_gateways_v1_1_1ExternalVpnGatewaysClient\u003c/code\u003e, ranging from version 2.15.1 up to the latest release candidate, 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eEach version's documentation includes a snippet for configuring the \u003ccode\u003eExternalVpnGatewaysClient\u003c/code\u003e endpoint, such as when using private Google access.\u003c/p\u003e\n"],["\u003cp\u003eThe most recent stable release of the compute external VPN gateways documentation is version 2.36.0.\u003c/p\u003e\n"],["\u003cp\u003eThe content shows how to override the default endpoint configuration for the \u003ccode\u003eExternalVpnGatewaysClient\u003c/code\u003e by setting the \u003ccode\u003eEndpointOption\u003c/code\u003e to a specific value like \u003ccode\u003e"private.googleapis.com"\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]