Google Cloud Web Risk v1beta1 API - Class WebRiskServiceV1Beta1ClientImpl (3.0.0-beta04)

public sealed class WebRiskServiceV1Beta1ClientImpl : WebRiskServiceV1Beta1Client

Reference documentation and code samples for the Google Cloud Web Risk v1beta1 API class WebRiskServiceV1Beta1ClientImpl.

WebRiskServiceV1Beta1 client wrapper implementation, for convenient use.

Inheritance

object > WebRiskServiceV1Beta1Client > WebRiskServiceV1Beta1ClientImpl

Namespace

Google.Cloud.WebRisk.V1Beta1

Assembly

Google.Cloud.WebRisk.V1Beta1.dll

Remarks

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

Constructors

WebRiskServiceV1Beta1ClientImpl(WebRiskServiceV1Beta1Client, WebRiskServiceV1Beta1Settings, ILogger)

public WebRiskServiceV1Beta1ClientImpl(WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Client grpcClient, WebRiskServiceV1Beta1Settings settings, ILogger logger)

Constructs a client wrapper for the WebRiskServiceV1Beta1 service, with the specified gRPC client and settings.

Parameters
NameDescription
grpcClientWebRiskServiceV1Beta1WebRiskServiceV1Beta1Client

The underlying gRPC client.

settingsWebRiskServiceV1Beta1Settings

The base WebRiskServiceV1Beta1Settings used within this client.

loggerILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Client GrpcClient { get; }

The underlying gRPC WebRiskServiceV1Beta1 client

Property Value
TypeDescription
WebRiskServiceV1Beta1WebRiskServiceV1Beta1Client
Overrides

Methods

ComputeThreatListDiff(ComputeThreatListDiffRequest, CallSettings)

public override ComputeThreatListDiffResponse ComputeThreatListDiff(ComputeThreatListDiffRequest request, CallSettings callSettings = null)

Gets the most recent threat list diffs.

Parameters
NameDescription
requestComputeThreatListDiffRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ComputeThreatListDiffResponse

The RPC response.

Overrides

ComputeThreatListDiffAsync(ComputeThreatListDiffRequest, CallSettings)

public override Task<ComputeThreatListDiffResponse> ComputeThreatListDiffAsync(ComputeThreatListDiffRequest request, CallSettings callSettings = null)

Gets the most recent threat list diffs.

Parameters
NameDescription
requestComputeThreatListDiffRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskComputeThreatListDiffResponse

A Task containing the RPC response.

Overrides

SearchHashes(SearchHashesRequest, CallSettings)

public override SearchHashesResponse SearchHashes(SearchHashesRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SearchHashesResponse

The RPC response.

Overrides

SearchHashesAsync(SearchHashesRequest, CallSettings)

public override Task<SearchHashesResponse> SearchHashesAsync(SearchHashesRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSearchHashesResponse

A Task containing the RPC response.

Overrides

SearchUris(SearchUrisRequest, CallSettings)

public override SearchUrisResponse SearchUris(SearchUrisRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestSearchUrisRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
SearchUrisResponse

The RPC response.

Overrides

SearchUrisAsync(SearchUrisRequest, CallSettings)

public override Task<SearchUrisResponse> SearchUrisAsync(SearchUrisRequest request, CallSettings callSettings = null)

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

Parameters
NameDescription
requestSearchUrisRequest

The request object containing all of the parameters for the API call.

callSettingsCallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
TaskSearchUrisResponse

A Task containing the RPC response.

Overrides