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-08-14 UTC."],[[["\u003cp\u003eThis webpage lists various versions of the \u003ccode\u003ePolicyTroubleshooterConnection\u003c/code\u003e class, with \u003ccode\u003e2.37.0-rc\u003c/code\u003e being the latest.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ePolicyTroubleshooterConnection\u003c/code\u003e object provides a set of virtual methods corresponding to the user-facing overload sets found in the \u003ccode\u003ePolicyTroubleshooterClient\u003c/code\u003e, allowing users to inject custom behavior.\u003c/p\u003e\n"],["\u003cp\u003eA concrete instance of the \u003ccode\u003ePolicyTroubleshooterConnection\u003c/code\u003e class can be created using the \u003ccode\u003eMakePolicyTroubleshooterConnection()\u003c/code\u003e function.\u003c/p\u003e\n"],["\u003cp\u003eFor testing purposes, a mock object, \u003ccode\u003eMockPolicyTroubleshooterConnection\u003c/code\u003e, is available for mocking \u003ccode\u003ePolicyTroubleshooterConnection\u003c/code\u003e behavior.\u003c/p\u003e\n"],["\u003cp\u003eThe virtual function \u003ccode\u003eTroubleshootIamPolicy\u003c/code\u003e, takes \u003ccode\u003eTroubleshootIamPolicyRequest\u003c/code\u003e as a parameter and returns the \u003ccode\u003eStatusOr< TroubleshootIamPolicyResponse >\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]