Class IamCheckerConnection (2.23.0-rc)

This interface defines virtual methods for each of the user-facing overload sets in IamCheckerClient. This allows users to inject custom behavior (e.g., with a Google Mock object) when writing tests that use objects of type IamCheckerClient.

To create a concrete instance, see MakeIamCheckerConnection().

For mocking, see policytroubleshooter_v1_mocks::MockIamCheckerConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual TroubleshootIamPolicy(google::cloud::policytroubleshooter::v1::TroubleshootIamPolicyRequest const &)

Parameter
NameDescription
request google::cloud::policytroubleshooter::v1::TroubleshootIamPolicyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::policytroubleshooter::v1::TroubleshootIamPolicyResponse >