This interface defines virtual methods for each of the user-facing overload sets in PolicyTroubleshooterClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type PolicyTroubleshooterClient.
[[["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."],[[["The webpage documents various versions of the `PolicyTroubleshooterConnection`, ranging from the latest release candidate, version 2.37.0-rc, down to version 2.11.0."],["`PolicyTroubleshooterConnection` defines virtual methods for user-facing overload sets in `PolicyTroubleshooterClient`, enabling users to inject custom behavior, like Google Mock objects, for testing."],["The interface allows mocking using `policytroubleshooter_iam_v3_mocks::MockPolicyTroubleshooterConnection`, while a concrete instance can be created via `MakePolicyTroubleshooterConnection()`."],["A key function is `TroubleshootIamPolicy`, which accepts a `TroubleshootIamPolicyRequest` and returns a `TroubleshootIamPolicyResponse` within a `StatusOr` wrapper."],["The `options` function is accessible in the interface, and returns an object of type Options."]]],[]]