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` class, which provides virtual methods for each user-facing overload set in `IAMPolicyClient`, within the context of the Google Cloud C++ IAM library."],["Version 2.37.0-rc is the latest release candidate, and the page also lists other versions from 2.36.0 down to 2.11.0 of the `IAMPolicyConnection`."],["`IAMPolicyConnection` allows users to inject custom behaviors, such as with a Google Mock object, into `IAMPolicyClient` for testing purposes."],["The `IAMPolicyConnection` class provides virtual functions like `SetIamPolicy`, `GetIamPolicy`, and `TestIamPermissions`, which interact with the Google IAM service."],["A concrete `IAMPolicyConnection` instance can be created using `MakeIAMPolicyConnection()`, and for testing, `iam_v1_mocks::MockIAMPolicyConnection` can be used."]]],[]]