Reference documentation and code samples for the google-cloud-webrisk class Google::Cloud::Webrisk::V1beta1::SearchHashesResponse.
Inherits
- Object
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::V1beta1::SearchHashesResponse::ThreatHash>
Returns
- (Array<Google::Cloud::Webrisk::V1beta1::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::V1beta1::SearchHashesResponse::ThreatHash>
Parameter
- value (Array<Google::Cloud::Webrisk::V1beta1::SearchHashesResponse::ThreatHash>) — The full hashes that matched the requested prefixes. The hash will be populated in the key.
Returns
- (Array<Google::Cloud::Webrisk::V1beta1::SearchHashesResponse::ThreatHash>) — The full hashes that matched the requested prefixes. The hash will be populated in the key.