Google Cloud Web Risk v1beta1 API - Class WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Base (3.0.0-beta04)

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

Reference documentation and code samples for the Google Cloud Web Risk v1beta1 API class WebRiskServiceV1Beta1.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
Name Description
request ComputeThreatListDiffRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskComputeThreatListDiffResponse

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
Name Description
request SearchHashesRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskSearchHashesResponse

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
Name Description
request SearchUrisRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskSearchUrisResponse

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