Class WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Base (2.0.0-beta05)

[BindServiceMethod(typeof(WebRiskServiceV1Beta1), "BindService")]
public abstract class WebRiskServiceV1Beta1Base

Base class for server-side implementations of WebRiskServiceV1Beta1

Inheritance

Object > WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Base

Namespace

Google.Cloud.WebRisk.V1Beta1

Assembly

Google.Cloud.WebRisk.V1Beta1.dll

Methods

ComputeThreatListDiff(ComputeThreatListDiffRequest, ServerCallContext)

public virtual Task<ComputeThreatListDiffResponse> ComputeThreatListDiff(ComputeThreatListDiffRequest request, ServerCallContext context)

Gets the most recent threat list diffs.

Parameters
NameDescription
requestComputeThreatListDiffRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<ComputeThreatListDiffResponse>

The response to send back to the client (wrapped by a task).

SearchHashes(SearchHashesRequest, ServerCallContext)

public virtual Task<SearchHashesResponse> SearchHashes(SearchHashesRequest request, ServerCallContext context)

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

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<SearchHashesResponse>

The response to send back to the client (wrapped by a task).

SearchUris(SearchUrisRequest, ServerCallContext)

public virtual Task<SearchUrisResponse> SearchUris(SearchUrisRequest request, ServerCallContext context)

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

Parameters
NameDescription
requestSearchUrisRequest

The request received from the client.

contextServerCallContext

The context of the server-side call handler being invoked.

Returns
TypeDescription
Task<SearchUrisResponse>

The response to send back to the client (wrapped by a task).