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-21 UTC."],[[["This webpage lists various versions of the `PolicyTroubleshooterConnection`, ranging from the latest release candidate, version 2.37.0-rc, down to version 2.11.0."],["The `PolicyTroubleshooterConnection` object provides virtual methods for user-facing overload sets found in the `PolicyTroubleshooterClient`."],["Users can utilize this interface to incorporate custom behaviors, such as using a Google Mock object, during the testing of `PolicyTroubleshooterClient` objects."],["The page highlights `MakePolicyTroubleshooterConnection()` for creating a concrete instance and `policytroubleshooter_iam_v3_mocks::MockPolicyTroubleshooterConnection` for mocking."],["The content also covers the function `TroubleshootIamPolicy`, detailing its parameter (`request`) and return type (`StatusOr\u003c google::cloud::policytroubleshooter::iam::v3::TroubleshootIamPolicyResponse \u003e`)."]]],[]]