Class SystemPolicyV1Connection (2.12.0)

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

To create a concrete instance, see MakeSystemPolicyV1Connection().

For mocking, see binaryauthorization_v1_mocks::MockSystemPolicyV1Connection.

Functions

virtual options()

Returns
Type Description
Options

virtual GetSystemPolicy(google::cloud::binaryauthorization::v1::GetSystemPolicyRequest const &)

Parameter
Name Description
request google::cloud::binaryauthorization::v1::GetSystemPolicyRequest const &
Returns
Type Description
StatusOr< google::cloud::binaryauthorization::v1::Policy >