Class WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1ImplBase (2.4.0)

public abstract static class WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1ImplBase implements BindableService

Web Risk v1beta1 API defines an interface to detect malicious URLs on your website and in client applications.

Inheritance

java.lang.Object > WebRiskServiceV1Beta1Grpc.WebRiskServiceV1Beta1ImplBase

Implements

io.grpc.BindableService

Constructors

WebRiskServiceV1Beta1ImplBase()

public WebRiskServiceV1Beta1ImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

computeThreatListDiff(ComputeThreatListDiffRequest request, StreamObserver<ComputeThreatListDiffResponse> responseObserver)

public void computeThreatListDiff(ComputeThreatListDiffRequest request, StreamObserver<ComputeThreatListDiffResponse> responseObserver)

Gets the most recent threat list diffs.

Parameters
NameDescription
requestComputeThreatListDiffRequest
responseObserverio.grpc.stub.StreamObserver<ComputeThreatListDiffResponse>

searchHashes(SearchHashesRequest request, StreamObserver<SearchHashesResponse> responseObserver)

public void searchHashes(SearchHashesRequest request, 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.

Parameters
NameDescription
requestSearchHashesRequest
responseObserverio.grpc.stub.StreamObserver<SearchHashesResponse>

searchUris(SearchUrisRequest request, StreamObserver<SearchUrisResponse> responseObserver)

public void searchUris(SearchUrisRequest request, StreamObserver<SearchUrisResponse> responseObserver)

This method is used to check whether a URI is on a given threatList.

Parameters
NameDescription
requestSearchUrisRequest
responseObserverio.grpc.stub.StreamObserver<SearchUrisResponse>