Google Cloud Web Risk v1 API - Class SearchHashesResponse.Types.ThreatHash (2.3.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 > SearchHashesResponse.Types.ThreatHash

Namespace

Google.Cloud.WebRisk.V1

Assembly

Google.Cloud.WebRisk.V1.dll

Constructors

ThreatHash()

public ThreatHash()

ThreatHash(ThreatHash)

public ThreatHash(SearchHashesResponse.Types.ThreatHash other)
Parameter
NameDescription
otherSearchHashesResponseTypesThreatHash

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
TypeDescription
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
TypeDescription
ByteString

ThreatTypes

public RepeatedField<ThreatType> ThreatTypes { get; }

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

Property Value
TypeDescription
RepeatedFieldThreatType