// 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-08-14 UTC."],[[["\u003cp\u003eThis webpage provides documentation for various versions of the \u003ccode\u003ecompute_network_attachments_v1::NetworkAttachmentsClient\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 offers access to the \u003ccode\u003eNetworkAttachmentsClient\u003c/code\u003e endpoint snippet, which is a specific part of the documentation for that release.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation details how to override the default endpoint configuration for \u003ccode\u003ecompute_network_attachments_v1::NetworkAttachmentsClient\u003c/code\u003e, using a specific example for Private Google Access.\u003c/p\u003e\n"],["\u003cp\u003eThe example code provided demonstrates how to set a custom endpoint, specifically "private.googleapis.com", and then create a \u003ccode\u003eNetworkAttachmentsClient\u003c/code\u003e with these options.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.19.0 is called out as a specific version of the documentation that is available.\u003c/p\u003e\n"]]],[],null,[]]