// 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"]],[["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-07-08 UTC."],[[["This webpage provides documentation for various versions of the `compute_network_attachments_v1::NetworkAttachmentsClient`, ranging from version 2.15.1 to the latest release candidate 2.37.0-rc."],["Each version listed offers access to the `NetworkAttachmentsClient` endpoint snippet, which is a specific part of the documentation for that release."],["The documentation details how to override the default endpoint configuration for `compute_network_attachments_v1::NetworkAttachmentsClient`, using a specific example for Private Google Access."],["The example code provided demonstrates how to set a custom endpoint, specifically \"private.googleapis.com\", and then create a `NetworkAttachmentsClient` with these options."],["Version 2.19.0 is called out as a specific version of the documentation that is available."]]],[]]