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 latest version of the PolicyTroubleshooter is 2.37.0-rc, but there are many versions available, including 2.36.0, 2.35.0, down to 2.11.0."],["This page provides documentation for the `PolicyTroubleshooterConnection` object, which is used with the `PolicyTroubleshooterClient`."],["The `PolicyTroubleshooterConnection` interface allows users to inject custom behavior into `PolicyTroubleshooterClient` objects, which is especially helpful for testing purposes."],["The page references the `MakePolicyTroubleshooterConnection()` function for creating a concrete instance of `PolicyTroubleshooterConnection` and the `MockPolicyTroubleshooterConnection` class for mocking."],["Key functions include `options()` and `TroubleshootIamPolicy()`, which accepts a `TroubleshootIamPolicyRequest` and returns a `TroubleshootIamPolicyResponse`."]]],[]]