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

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

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

Context about the submission including the type of abuse found on the URI and
supporting details.

## Inheritance

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

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[ThreatInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[ThreatInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[ThreatInfo](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.WebRisk.V1/latest/Google.Cloud.WebRisk.V1.ThreatInfo), [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

### ThreatInfo()

    public ThreatInfo()

### ThreatInfo(ThreatInfo)

    public ThreatInfo(ThreatInfo other)

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

## Properties

### AbuseType

    public ThreatInfo.Types.AbuseType AbuseType { get; set; }

The type of abuse.

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

### ThreatConfidence

    public ThreatInfo.Types.Confidence ThreatConfidence { get; set; }

Confidence that the URI is unsafe.

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

### ThreatJustification

    public ThreatInfo.Types.ThreatJustification ThreatJustification { get; set; }

Context about why the URI is unsafe.

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