This interface defines virtual methods for each of the user-facing overload sets in IAMPolicyClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IAMPolicyClient.
[[["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-08-14 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eIAMPolicyConnection\u003c/code\u003e class, which is part of the Google Cloud C++ client library for IAM (Identity and Access Management) version 1.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIAMPolicyConnection\u003c/code\u003e class defines virtual methods for user-facing overload sets found in the \u003ccode\u003eIAMPolicyClient\u003c/code\u003e, enabling users to implement custom behavior, particularly in testing scenarios.\u003c/p\u003e\n"],["\u003cp\u003eThe latest release is version 2.37.0-rc, and a comprehensive history of versions is provided, including versions as far back as 2.11.0, each linking to its respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eIAMPolicyConnection\u003c/code\u003e class supports functions such as \u003ccode\u003eSetIamPolicy\u003c/code\u003e, \u003ccode\u003eGetIamPolicy\u003c/code\u003e, and \u003ccode\u003eTestIamPermissions\u003c/code\u003e, which manage policy settings and testing permissions, all represented as virtual methods within the class interface.\u003c/p\u003e\n"],["\u003cp\u003eUsers can create a concrete \u003ccode\u003eIAMPolicyConnection\u003c/code\u003e instance using \u003ccode\u003eMakeIAMPolicyConnection()\u003c/code\u003e, or for mocking purposes, leverage \u003ccode\u003eiam_v1_mocks::MockIAMPolicyConnection\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]