lookupKey method

ResponseFuture<LookupKeyResponse> lookupKey(
  1. LookupKeyRequest request, {
  2. CallOptions? options,
})

Find the parent project and resource name of the API key that matches the key string in the request. If the API key has been purged, resource name will not be set. The service account must have the apikeys.keys.lookup permission on the parent project.

Implementation

$grpc.ResponseFuture<$0.LookupKeyResponse> lookupKey(
  $0.LookupKeyRequest request, {
  $grpc.CallOptions? options,
}) {
  return $createUnaryCall(_$lookupKey, request, options: options);
}