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 v1beta1 API class SearchHashesResponse.Types.ThreatHash.
Contains threat information on a matching hash.
Implements
IMessageSearchHashesResponseTypesThreatHash, IEquatableSearchHashesResponseTypesThreatHash, IDeepCloneableSearchHashesResponseTypesThreatHash, IBufferMessage, IMessageNamespace
Google.Cloud.WebRisk.V1Beta1Assembly
Google.Cloud.WebRisk.V1Beta1.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 |