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-03-21 UTC."],[[["This webpage details the `IAMPolicyConnection` object, which is crucial for the `IAMPolicyClient` within the Google Cloud C++ library."],["The latest version available is `2.37.0-rc`, and the page provides links to documentation for multiple previous versions, starting from `2.11.0`."],["`IAMPolicyConnection` enables the injection of custom behaviors during testing, often implemented using mock objects, for example the `iam_v1_mocks::MockIAMPolicyConnection`."],["The interface exposes virtual methods such as `SetIamPolicy`, `GetIamPolicy`, and `TestIamPermissions` which correlate to user-facing sets in the `IAMPolicyClient` object."],["To instantiate an object, the use of the function `MakeIAMPolicyConnection()` is needed."]]],[]]