Class EkmServiceConnection (2.13.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
Type Description
Options

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

Parameter
Name Description
request google::cloud::kms::v1::ListEkmConnectionsRequest
Returns
Type Description
StreamRange< google::cloud::kms::v1::EkmConnection >

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

Parameter
Name Description
request google::cloud::kms::v1::GetEkmConnectionRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::v1::EkmConnection >

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

Parameter
Name Description
request google::cloud::kms::v1::CreateEkmConnectionRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::v1::EkmConnection >

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

Parameter
Name Description
request google::cloud::kms::v1::UpdateEkmConnectionRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::v1::EkmConnection >

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

Parameter
Name Description
request google::cloud::kms::v1::GetEkmConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::v1::EkmConfig >

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

Parameter
Name Description
request google::cloud::kms::v1::UpdateEkmConfigRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::v1::EkmConfig >

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

Parameter
Name Description
request google::cloud::kms::v1::VerifyConnectivityRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::v1::VerifyConnectivityResponse >