// 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::iam_v1::IAMPolicyClient(
google::cloud::iam_v1::MakeIAMPolicyConnection(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-04-17 UTC."],[[["This page provides access to various versions of the `iam_v1_1_1IAMPolicyClient` endpoint snippet documentation, ranging from version 2.11.0 up to the latest release candidate, 2.37.0-rc."],["The most recent stable version available is 2.36.0, and each version listed links to its corresponding documentation."],["The page also outlines how to override the default `iam_v1::IAMPolicyClient` endpoint configuration, demonstrating how to set a custom endpoint such as `\"private.googleapis.com\"`."],["The example code provided demonstrates how to use `google::cloud::Options` to configure the endpoint, particularly in the context of Private Google Access."]]],[]]