[BindServiceMethod(typeof(WebRiskServiceV1Beta1), "BindService")]
public abstract class WebRiskServiceV1Beta1.WebRiskServiceV1Beta1BaseReference documentation and code samples for the Google Cloud Web Risk v1beta1 API class WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Base.
Base class for server-side implementations of WebRiskServiceV1Beta1
Namespace
Google.Cloud.WebRisk.V1Beta1Assembly
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 |
ComputeThreatListDiffRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
SearchHashesRequestThe request received from the client. |
context |
ServerCallContextThe 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 |
SearchUrisRequestThe request received from the client. |
context |
ServerCallContextThe 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). |