Class ValidationHelperV1Connection (2.23.0-rc)

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

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

Parameter
NameDescription
request google::cloud::binaryauthorization::v1::ValidateAttestationOccurrenceRequest const &
Returns
TypeDescription
StatusOr< google::cloud::binaryauthorization::v1::ValidateAttestationOccurrenceResponse >