Reference documentation and code samples for the Web Risk V1 API class Google::Cloud::WebRisk::V1::SearchHashesResponse.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#negative_expire_time
def negative_expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — For requested entities that did not match the threat list, how long to cache the response until.
#negative_expire_time=
def negative_expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — For requested entities that did not match the threat list, how long to cache the response until.
Returns
- (::Google::Protobuf::Timestamp) — For requested entities that did not match the threat list, how long to cache the response until.
#threats
def threats() -> ::Array<::Google::Cloud::WebRisk::V1::SearchHashesResponse::ThreatHash>
Returns
- (::Array<::Google::Cloud::WebRisk::V1::SearchHashesResponse::ThreatHash>) — The full hashes that matched the requested prefixes. The hash will be populated in the key.
#threats=
def threats=(value) -> ::Array<::Google::Cloud::WebRisk::V1::SearchHashesResponse::ThreatHash>
Parameter
- value (::Array<::Google::Cloud::WebRisk::V1::SearchHashesResponse::ThreatHash>) — The full hashes that matched the requested prefixes. The hash will be populated in the key.
Returns
- (::Array<::Google::Cloud::WebRisk::V1::SearchHashesResponse::ThreatHash>) — The full hashes that matched the requested prefixes. The hash will be populated in the key.