// 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 documentation for different versions of the `compute_external_vpn_gateways_v1::ExternalVpnGatewaysClient` component, starting from version 2.15.1 up to the latest release candidate 2.37.0-rc."],["Each version listed links to its corresponding endpoint configuration snippet, which is located in the respective version directory within the documentation."],["The latest stable release for this component is version 2.36.0, with version 2.37.0-rc as a release candidate, that may have breaking changes."],["There is a code example for overriding the `compute_external_vpn_gateways_v1::ExternalVpnGatewaysClient` endpoint configuration to use \"private.googleapis.com,\" which is associated with Private Google Access."]]],[]]