// 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-15 UTC."],[[["This webpage provides access to various versions of the `compute_regions_v1_1_1RegionsClient` documentation, ranging from the latest release candidate, 2.37.0-rc, down to version 2.15.1."],["Each listed version has a corresponding link to its specific documentation for `compute_regions_v1_1_1RegionsClient-endpoint-snippet`."],["The page demonstrates how to override the endpoint configuration for `compute_regions_v1::RegionsClient`, using \"private.googleapis.com\" as an example."],["The provided code snippet illustrates how to configure the RegionsClient to use a custom endpoint, which can be used in situations like Private Google Access."]]],[]]