Class EkmServiceConnection (2.34.0-rc)

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 >

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 >

virtual SetIamPolicy(google::iam::v1::SetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::SetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual GetIamPolicy(google::iam::v1::GetIamPolicyRequest const &)

Parameter
Name Description
request google::iam::v1::GetIamPolicyRequest const &
Returns
Type Description
StatusOr< google::iam::v1::Policy >

virtual TestIamPermissions(google::iam::v1::TestIamPermissionsRequest const &)

Parameter
Name Description
request google::iam::v1::TestIamPermissionsRequest const &
Returns
Type Description
StatusOr< google::iam::v1::TestIamPermissionsResponse >

virtual GetOperation(google::longrunning::GetOperationRequest const &)

Parameter
Name Description
request google::longrunning::GetOperationRequest const &
Returns
Type Description
StatusOr< google::longrunning::Operation >