2.9.0 (latest) 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.3.0 1.2.0

    public sealed class SearchHashesResponse.Types.ThreatHash : IMessage<SearchHashesResponse.Types.ThreatHash>, IEquatable<SearchHashesResponse.Types.ThreatHash>, IDeepCloneable<SearchHashesResponse.Types.ThreatHash>, IBufferMessage, IMessage

Reference documentation and code samples for the Google Cloud Web Risk v1 API class SearchHashesResponse.Types.ThreatHash.

Contains threat information on a matching hash.

## Inheritance

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

## Implements

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

## 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.md.txt)

## Assembly

Google.Cloud.WebRisk.V1.dll

## Constructors

### ThreatHash()

    public ThreatHash()

### ThreatHash(ThreatHash)

    public ThreatHash(SearchHashesResponse.Types.ThreatHash other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `SearchHashesResponseTypesThreatHash` |

## Properties

### ExpireTime

    public Timestamp ExpireTime { get; set; }

The cache lifetime for the returned match. Clients must not cache this
response past this timestamp to avoid false positives.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Timestamp` |   |

### Hash

    public ByteString Hash { get; set; }

A 32 byte SHA256 hash. This field is in binary format. For JSON
requests, hashes are base64-encoded.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `ByteString` |   |

### ThreatTypes

    public RepeatedField<ThreatType> ThreatTypes { get; }

The ThreatList this threat belongs to.
This must contain at least one entry.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `RepeatedFieldThreatType` |   |