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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-14 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."]]],[]]