# google-cloud-webrisk - Class Google::Cloud::Webrisk::V1beta1::SearchHashesResponse (v0.6.1)

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