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 webpage details the `IAMPolicyConnection` interface, which defines virtual methods for each user-facing overload set in `IAMPolicyClient`."],["The latest version of `IAMPolicyConnection` is 2.37.0-rc, with a list of older versions provided."],["`IAMPolicyConnection` enables the injection of custom behavior during testing, particularly useful with Google Mock objects."],["The interface includes functions for `options()`, `SetIamPolicy`, `GetIamPolicy`, and `TestIamPermissions`, each detailed with parameter and return information."],["`MakeIAMPolicyConnection()` can be used to make a concrete instance of an `IAMPolicyConnection` and `iam_v1_mocks::MockIAMPolicyConnection` can be used for mocking."]]],[]]