public sealed class 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.
Implements
IMessage<SearchHashesResponse.Types.ThreatHash>, IEquatable<SearchHashesResponse.Types.ThreatHash>, IDeepCloneable<SearchHashesResponse.Types.ThreatHash>, IBufferMessage, IMessageNamespace
Google.Cloud.WebRisk.V1Assembly
Google.Cloud.WebRisk.V1.dll
Constructors
ThreatHash()
public ThreatHash()
ThreatHash(SearchHashesResponse.Types.ThreatHash)
public ThreatHash(SearchHashesResponse.Types.ThreatHash other)
Parameter | |
---|---|
Name | Description |
other | SearchHashesResponse.Types.ThreatHash |
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 |
RepeatedField<ThreatType> |