Class ConfidentialComputingConnection (2.32.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 >

virtual ListLocations(google::cloud::location::ListLocationsRequest)

Parameter
Name Description
request google::cloud::location::ListLocationsRequest
Returns
Type Description
StreamRange< google::cloud::location::Location >

virtual GetLocation(google::cloud::location::GetLocationRequest const &)

Parameter
Name Description
request google::cloud::location::GetLocationRequest const &
Returns
Type Description
StatusOr< google::cloud::location::Location >