// 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));