# Google Cloud Web Risk v1 API - Class ThreatDiscovery (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.ThreatDiscovery)
- [2.8.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.8.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [2.7.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.7.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [2.6.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.6.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [2.5.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.5.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [2.4.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.4.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [2.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.3.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [2.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.2.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [2.1.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.1.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [2.0.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/2.0.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [1.3.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/1.3.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)
- [1.2.0](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/1.2.0/Google.Cloud.WebRisk.V1.ThreatDiscovery)

    public sealed class ThreatDiscovery : IMessage<ThreatDiscovery>, IEquatable<ThreatDiscovery>, IDeepCloneable<ThreatDiscovery>, IBufferMessage, IMessage

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

Details about how the threat was discovered.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ThreatDiscovery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatDiscovery), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ThreatDiscovery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatDiscovery), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ThreatDiscovery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatDiscovery), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

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

## Constructors

### ThreatDiscovery()

    public ThreatDiscovery()

### ThreatDiscovery(ThreatDiscovery)

    public ThreatDiscovery(ThreatDiscovery other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatDiscovery` |

## Properties

### Platform

    public ThreatDiscovery.Types.Platform Platform { get; set; }

Platform on which the threat was discovered.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatDiscoveryhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatDiscovery.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatDiscovery.Types.Platform` |   |

### RegionCodes

    public RepeatedField<string> RegionCodes { get; }

CLDR region code of the countries/regions the URI poses a threat ordered
from most impact to least impact. Example: "US" for United States.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |