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-21 UTC."],[[["This webpage details the `PoliciesConnection` object, which is part of the Google Cloud IAM v2 C++ library and provides an interface for virtual methods used in `PoliciesClient`."],["The `PoliciesConnection` class is designed to facilitate the injection of custom behaviors, such as with mock objects, for testing purposes involving `PoliciesClient` objects."],["The page includes a comprehensive list of versions, starting from version 2.37.0-rc down to 2.11.0, each linked to its corresponding documentation for `PoliciesConnection`."],["The provided functions within `PoliciesConnection` include methods for listing, getting, creating, updating, and deleting policies, with each method accepting a request parameter and returning a specific type."],["Users can create a `PoliciesConnection` instance with `MakePoliciesConnection()` or use `iam_v2_mocks::MockPoliciesConnection` for testing purposes."]]],[]]