Class: Google::Cloud::WebRisk::V1beta1::SearchHashesResponse::ThreatHash
- Inherits:
-
Object
- Object
- Google::Cloud::WebRisk::V1beta1::SearchHashesResponse::ThreatHash
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/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.
185 186 187 188 |
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 185 class ThreatHash include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#hash ⇒ ::String
Returns A 32 byte SHA256 hash. This field is in binary format. For JSON requests, hashes are base64-encoded.
185 186 187 188 |
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 185 class ThreatHash include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#threat_types ⇒ ::Array<::Google::Cloud::WebRisk::V1beta1::ThreatType>
Returns The ThreatList this threat belongs to. This must contain at least one entry.
185 186 187 188 |
# File 'proto_docs/google/cloud/webrisk/v1beta1/webrisk.rb', line 185 class ThreatHash include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |