// 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"]],[["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\u003eThe webpage provides a list of versioned documentation for \u003ccode\u003ecompute_target_vpn_gateways_v1_1_1TargetVpnGatewaysClient\u003c/code\u003e, ranging from version 2.15.1 to the latest release candidate 2.37.0-rc.\u003c/p\u003e\n"],["\u003cp\u003eEach version listed includes a hyperlink that leads to the respective documentation for that specific release of the \u003ccode\u003eTargetVpnGatewaysClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.37.0-rc is the latest release candidate, indicating it is a pre-release version for the \u003ccode\u003ecompute_target_vpn_gateways_v1_1_1TargetVpnGatewaysClient\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page includes information regarding how to override the endpoint configuration for \u003ccode\u003ecompute_target_vpn_gateways_v1::TargetVpnGatewaysClient\u003c/code\u003e, specifically for Private Google Access.\u003c/p\u003e\n"],["\u003cp\u003eThe example code snippet shows that setting \u003ccode\u003eprivate.googleapis.com\u003c/code\u003e as the endpoint is common with Private Google Access when creating a \u003ccode\u003eTargetVpnGatewaysClient\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]