# Cloud Phishing Protection v1beta1 API - Class 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.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.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.PhishingProtectionServiceV1Beta1Client)

    public abstract class PhishingProtectionServiceV1Beta1Client

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

PhishingProtectionServiceV1Beta1 client wrapper, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> PhishingProtectionServiceV1Beta1Client

## Inherited Members

[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)

## Derived Types

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

## 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.

## Properties

### DefaultEndpoint

    public static string DefaultEndpoint { get; }

The default endpoint for the PhishingProtectionServiceV1Beta1 service, which is a host of
"phishingprotection.googleapis.com" and a port of 443.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default PhishingProtectionServiceV1Beta1 scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1https://learn.microsoft.com/dotnet/api/system.string` |   |

**Remarks** The default PhishingProtectionServiceV1Beta1 scopes are:

- <https://www.googleapis.com/auth/cloud-platform>

<br />

### GrpcClient

    public virtual 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` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceMetadata.html` |   |

## Methods

### Create()

    public static PhishingProtectionServiceV1Beta1Client Create()

Synchronously creates a [PhishingProtectionServiceV1Beta1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client) using the default credentials,
endpoint and settings. To specify custom credentials or other settings, use
[PhishingProtectionServiceV1Beta1ClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1ClientBuilder).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client` | The created [PhishingProtectionServiceV1Beta1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client). |

### CreateAsync(CancellationToken)

    public static Task<PhishingProtectionServiceV1Beta1Client> CreateAsync(CancellationToken cancellationToken = default)

Asynchronously creates a [PhishingProtectionServiceV1Beta1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client) using the default credentials,
endpoint and settings. To specify custom credentials or other settings, use
[PhishingProtectionServiceV1Beta1ClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1ClientBuilder).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **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.PhishingProtectionServiceV1Beta1Client` | The task representing the created [PhishingProtectionServiceV1Beta1Client](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.PhishingProtection.V1Beta1/latest/Google.Cloud.PhishingProtection.V1Beta1.PhishingProtectionServiceV1Beta1Client). |

### ReportPhishing(ProjectName, string, CallSettings)

    public virtual ReportPhishingResponse ReportPhishing(ProjectName parent, string uri, 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** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` Required. The name of the project for which the report will be created, in the format "projects/{project_number}". |
| `uri` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The URI that is being reported for phishing content to be analyzed. |
| `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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    string uri = "";
    // Make the request
    ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.ReportPhishing(parent, uri);

### ReportPhishing(ReportPhishingRequest, CallSettings)

    public virtual 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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    ReportPhishingRequest request = new ReportPhishingRequest
    {
        ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
        Uri = "",
    };
    // Make the request
    ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.ReportPhishing(request);

### ReportPhishing(string, string, CallSettings)

    public virtual ReportPhishingResponse ReportPhishing(string parent, string uri, 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** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the project for which the report will be created, in the format "projects/{project_number}". |
| `uri` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The URI that is being reported for phishing content to be analyzed. |
| `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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = PhishingProtectionServiceV1Beta1Client.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]";
    string uri = "";
    // Make the request
    ReportPhishingResponse response = phishingProtectionServiceV1Beta1Client.ReportPhishing(parent, uri);

### ReportPhishingAsync(ProjectName, string, CallSettings)

    public virtual Task<ReportPhishingResponse> ReportPhishingAsync(ProjectName parent, string uri, 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** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` Required. The name of the project for which the report will be created, in the format "projects/{project_number}". |
| `uri` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The URI that is being reported for phishing content to be analyzed. |
| `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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = await PhishingProtectionServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    string uri = "";
    // Make the request
    ReportPhishingResponse response = await phishingProtectionServiceV1Beta1Client.ReportPhishingAsync(parent, uri);

### ReportPhishingAsync(ProjectName, string, CancellationToken)

    public virtual Task<ReportPhishingResponse> ReportPhishingAsync(ProjectName parent, string uri, CancellationToken cancellationToken)

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** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` Required. The name of the project for which the report will be created, in the format "projects/{project_number}". |
| `uri` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The URI that is being reported for phishing content to be analyzed. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = await PhishingProtectionServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    string uri = "";
    // Make the request
    ReportPhishingResponse response = await phishingProtectionServiceV1Beta1Client.ReportPhishingAsync(parent, uri);

### ReportPhishingAsync(ReportPhishingRequest, CallSettings)

    public virtual 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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = await PhishingProtectionServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    ReportPhishingRequest request = new ReportPhishingRequest
    {
        ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
        Uri = "",
    };
    // Make the request
    ReportPhishingResponse response = await phishingProtectionServiceV1Beta1Client.ReportPhishingAsync(request);

### ReportPhishingAsync(ReportPhishingRequest, CancellationToken)

    public virtual Task<ReportPhishingResponse> ReportPhishingAsync(ReportPhishingRequest request, CancellationToken cancellationToken)

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. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = await PhishingProtectionServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    ReportPhishingRequest request = new ReportPhishingRequest
    {
        ParentAsProjectName = ProjectName.FromProject("[PROJECT]"),
        Uri = "",
    };
    // Make the request
    ReportPhishingResponse response = await phishingProtectionServiceV1Beta1Client.ReportPhishingAsync(request);

### ReportPhishingAsync(string, string, CallSettings)

    public virtual Task<ReportPhishingResponse> ReportPhishingAsync(string parent, string uri, 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** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the project for which the report will be created, in the format "projects/{project_number}". |
| `uri` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The URI that is being reported for phishing content to be analyzed. |
| `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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = await PhishingProtectionServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]";
    string uri = "";
    // Make the request
    ReportPhishingResponse response = await phishingProtectionServiceV1Beta1Client.ReportPhishingAsync(parent, uri);

### ReportPhishingAsync(string, string, CancellationToken)

    public virtual Task<ReportPhishingResponse> ReportPhishingAsync(string parent, string uri, CancellationToken cancellationToken)

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** |
| `parent` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The name of the project for which the report will be created, in the format "projects/{project_number}". |
| `uri` | `https://learn.microsoft.com/dotnet/api/system.string` Required. The URI that is being reported for phishing content to be analyzed. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **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. |

**Example**

    // Create client
    PhishingProtectionServiceV1Beta1Client phishingProtectionServiceV1Beta1Client = await PhishingProtectionServiceV1Beta1Client.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]";
    string uri = "";
    // Make the request
    ReportPhishingResponse response = await phishingProtectionServiceV1Beta1Client.ReportPhishingAsync(parent, uri);

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [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) and
[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_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [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) and
[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_) will create new channels, which could in turn be shut down
by another call to this method.