The KeyDashboardServiceConnection
object for KeyDashboardServiceClient
.
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 | |
---|---|
Type | Description |
Options |
virtual ListCryptoKeys(google::cloud::kms::inventory::v1::ListCryptoKeysRequest)
Parameter | |
---|---|
Name | Description |
request |
google::cloud::kms::inventory::v1::ListCryptoKeysRequest
|
Returns | |
---|---|
Type | Description |
StreamRange< google::cloud::kms::v1::CryptoKey > |