// 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_network_attachments_v1::NetworkAttachmentsClient(
google::cloud::compute_network_attachments_v1::
MakeNetworkAttachmentsConnectionRest(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 documentation for various versions of the `compute_network_attachments_v1_1_1NetworkAttachmentsClient` component, ranging from version 2.15.1 up to the latest release candidate, 2.37.0-rc."],["Each version listed links to specific documentation detailing the `NetworkAttachmentsClient-endpoint-snippet` for that release, allowing for detailed inspection of different versions."],["The most current release candidate version is 2.37.0-rc, and this page has versions descending all the way down to 2.15.1, allowing users to go as far back as needed."],["There is a code example that shows how to override the `compute_network_attachments_v1::NetworkAttachmentsClient` endpoint configuration using `private.googleapis.com` in the `google::cloud::Options`."],["The code provided configures a `NetworkAttachmentsClient` with an overridden endpoint, which is noted to be common with Private Google Access settings."]]],[]]