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

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
Name Description
grpcClient WebRiskServiceV1Beta1WebRiskServiceV1Beta1Client

The underlying gRPC client.

settings WebRiskServiceV1Beta1Settings

The base WebRiskServiceV1Beta1Settings used within this client.

logger ILogger

Optional ILogger to use within this client.

Properties

GrpcClient

public override WebRiskServiceV1Beta1.WebRiskServiceV1Beta1Client GrpcClient { get; }

The underlying gRPC WebRiskServiceV1Beta1 client

Property Value
Type Description
WebRiskServiceV1Beta1WebRiskServiceV1Beta1Client
Overrides

Methods

ComputeThreatListDiff(ComputeThreatListDiffRequest, CallSettings)

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

Gets the most recent threat list diffs.

Parameters
Name Description
request ComputeThreatListDiffRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
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
Name Description
request ComputeThreatListDiffRequest

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

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

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

callSettings CallSettings

If not null, applies overrides to this RPC call.

Returns
Type Description
TaskSearchUrisResponse

A Task containing the RPC response.

Overrides