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 document details the `PoliciesConnection` object, which is designed for use with `PoliciesClient`."],["The `PoliciesConnection` interface provides virtual methods that mirror the user-facing overload sets found in `PoliciesClient`, enabling the injection of custom behaviors for testing purposes."],["A concrete instance of `PoliciesConnection` can be created using `MakePoliciesConnection()`."],["For mocking capabilities, use `iam_v2_mocks::MockPoliciesConnection`."],["The interface includes functions for managing policies, such as `ListPolicies`, `GetPolicy`, `CreatePolicy`, `UpdatePolicy`, and `DeletePolicy`."]]],[]]