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 webpage details the `PoliciesConnection` object, which provides virtual methods for each user-facing overload set found in `PoliciesClient`."],["The content covers versions of the `PoliciesConnection` object, ranging from 2.11.0 up to the latest release candidate, 2.37.0-rc, and specifically highlights 2.36.0."],["`PoliciesConnection` facilitates custom behavior injection, primarily for testing using objects such as Google Mock objects."],["The interface includes functions such as `ListPolicies`, `GetPolicy`, `CreatePolicy`, `UpdatePolicy`, `DeletePolicy`, and `GetOperation`, each with specific parameter and return types."],["`MakePoliciesConnection()` allows you to create a concrete instance of the object while `iam_v2_mocks::MockPoliciesConnection` is used for mocking."]]],[]]