// 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"]],[["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-05 UTC."],[[["This page provides access to different versions of the `compute_external_vpn_gateways_v1::ExternalVpnGatewaysClient` documentation, starting from version 2.15.1 up to the latest release candidate 2.37.0-rc."],["Each version listed links to the respective `compute_external_vpn_gateways_v1_1_1ExternalVpnGatewaysClient-endpoint-snippet` documentation for that specific release."],["The latest version, 2.37.0-rc, is marked as the most current release candidate."],["The page includes an example for overriding the default endpoint configuration of the `compute_external_vpn_gateways_v1::ExternalVpnGatewaysClient`, showing how to set a private endpoint."]]],[]]