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-04-09 UTC."],[[["This page provides documentation for the `IAMPolicyConnection` object, which is used with `IAMPolicyClient`."],["The `IAMPolicyConnection` object defines virtual methods for user-facing overload sets in `IAMPolicyClient`, enabling custom behavior injection for testing."],["The latest release candidate version is 2.37.0-rc, and the page includes documentation for numerous versions ranging from 2.11.0 up to the latest, including version 2.22.1."],["The `IAMPolicyConnection` class has virtual functions such as `options()`, `SetIamPolicy()`, `GetIamPolicy()`, and `TestIamPermissions()`."],["To create an `IAMPolicyConnection` instance, use `MakeIAMPolicyConnection()`, and for mocking, use `iam_v1_mocks::MockIAMPolicyConnection`."]]],[]]