Class google::cloud::kms_inventory_v1::KeyTrackingServiceConnection (2.10.1)

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

To create a concrete instance, see MakeKeyTrackingServiceConnection().

For mocking, see kms_inventory_v1_mocks::MockKeyTrackingServiceConnection.

Constructors

~KeyTrackingServiceConnection

Functions

options

Returns
Type Description
Options

GetProtectedResourcesSummary

Parameter
Name Description
request google::cloud::kms::inventory::v1::GetProtectedResourcesSummaryRequest const &
Returns
Type Description
StatusOr< google::cloud::kms::inventory::v1::ProtectedResourcesSummary >

SearchProtectedResources

Parameter
Name Description
request google::cloud::kms::inventory::v1::SearchProtectedResourcesRequest
Returns
Type Description
StreamRange< google::cloud::kms::inventory::v1::ProtectedResource >