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

Reference documentation and code samples for the google-cloud-webrisk class Google::Cloud::Webrisk::V1beta1::SearchUrisResponse::ThreatUri.

Contains threat information on a matching uri.

## Inherits

- Object

## Methods

### #expire_time

    def expire_time() -> Google::Protobuf::Timestamp

**Returns**

- ([Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Protobuf-Timestamp)) --- The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.

### #expire_time=

    def 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)) --- The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.
**Returns**

- ([Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Protobuf-Timestamp)) --- The cache lifetime for the returned match. Clients must not cache this response past this timestamp to avoid false positives.

### #threat_types

    def threat_types() -> Array<Google::Cloud::Webrisk::V1beta1::ThreatType>

**Returns**

- (Array\<[Google::Cloud::Webrisk::V1beta1::ThreatType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatType)\>) --- The ThreatList this threat belongs to.

### #threat_types=

    def threat_types=(value) -> Array<Google::Cloud::Webrisk::V1beta1::ThreatType>

**Parameter**

- **value** (Array\<[Google::Cloud::Webrisk::V1beta1::ThreatType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatType)\>) --- The ThreatList this threat belongs to.
**Returns**

- (Array\<[Google::Cloud::Webrisk::V1beta1::ThreatType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatType)\>) --- The ThreatList this threat belongs to.