Class KeyDashboardServiceConnection (2.21.0)

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

To create a concrete instance, see MakeKeyDashboardServiceConnection().

For mocking, see kms_inventory_v1_mocks::MockKeyDashboardServiceConnection.

Functions

virtual options()

Returns
TypeDescription
Options

virtual ListCryptoKeys(google::cloud::kms::inventory::v1::ListCryptoKeysRequest)

Parameter
NameDescription
request google::cloud::kms::inventory::v1::ListCryptoKeysRequest
Returns
TypeDescription
StreamRange< google::cloud::kms::v1::CryptoKey >