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"]],[["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-07-30 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`."]]],[]]