Class KeyTrackingServiceGrpc.KeyTrackingServiceStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractAsyncStub<KeyTrackingServiceGrpc.KeyTrackingServiceStub>
-
- com.google.cloud.kms.inventory.v1.KeyTrackingServiceGrpc.KeyTrackingServiceStub
-
- Enclosing class:
- KeyTrackingServiceGrpc
public static final class KeyTrackingServiceGrpc.KeyTrackingServiceStub extends io.grpc.stub.AbstractAsyncStub<KeyTrackingServiceGrpc.KeyTrackingServiceStub>
A stub to allow clients to do asynchronous 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.KeyTrackingServiceStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
void
getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request, io.grpc.stub.StreamObserver<ProtectedResourcesSummary> responseObserver)
Returns aggregate information about the resources protected by the given Cloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey].void
searchProtectedResources(SearchProtectedResourcesRequest request, io.grpc.stub.StreamObserver<SearchProtectedResourcesResponse> responseObserver)
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.KeyTrackingServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<KeyTrackingServiceGrpc.KeyTrackingServiceStub>
-
getProtectedResourcesSummary
public void getProtectedResourcesSummary(GetProtectedResourcesSummaryRequest request, io.grpc.stub.StreamObserver<ProtectedResourcesSummary> responseObserver)
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 void searchProtectedResources(SearchProtectedResourcesRequest request, io.grpc.stub.StreamObserver<SearchProtectedResourcesResponse> responseObserver)
Returns metadata about the resources protected by the given Cloud KMS [CryptoKey][google.cloud.kms.v1.CryptoKey] in the given Cloud organization.
-
-