Class KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractFutureStub<KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub>
-
- com.google.cloud.kms.inventory.v1.KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub
-
- Enclosing class:
- KeyTrackingServiceGrpc
public static final class KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub extends io.grpc.stub.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.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.common.util.concurrent.ListenableFuture<ProtectedResourcesSummary>
getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request)
Returns aggregate information about the resources protected by the given Cloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey].com.google.common.util.concurrent.ListenableFuture<SearchProtectedResourcesResponse>
searchProtectedResources(SearchProtectedResourcesRequest request)
Returns metadata about the resources protected by the given Cloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey] in the given Cloud organization.
-
-
-
Method Detail
-
build
protected KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<KeyTrackingServiceGrpc.KeyTrackingServiceFutureStub>
-
getProtectedResourcesSummary
public com.google.common.util.concurrent.ListenableFuture<ProtectedResourcesSummary> getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request)
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.
-
searchProtectedResources
public com.google.common.util.concurrent.ListenableFuture<SearchProtectedResourcesResponse> searchProtectedResources(SearchProtectedResourcesRequest request)
Returns metadata about the resources protected by the given Cloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey] in the given Cloud organization.
-
-