Class ValidationHelperV1Connection (2.26.0)

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

To create a concrete instance, see MakeValidationHelperV1Connection().

For mocking, see binaryauthorization_v1_mocks::MockValidationHelperV1Connection.

Functions

virtual options()

Returns
Type Description
Options

virtual ValidateAttestationOccurrence(google::cloud::binaryauthorization::v1::ValidateAttestationOccurrenceRequest const &)

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