public abstract static class WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1ImplBase extends Object implements io.grpc.BindableService
Web Risk v1beta1 API defines an interface to detect malicious URLs on your website and in client applications.
| Constructor and Description |
|---|
WebRiskServiceV1Beta1ImplBase() |
| Modifier and Type | Method and Description |
|---|---|
io.grpc.ServerServiceDefinition |
bindService() |
void |
computeThreatListDiff(ComputeThreatListDiffRequest request,
io.grpc.stub.StreamObserver<ComputeThreatListDiffResponse> responseObserver)
Gets the most recent threat list diffs.
|
void |
searchHashes(SearchHashesRequest request,
io.grpc.stub.StreamObserver<SearchHashesResponse> responseObserver)
Gets the full hashes that match the requested hash prefix.
|
void |
searchUris(SearchUrisRequest request,
io.grpc.stub.StreamObserver<SearchUrisResponse> responseObserver)
This method is used to check whether a URI is on a given threatList.
|
public void computeThreatListDiff(ComputeThreatListDiffRequest request, io.grpc.stub.StreamObserver<ComputeThreatListDiffResponse> responseObserver)
Gets the most recent threat list diffs.
public void searchUris(SearchUrisRequest request, io.grpc.stub.StreamObserver<SearchUrisResponse> responseObserver)
This method is used to check whether a URI is on a given threatList.
public void searchHashes(SearchHashesRequest request, io.grpc.stub.StreamObserver<SearchHashesResponse> responseObserver)
Gets the full hashes that match the requested hash prefix. This is used after a hash prefix is looked up in a threatList and there is a match. The client side threatList only holds partial hashes so the client must query this method to determine if there is a full hash match of a threat.
public final io.grpc.ServerServiceDefinition bindService()
bindService in interface io.grpc.BindableServiceCopyright © 2019 Google LLC. All rights reserved.