KMS Inventory v1 API - Class KeyTrackingService.KeyTrackingServiceBase (1.4.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
Name Description
request GetProtectedResourcesSummaryRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
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
Name Description
request SearchProtectedResourcesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskSearchProtectedResourcesResponse

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