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