// 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_resource_policies_v1::ResourcePoliciesClient(
google::cloud::compute_resource_policies_v1::
MakeResourcePoliciesConnectionRest(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."],[[["The latest available version is 2.37.0-rc, which is a release candidate for the compute resource policies."],["This page lists the available versions of the compute resource policies, ranging from the release candidate 2.37.0-rc down to version 2.15.1."],["Each version number links to the corresponding documentation for `compute_resource_policies_v1_1_1ResourcePoliciesClient-endpoint-snippet`."],["The page provides an example of how to override the default endpoint configuration, specifically for private Google access, using `google::cloud::EndpointOption` and `MakeResourcePoliciesConnectionRest`."]]],[]]