// 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_target_vpn_gateways_v1::TargetVpnGatewaysClient(
google::cloud::compute_target_vpn_gateways_v1::
MakeTargetVpnGatewaysConnectionRest(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 webpage provides documentation for different versions of the `compute_target_vpn_gateways_v1` component, ranging from version 2.15.1 to the latest release candidate 2.37.0-rc."],["Each version listed contains a link to the documentation for the `TargetVpnGatewaysClient` endpoint snippet."],["The page details how to override the default endpoint configuration for `TargetVpnGatewaysClient` to use a custom endpoint, such as `private.googleapis.com`."],["The presented example shows the steps to create a `TargetVpnGatewaysClient` with a modified endpoint using `MakeTargetVpnGatewaysConnectionRest` along with the option `private.googleapis.com`."],["The documentations are all found under `/cpp/docs/reference/compute/` and have a respective version after the compute section."]]],[]]