Class ConfidentialComputingConnection (2.28.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::confidentialcomputing::v1::CreateChallengeRequest const &
Returns
Type Description
StatusOr< google::cloud::confidentialcomputing::v1::Challenge >

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

Parameter
Name Description
request google::cloud::confidentialcomputing::v1::VerifyAttestationRequest const &
Returns
Type Description
StatusOr< google::cloud::confidentialcomputing::v1::VerifyAttestationResponse >