Class IamCheckerConnection (2.29.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::policytroubleshooter::v1::TroubleshootIamPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::policytroubleshooter::v1::TroubleshootIamPolicyResponse >