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-04-09 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 defines virtual methods for user-facing overload sets found in `PoliciesClient`, enabling the injection of custom behaviors for testing, such as with Google Mock objects."],["The page offers a comprehensive list of previous versions of the `PoliciesConnection`, ranging from version 2.11.0 up to 2.36.0, in addition to the latest release candidate, 2.37.0-rc."],["Key functions of the `PoliciesConnection` class are outlined, including `ListPolicies`, `GetPolicy`, `CreatePolicy`, `UpdatePolicy`, and `DeletePolicy`, each with their respective parameter and return types."],["The `MakePoliciesConnection()` function can be used to create a concrete instance of the class, while `iam_v2_mocks::MockPoliciesConnection` is available for mocking purposes."]]],[]]