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-05-07 UTC."],[[["This webpage details the `PolicyTroubleshooterConnection` class, which is essential for using the `PolicyTroubleshooterClient`."],["The `PolicyTroubleshooterConnection` interface provides virtual methods corresponding to the user-facing overload sets found in `PolicyTroubleshooterClient`."],["The latest version of the PolicyTroubleshooter is version 2.37.0-rc, with a variety of prior versions available for use from 2.36.0 all the way down to 2.11.0."],["Users can create custom behavior for testing with `PolicyTroubleshooterClient`, and create concrete instances via `MakePolicyTroubleshooterConnection()`, or use the provided `MockPolicyTroubleshooterConnection` for mocking."],["The class offers functions such as virtual options() and virtual TroubleshootIamPolicy(google::cloud::policytroubleshooter::iam::v3::TroubleshootIamPolicyRequest const &), for managing options and handling the `TroubleshootIamPolicyRequest`."]]],[]]