This interface defines virtual methods for each of the user-facing overload sets in PoliciesClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PoliciesClient.
[[["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-14 UTC."],[[["This webpage provides documentation for the `PoliciesConnection` class within the Google Cloud IAM v2 C++ library, with the latest release candidate version being 2.37.0-rc."],["The `PoliciesConnection` class is an interface that defines virtual methods mirroring the user-facing overload sets found in the `PoliciesClient`, enabling custom behavior injection for testing."],["Concrete instances of `PoliciesConnection` can be created using `MakePoliciesConnection()`, while `iam_v2_mocks::MockPoliciesConnection` can be used for mocking in testing scenarios."],["The `PoliciesConnection` class includes functions such as `ListPolicies`, `GetPolicy`, `CreatePolicy`, `UpdatePolicy`, and `DeletePolicy`, each accepting a corresponding request object and returning a relevant type, such as a `StreamRange` or a `future` containing a `StatusOr`."],["The webpage provides a comprehensive list of all `PoliciesConnection` versions, starting from 2.37.0-rc down to 2.11.0."]]],[]]