# Cloud Phishing Protection v1beta1 API - Class PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client (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.PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client)
- [2.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/2.0.0-beta05/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client)
- [1.0.0-beta05](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/1.0.0-beta05/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client)

    public class PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client : ClientBase<PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client>

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

Client for PhishingProtectionServiceV1Beta1

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [ClientBase](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.html) \> [ClientBase](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.html)[PhishingProtectionServiceV1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1)[PhishingProtectionServiceV1Beta1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client) \> PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client

## Inherited Members

[ClientBase\<PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client\>.WithHost(string)](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase-1.html#Grpc_Core_ClientBase_1_WithHost_System_String_) [ClientBase.CallInvoker](https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.html#Grpc_Core_ClientBase_CallInvoker) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [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

## Constructors

### PhishingProtectionServiceV1Beta1Client()

    protected PhishingProtectionServiceV1Beta1Client()

Protected parameterless constructor to allow creation of test doubles.

### PhishingProtectionServiceV1Beta1Client(CallInvoker)

    public PhishingProtectionServiceV1Beta1Client(CallInvoker callInvoker)

Creates a new client for PhishingProtectionServiceV1Beta1 that uses a custom `CallInvoker`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `callInvoker` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallInvoker.html` The callInvoker to use to make remote calls. |

### PhishingProtectionServiceV1Beta1Client(ChannelBase)

    public PhishingProtectionServiceV1Beta1Client(ChannelBase channel)

Creates a new client for PhishingProtectionServiceV1Beta1

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `channel` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ChannelBase.html` The channel to use to make remote calls. |

### PhishingProtectionServiceV1Beta1Client(ClientBaseConfiguration)

    protected PhishingProtectionServiceV1Beta1Client(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.htmlhttps://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.ClientBaseConfiguration.html` The client configuration. |

## Methods

### NewInstance(ClientBaseConfiguration)

    protected override PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given `ClientBaseConfiguration`.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `configuration` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.htmlhttps://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.ClientBase.ClientBaseConfiguration.html` |

| **Returns** ||
|---|---|
| **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** Grpc.Core.ClientBase\<Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1.PhishingProtectionServiceV1Beta1Client\>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

### ReportPhishing(ReportPhishingRequest, CallOptions)

    public virtual ReportPhishingResponse ReportPhishing(ReportPhishingRequest request, CallOptions options)

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 to send to the server. |
| `options` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallOptions.html` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.ReportPhishingResponse` | The response received from the server. |

### ReportPhishing(ReportPhishingRequest, Metadata, DateTime?, CancellationToken)

    public virtual ReportPhishingResponse ReportPhishing(ReportPhishingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server. |
| `headers` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Metadata.html` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.ReportPhishingResponse` | The response received from the server. |

### ReportPhishingAsync(ReportPhishingRequest, CallOptions)

    public virtual AsyncUnaryCall<ReportPhishingResponse> ReportPhishingAsync(ReportPhishingRequest request, CallOptions options)

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 to send to the server. |
| `options` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.CallOptions.html` The options for the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncUnaryCall-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.ReportPhishingResponse` | The call object. |

### ReportPhishingAsync(ReportPhishingRequest, Metadata, DateTime?, CancellationToken)

    public virtual AsyncUnaryCall<ReportPhishingResponse> ReportPhishingAsync(ReportPhishingRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)

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 to send to the server. |
| `headers` | `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.Metadata.html` The initial metadata to send with the call. This parameter is optional. |
| `deadline` | `System.DateTime` An optional deadline for the call. The call will be cancelled if deadline is hit. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` An optional token for canceling the call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Grpc.Core/latest/Grpc.Core.AsyncUnaryCall-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.ReportPhishingResponse` | The call object. |