Class KeyTrackingServiceGrpc.KeyTrackingServiceImplBase (0.1.0)

public abstract static class KeyTrackingServiceGrpc.KeyTrackingServiceImplBase implements BindableService

Returns information about the resources in an org that are protected by a given Cloud KMS key via CMEK.

Inheritance

java.lang.Object > KeyTrackingServiceGrpc.KeyTrackingServiceImplBase

Implements

io.grpc.BindableService

Constructors

KeyTrackingServiceImplBase()

public KeyTrackingServiceImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request, StreamObserver<ProtectedResourcesSummary> responseObserver)

public void getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request, StreamObserver<ProtectedResourcesSummary> responseObserver)

Returns aggregate information about the resources protected by the given Cloud KMS 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
responseObserverio.grpc.stub.StreamObserver<ProtectedResourcesSummary>

searchProtectedResources(SearchProtectedResourcesRequest request, StreamObserver<SearchProtectedResourcesResponse> responseObserver)

public void searchProtectedResources(SearchProtectedResourcesRequest request, StreamObserver<SearchProtectedResourcesResponse> responseObserver)

Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud organization.

Parameters
NameDescription
requestSearchProtectedResourcesRequest
responseObserverio.grpc.stub.StreamObserver<SearchProtectedResourcesResponse>