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"]],[["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-07 UTC."],[[["This document outlines the `PoliciesConnection` interface for version 2.31.0 of the Google Cloud IAM v2 C++ client library, which defines virtual methods mirroring the user-facing overload sets found in `PoliciesClient`."],["The `PoliciesConnection` interface allows users to inject custom behavior, such as with mock objects, for testing scenarios involving `PoliciesClient`."],["It includes the `MakePoliciesConnection()` function to create a concrete instance and the `iam_v2_mocks::MockPoliciesConnection` class for mocking purposes."],["The interface defines virtual methods for managing policies, including `ListPolicies`, `GetPolicy`, `CreatePolicy`, `UpdatePolicy`, `DeletePolicy`, and also includes a method called `GetOperation` to get a long running operation."],["There are numerous documented versions of the `PoliciesConnection`, all the way back to 2.11.0, and including a release candidate."]]],[]]