Class SystemPolicyV1Connection (2.15.1)

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
TypeDescription
Options

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

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::GetSystemPolicyRequest const &
Returns
TypeDescription
StatusOr< google::cloud::binaryauthorization::v1::Policy >