# Google Cloud Web Risk v1 API - Class WebRiskServiceClientImpl (2.9.0)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [2.9.0 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.8.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.7.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.6.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.5.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.4.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.3.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.2.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.1.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.0.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/1.3.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/1.2.0/Google.Cloud.WebRisk.V1.WebRiskServiceClientImpl)

    public sealed class WebRiskServiceClientImpl : WebRiskServiceClient

Reference documentation and code samples for the Google Cloud Web Risk v1 API class WebRiskServiceClientImpl.

WebRiskService client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [WebRiskServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient) \> WebRiskServiceClientImpl

## Inherited Members

[WebRiskServiceClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_DefaultEndpoint) [WebRiskServiceClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_DefaultScopes) [WebRiskServiceClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_ServiceMetadata) [WebRiskServiceClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateAsync_System_Threading_CancellationToken_) [WebRiskServiceClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_Create) [WebRiskServiceClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_ShutdownDefaultChannelsAsync) [WebRiskServiceClient.ComputeThreatListDiffAsync(ComputeThreatListDiffRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_ComputeThreatListDiffAsync_Google_Cloud_WebRisk_V1_ComputeThreatListDiffRequest_System_Threading_CancellationToken_) [WebRiskServiceClient.ComputeThreatListDiff(ThreatType, ByteString, ComputeThreatListDiffRequest.Types.Constraints, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_ComputeThreatListDiff_Google_Cloud_WebRisk_V1_ThreatType_Google_Protobuf_ByteString_Google_Cloud_WebRisk_V1_ComputeThreatListDiffRequest_Types_Constraints_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.ComputeThreatListDiffAsync(ThreatType, ByteString, ComputeThreatListDiffRequest.Types.Constraints, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_ComputeThreatListDiffAsync_Google_Cloud_WebRisk_V1_ThreatType_Google_Protobuf_ByteString_Google_Cloud_WebRisk_V1_ComputeThreatListDiffRequest_Types_Constraints_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.ComputeThreatListDiffAsync(ThreatType, ByteString, ComputeThreatListDiffRequest.Types.Constraints, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_ComputeThreatListDiffAsync_Google_Cloud_WebRisk_V1_ThreatType_Google_Protobuf_ByteString_Google_Cloud_WebRisk_V1_ComputeThreatListDiffRequest_Types_Constraints_System_Threading_CancellationToken_) [WebRiskServiceClient.SearchUrisAsync(SearchUrisRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchUrisAsync_Google_Cloud_WebRisk_V1_SearchUrisRequest_System_Threading_CancellationToken_) [WebRiskServiceClient.SearchUris(string, IEnumerable\<ThreatType\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchUris_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_WebRisk_V1_ThreatType__Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SearchUrisAsync(string, IEnumerable\<ThreatType\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchUrisAsync_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_WebRisk_V1_ThreatType__Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SearchUrisAsync(string, IEnumerable\<ThreatType\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchUrisAsync_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_WebRisk_V1_ThreatType__System_Threading_CancellationToken_) [WebRiskServiceClient.SearchHashesAsync(SearchHashesRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchHashesAsync_Google_Cloud_WebRisk_V1_SearchHashesRequest_System_Threading_CancellationToken_) [WebRiskServiceClient.SearchHashes(ByteString, IEnumerable\<ThreatType\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchHashes_Google_Protobuf_ByteString_System_Collections_Generic_IEnumerable_Google_Cloud_WebRisk_V1_ThreatType__Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SearchHashesAsync(ByteString, IEnumerable\<ThreatType\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchHashesAsync_Google_Protobuf_ByteString_System_Collections_Generic_IEnumerable_Google_Cloud_WebRisk_V1_ThreatType__Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SearchHashesAsync(ByteString, IEnumerable\<ThreatType\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchHashesAsync_Google_Protobuf_ByteString_System_Collections_Generic_IEnumerable_Google_Cloud_WebRisk_V1_ThreatType__System_Threading_CancellationToken_) [WebRiskServiceClient.CreateSubmissionAsync(CreateSubmissionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmissionAsync_Google_Cloud_WebRisk_V1_CreateSubmissionRequest_System_Threading_CancellationToken_) [WebRiskServiceClient.CreateSubmission(string, Submission, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmission_System_String_Google_Cloud_WebRisk_V1_Submission_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.CreateSubmissionAsync(string, Submission, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmissionAsync_System_String_Google_Cloud_WebRisk_V1_Submission_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.CreateSubmissionAsync(string, Submission, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmissionAsync_System_String_Google_Cloud_WebRisk_V1_Submission_System_Threading_CancellationToken_) [WebRiskServiceClient.CreateSubmission(ProjectName, Submission, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmission_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_WebRisk_V1_Submission_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.CreateSubmissionAsync(ProjectName, Submission, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmissionAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_WebRisk_V1_Submission_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.CreateSubmissionAsync(ProjectName, Submission, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmissionAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_WebRisk_V1_Submission_System_Threading_CancellationToken_) [WebRiskServiceClient.SubmitUriAsync(SubmitUriRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUriAsync_Google_Cloud_WebRisk_V1_SubmitUriRequest_System_Threading_CancellationToken_) [WebRiskServiceClient.PollOnceSubmitUri(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_PollOnceSubmitUri_System_String_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.PollOnceSubmitUriAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_PollOnceSubmitUriAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SubmitUri(string, Submission, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUri_System_String_Google_Cloud_WebRisk_V1_Submission_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SubmitUriAsync(string, Submission, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUriAsync_System_String_Google_Cloud_WebRisk_V1_Submission_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SubmitUriAsync(string, Submission, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUriAsync_System_String_Google_Cloud_WebRisk_V1_Submission_System_Threading_CancellationToken_) [WebRiskServiceClient.SubmitUri(ProjectName, Submission, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUri_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_WebRisk_V1_Submission_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SubmitUriAsync(ProjectName, Submission, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUriAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_WebRisk_V1_Submission_Google_Api_Gax_Grpc_CallSettings_) [WebRiskServiceClient.SubmitUriAsync(ProjectName, Submission, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUriAsync_Google_Api_Gax_ResourceNames_ProjectName_Google_Cloud_WebRisk_V1_Submission_System_Threading_CancellationToken_) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.WebRisk.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1)

## Assembly

Google.Cloud.WebRisk.V1.dll

## Remarks

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

## Constructors

### WebRiskServiceClientImpl(WebRiskServiceClient, WebRiskServiceSettings, ILogger)

    public WebRiskServiceClientImpl(WebRiskService.WebRiskServiceClient grpcClient, WebRiskServiceSettings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskService.WebRiskServiceClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceSettings` The base [WebRiskServiceSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Properties

### GrpcClient

    public override WebRiskService.WebRiskServiceClient GrpcClient { get; }

The underlying gRPC WebRiskService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskService.WebRiskServiceClient` |   |

**Overrides** [WebRiskServiceClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_GrpcClient)

### SubmitUriOperationsClient

    public override OperationsClient SubmitUriOperationsClient { get; }

The long-running operations client for `SubmitUri`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.OperationsClient.html` |   |

**Overrides** [WebRiskServiceClient.SubmitUriOperationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUriOperationsClient)

## Methods

### ComputeThreatListDiff(ComputeThreatListDiffRequest, CallSettings)

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

Gets the most recent threat list diffs. These diffs should be applied to
a local database of hashes to keep it up-to-date. If the local database is
empty or excessively out-of-date, a complete snapshot of the database will
be returned. This Method only updates a single ThreatList at a time. To
update multiple ThreatList databases, this method needs to be called once
for each list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffResponse` | The RPC response. |

**Overrides** [WebRiskServiceClient.ComputeThreatListDiff(ComputeThreatListDiffRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_ComputeThreatListDiff_Google_Cloud_WebRisk_V1_ComputeThreatListDiffRequest_Google_Api_Gax_Grpc_CallSettings_)

### ComputeThreatListDiffAsync(ComputeThreatListDiffRequest, CallSettings)

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

Gets the most recent threat list diffs. These diffs should be applied to
a local database of hashes to keep it up-to-date. If the local database is
empty or excessively out-of-date, a complete snapshot of the database will
be returned. This Method only updates a single ThreatList at a time. To
update multiple ThreatList databases, this method needs to be called once
for each list.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ComputeThreatListDiffResponse` | A Task containing the RPC response. |

**Overrides** [WebRiskServiceClient.ComputeThreatListDiffAsync(ComputeThreatListDiffRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_ComputeThreatListDiffAsync_Google_Cloud_WebRisk_V1_ComputeThreatListDiffRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateSubmission(CreateSubmissionRequest, CallSettings)

    public override Submission CreateSubmission(CreateSubmissionRequest request, CallSettings callSettings = null)

Creates a Submission of a URI suspected of containing phishing content to
be reviewed. If the result verifies the existence of malicious phishing
content, the site will be added to the [Google's Social Engineering
lists](https://support.google.com/webmasters/answer/6350487/) in order to
protect users that could get exposed to this threat in the future. Only
allowlisted projects can use this method during Early Access. Please reach
out to Sales or your customer engineer to obtain access.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.CreateSubmissionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.Submission` | The RPC response. |

**Overrides** [WebRiskServiceClient.CreateSubmission(CreateSubmissionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmission_Google_Cloud_WebRisk_V1_CreateSubmissionRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateSubmissionAsync(CreateSubmissionRequest, CallSettings)

    public override Task<Submission> CreateSubmissionAsync(CreateSubmissionRequest request, CallSettings callSettings = null)

Creates a Submission of a URI suspected of containing phishing content to
be reviewed. If the result verifies the existence of malicious phishing
content, the site will be added to the [Google's Social Engineering
lists](https://support.google.com/webmasters/answer/6350487/) in order to
protect users that could get exposed to this threat in the future. Only
allowlisted projects can use this method during Early Access. Please reach
out to Sales or your customer engineer to obtain access.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.CreateSubmissionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.Submission` | A Task containing the RPC response. |

**Overrides** [WebRiskServiceClient.CreateSubmissionAsync(CreateSubmissionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_CreateSubmissionAsync_Google_Cloud_WebRisk_V1_CreateSubmissionRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchHashesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchHashesResponse` | The RPC response. |

**Overrides** [WebRiskServiceClient.SearchHashes(SearchHashesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchHashes_Google_Cloud_WebRisk_V1_SearchHashesRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchHashesRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchHashesResponse` | A Task containing the RPC response. |

**Overrides** [WebRiskServiceClient.SearchHashesAsync(SearchHashesRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchHashesAsync_Google_Cloud_WebRisk_V1_SearchHashesRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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.
Multiple threatLists may be searched in a single query.
The response will list all requested threatLists the URI was found to
match. If the URI is not found on any of the requested ThreatList an
empty response will be returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchUrisRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchUrisResponse` | The RPC response. |

**Overrides** [WebRiskServiceClient.SearchUris(SearchUrisRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchUris_Google_Cloud_WebRisk_V1_SearchUrisRequest_Google_Api_Gax_Grpc_CallSettings_)

### 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.
Multiple threatLists may be searched in a single query.
The response will list all requested threatLists the URI was found to
match. If the URI is not found on any of the requested ThreatList an
empty response will be returned.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchUrisRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SearchUrisResponse` | A Task containing the RPC response. |

**Overrides** [WebRiskServiceClient.SearchUrisAsync(SearchUrisRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SearchUrisAsync_Google_Cloud_WebRisk_V1_SearchUrisRequest_Google_Api_Gax_Grpc_CallSettings_)

### SubmitUri(SubmitUriRequest, CallSettings)

    public override Operation<Submission, SubmitUriMetadata> SubmitUri(SubmitUriRequest request, CallSettings callSettings = null)

Submits a URI suspected of containing malicious content to be reviewed.
Returns a google.longrunning.Operation which, once the review is complete,
is updated with its result. You can use the [Pub/Sub API](https://cloud.google.com/pubsub) to receive notifications for the returned
Operation. If the result verifies the existence of malicious content, the
site will be added to the [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) in order to
protect users that could get exposed to this threat in the future. Only
allowlisted projects can use this method during Early Access. Please reach
out to Sales or your customer engineer to obtain access.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SubmitUriRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.Submissionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SubmitUriMetadata` | The RPC response. |

**Overrides** [WebRiskServiceClient.SubmitUri(SubmitUriRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUri_Google_Cloud_WebRisk_V1_SubmitUriRequest_Google_Api_Gax_Grpc_CallSettings_)

### SubmitUriAsync(SubmitUriRequest, CallSettings)

    public override Task<Operation<Submission, SubmitUriMetadata>> SubmitUriAsync(SubmitUriRequest request, CallSettings callSettings = null)

Submits a URI suspected of containing malicious content to be reviewed.
Returns a google.longrunning.Operation which, once the review is complete,
is updated with its result. You can use the [Pub/Sub API](https://cloud.google.com/pubsub) to receive notifications for the returned
Operation. If the result verifies the existence of malicious content, the
site will be added to the [Google's Social Engineering lists](https://support.google.com/webmasters/answer/6350487/) in order to
protect users that could get exposed to this threat in the future. Only
allowlisted projects can use this method during Early Access. Please reach
out to Sales or your customer engineer to obtain access.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SubmitUriRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.LongRunning/latest/Google.LongRunning.Operation-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.Submissionhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.SubmitUriMetadata` | A Task containing the RPC response. |

**Overrides** [WebRiskServiceClient.SubmitUriAsync(SubmitUriRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.WebRiskServiceClient#Google_Cloud_WebRisk_V1_WebRiskServiceClient_SubmitUriAsync_Google_Cloud_WebRisk_V1_SubmitUriRequest_Google_Api_Gax_Grpc_CallSettings_)