# Web Risk V1beta1 API - Class Google::Cloud::WebRisk::V1beta1::SearchHashesResponse (v0.16.0)

0.16.0 (latest) 0.15.1 0.14.1 0.13.0 0.12.1 0.11.0 0.10.1 0.9.2 0.8.0 0.7.1 0.6.0 0.5.0 0.4.5 Reference documentation and code samples for the Web Risk V1beta1 API class Google::Cloud::WebRisk::V1beta1::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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Protobuf-Timestamp)) --- For requested entities that did not match the threat list, how long to cache the response until.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/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](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-SearchHashesResponse-ThreatHash)\>) --- The full hashes that matched the requested prefixes. The hash will be populated in the key.