Class: Google::Cloud::Webrisk::V1beta1::SearchHashesResponse::ThreatHash
- Inherits:
-
Object
- Object
- Google::Cloud::Webrisk::V1beta1::SearchHashesResponse::ThreatHash
- Defined in:
- lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb
Overview
Contains threat information on a matching hash.
Instance Attribute Summary collapse
-
#expire_time ⇒ Google::Protobuf::Timestamp
The cache lifetime for the returned match.
-
#hash ⇒ String
A 32 byte SHA256 hash.
-
#threat_types ⇒ Array<Google::Cloud::Webrisk::V1beta1::ThreatType>
The ThreatList this threat belongs to.
Instance Attribute Details
#expire_time ⇒ Google::Protobuf::Timestamp
Returns The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
154 |
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 154 class ThreatHash; end |
#hash ⇒ String
Returns A 32 byte SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded.
154 |
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 154 class ThreatHash; end |
#threat_types ⇒ Array<Google::Cloud::Webrisk::V1beta1::ThreatType>
Returns The ThreatList this threat belongs to. This must contain at least one entry.
154 |
# File 'lib/google/cloud/webrisk/v1beta1/doc/google/cloud/webrisk/v1beta1/webrisk.rb', line 154 class ThreatHash; end |