Class 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 Detail

      • 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.