KMS Inventory v1 API - Class KeyTrackingService.KeyTrackingServiceBase (1.0.0)

[BindServiceMethod(typeof(KeyTrackingService), "BindService")]
public abstract class KeyTrackingService.KeyTrackingServiceBase

Reference documentation and code samples for the KMS Inventory v1 API class KeyTrackingService.KeyTrackingServiceBase.

Base class for server-side implementations of KeyTrackingService

Inheritance

object > KeyTrackingService.KeyTrackingServiceBase

Namespace

Google.Cloud.Kms.Inventory.V1

Assembly

Google.Cloud.Kms.Inventory.V1.dll

Methods

GetProtectedResourcesSummary(GetProtectedResourcesSummaryRequest, ServerCallContext)

public virtual Task<ProtectedResourcesSummary> GetProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request, ServerCallContext context)

Returns aggregate information about the resources protected by the given Cloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey]. Only resources within the same Cloud organization as the key will be returned. The project that holds the key must be part of an organization in order for this call to succeed.

Parameters
NameDescription
requestGetProtectedResourcesSummaryRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskProtectedResourcesSummary

The response to send back to the client (wrapped by a task).

SearchProtectedResources(SearchProtectedResourcesRequest, ServerCallContext)

public virtual Task<SearchProtectedResourcesResponse> SearchProtectedResources(SearchProtectedResourcesRequest request, ServerCallContext context)

Returns metadata about the resources protected by the given Cloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey] in the given Cloud organization.

Parameters
NameDescription
requestSearchProtectedResourcesRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
TaskSearchProtectedResourcesResponse

The response to send back to the client (wrapped by a task).