# Cloud Phishing Protection v1beta1 API - Class PhishingProtectionServiceV1Beta1ClientImpl (2.0.0-beta06)

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

- [2.0.0-beta06 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1ClientImpl)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/2.0.0-beta05/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1ClientImpl)
- [1.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/1.0.0-beta05/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1ClientImpl)

    public sealed class PhishingProtectionServiceV1Beta1ClientImpl : PhishingProtectionServiceV1Beta1Client

Reference documentation and code samples for the Cloud Phishing Protection v1beta1 API class PhishingProtectionServiceV1Beta1ClientImpl.

PhishingProtectionServiceV1Beta1 client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [PhishingProtectionServiceV1Beta1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client) \> PhishingProtectionServiceV1Beta1ClientImpl

## Inherited Members

[PhishingProtectionServiceV1Beta1Client.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_DefaultEndpoint) [PhishingProtectionServiceV1Beta1Client.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_DefaultScopes) [PhishingProtectionServiceV1Beta1Client.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ServiceMetadata) [PhishingProtectionServiceV1Beta1Client.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_CreateAsync_System_Threading_CancellationToken_) [PhishingProtectionServiceV1Beta1Client.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_Create) [PhishingProtectionServiceV1Beta1Client.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ShutdownDefaultChannelsAsync) [PhishingProtectionServiceV1Beta1Client.ReportPhishingAsync(ReportPhishingRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishingAsync_Google_Cloud_PhishingProtection_V1Beta1_ReportPhishingRequest_System_Threading_CancellationToken_) [PhishingProtectionServiceV1Beta1Client.ReportPhishing(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishing_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [PhishingProtectionServiceV1Beta1Client.ReportPhishingAsync(string, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishingAsync_System_String_System_String_Google_Api_Gax_Grpc_CallSettings_) [PhishingProtectionServiceV1Beta1Client.ReportPhishingAsync(string, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishingAsync_System_String_System_String_System_Threading_CancellationToken_) [PhishingProtectionServiceV1Beta1Client.ReportPhishing(ProjectName, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishing_Google_Api_Gax_ResourceNames_ProjectName_System_String_Google_Api_Gax_Grpc_CallSettings_) [PhishingProtectionServiceV1Beta1Client.ReportPhishingAsync(ProjectName, string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishingAsync_Google_Api_Gax_ResourceNames_ProjectName_System_String_Google_Api_Gax_Grpc_CallSettings_) [PhishingProtectionServiceV1Beta1Client.ReportPhishingAsync(ProjectName, string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishingAsync_Google_Api_Gax_ResourceNames_ProjectName_System_String_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.PhishingProtection.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1)

## Assembly

Google.Cloud.PhishingProtection.V1Beta1.dll

## Remarks

Service to report phishing URIs.

## Constructors

### PhishingProtectionServiceV1Beta1ClientImpl(PhishingProtectionServiceV1Beta1Client, PhishingProtectionServiceV1Beta1Settings, ILogger)

    public PhishingProtectionServiceV1Beta1ClientImpl(PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client grpcClient, PhishingProtectionServiceV1Beta1Settings settings, ILogger logger)

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

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Settings` The base [PhishingProtectionServiceV1Beta1Settings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Settings) 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 PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client GrpcClient { get; }

The underlying gRPC PhishingProtectionServiceV1Beta1 client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client` |   |

**Overrides** [PhishingProtectionServiceV1Beta1Client.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_GrpcClient)

## Methods

### ReportPhishing(ReportPhishingRequest, CallSettings)

    public override ReportPhishingResponse ReportPhishing(ReportPhishingRequest request, CallSettings callSettings = null)

Reports a URI suspected of containing phishing content to be reviewed. Once
the report review is complete, its result can be found in the Cloud
Security Command Center findings dashboard for Phishing Protection. If the
result verifies the existence of malicious phishing content, the site will
be added the to [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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.ReportPhishingRequest` 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.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.ReportPhishingResponse` | The RPC response. |

**Overrides** [PhishingProtectionServiceV1Beta1Client.ReportPhishing(ReportPhishingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishing_Google_Cloud_PhishingProtection_V1Beta1_ReportPhishingRequest_Google_Api_Gax_Grpc_CallSettings_)

### ReportPhishingAsync(ReportPhishingRequest, CallSettings)

    public override Task<ReportPhishingResponse> ReportPhishingAsync(ReportPhishingRequest request, CallSettings callSettings = null)

Reports a URI suspected of containing phishing content to be reviewed. Once
the report review is complete, its result can be found in the Cloud
Security Command Center findings dashboard for Phishing Protection. If the
result verifies the existence of malicious phishing content, the site will
be added the to [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.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.ReportPhishingRequest` 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.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.ReportPhishingResponse` | A Task containing the RPC response. |

**Overrides** [PhishingProtectionServiceV1Beta1Client.ReportPhishingAsync(ReportPhishingRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client#Google_Cloud_PhishingProtection_V1Beta1_PhishingProtectionServiceV1Beta1Client_ReportPhishingAsync_Google_Cloud_PhishingProtection_V1Beta1_ReportPhishingRequest_Google_Api_Gax_Grpc_CallSettings_)