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-05 UTC."],[[["This page documents the `IAMPolicyConnection` object, which is part of the Google Cloud C++ client library for IAM and specifically version 2.11.0 and above."],["`IAMPolicyConnection` defines the interface for virtual methods within `IAMPolicyClient`, allowing for custom behavior injection during testing, and enabling the mocking of the `IAMPolicyClient`."],["The latest release candidate for this class is `2.37.0-rc`, and the page lists a comprehensive range of previous versions down to 2.11.0."],["The provided functions include `SetIamPolicy`, `GetIamPolicy`, and `TestIamPermissions`, each taking a specific request object as input and returning a StatusOr object."],["Users can create a `IAMPolicyConnection` object with `MakeIAMPolicyConnection()` or mock one with `iam_v1_mocks::MockIAMPolicyConnection` for testing."]]],[]]