Class EkmServiceConnection (2.22.0)

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

To create a concrete instance, see MakeEkmServiceConnection().

For mocking, see kms_v1_mocks::MockEkmServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListEkmConnections(google::cloud::kms::v1::ListEkmConnectionsRequest)

Parameter
NameDescription
request google::cloud::kms::v1::ListEkmConnectionsRequest
Returns
TypeDescription
StreamRange< google::cloud::kms::v1::EkmConnection >

virtual GetEkmConnection(google::cloud::kms::v1::GetEkmConnectionRequest const &)

Parameter
NameDescription
request google::cloud::kms::v1::GetEkmConnectionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::kms::v1::EkmConnection >

virtual CreateEkmConnection(google::cloud::kms::v1::CreateEkmConnectionRequest const &)

Parameter
NameDescription
request google::cloud::kms::v1::CreateEkmConnectionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::kms::v1::EkmConnection >

virtual UpdateEkmConnection(google::cloud::kms::v1::UpdateEkmConnectionRequest const &)

Parameter
NameDescription
request google::cloud::kms::v1::UpdateEkmConnectionRequest const &
Returns
TypeDescription
StatusOr< google::cloud::kms::v1::EkmConnection >

virtual GetEkmConfig(google::cloud::kms::v1::GetEkmConfigRequest const &)

Parameter
NameDescription
request google::cloud::kms::v1::GetEkmConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::kms::v1::EkmConfig >

virtual UpdateEkmConfig(google::cloud::kms::v1::UpdateEkmConfigRequest const &)

Parameter
NameDescription
request google::cloud::kms::v1::UpdateEkmConfigRequest const &
Returns
TypeDescription
StatusOr< google::cloud::kms::v1::EkmConfig >

virtual VerifyConnectivity(google::cloud::kms::v1::VerifyConnectivityRequest const &)

Parameter
NameDescription
request google::cloud::kms::v1::VerifyConnectivityRequest const &
Returns
TypeDescription
StatusOr< google::cloud::kms::v1::VerifyConnectivityResponse >