// 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_regions_v1::RegionsClient(
google::cloud::compute_regions_v1::MakeRegionsConnectionRest(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 document provides access to various versions of the compute regions client, ranging from version 2.15.1 up to the latest version 2.37.0-rc."],["The most current version available is 2.37.0-rc, as noted with the tag (latest) next to the link."],["Each version listed has a corresponding link that leads to specific documentation for that version's `compute_regions_v1_1_1RegionsClient-endpoint-snippet`."],["The content illustrates how to override the `compute_regions_v1::RegionsClient` endpoint configuration, for scenarios such as Private Google Access, by setting a custom endpoint."],["The content spans across versions 2.15.1 to 2.37.0-rc, with various versions in between."]]],[]]