Class KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub (0.30.0)

public static final class KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub extends AbstractFutureStub<KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service KeyTrackingService.

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

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request)

public ListenableFuture<ProtectedResourcesSummary> getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request)

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.

Parameter
NameDescription
requestGetProtectedResourcesSummaryRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ProtectedResourcesSummary>

searchProtectedResources(SearchProtectedResourcesRequest request)

public ListenableFuture<SearchProtectedResourcesResponse> searchProtectedResources(SearchProtectedResourcesRequest request)

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

Parameter
NameDescription
requestSearchProtectedResourcesRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<SearchProtectedResourcesResponse>