Class ConfidentialComputingConnection (2.19.0)

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

To create a concrete instance, see MakeConfidentialComputingConnection().

For mocking, see confidentialcomputing_v1_mocks::MockConfidentialComputingConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual CreateChallenge(google::cloud::confidentialcomputing::v1::CreateChallengeRequest const &)

Parameter
NameDescription
request google::cloud::confidentialcomputing::v1::CreateChallengeRequest const &
Returns
TypeDescription
StatusOr< google::cloud::confidentialcomputing::v1::Challenge >

virtual VerifyAttestation(google::cloud::confidentialcomputing::v1::VerifyAttestationRequest const &)

Parameter
NameDescription
request google::cloud::confidentialcomputing::v1::VerifyAttestationRequest const &
Returns
TypeDescription
StatusOr< google::cloud::confidentialcomputing::v1::VerifyAttestationResponse >