# Web Risk V1beta1 API - Class Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest (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::ComputeThreatListDiffRequest.

Describes an API diff request.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #constraints

    def constraints() -> ::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest::Constraints

**Returns**

- ([::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest::Constraints](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-ComputeThreatListDiffRequest-Constraints)) --- Required. The constraints associated with this request.

### #constraints=

    def constraints=(value) -> ::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest::Constraints

**Parameter**

- **value** ([::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest::Constraints](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-ComputeThreatListDiffRequest-Constraints)) --- Required. The constraints associated with this request.
**Returns**

- ([::Google::Cloud::WebRisk::V1beta1::ComputeThreatListDiffRequest::Constraints](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-ComputeThreatListDiffRequest-Constraints)) --- Required. The constraints associated with this request.

### #threat_type

    def threat_type() -> ::Google::Cloud::WebRisk::V1beta1::ThreatType

**Returns**

- ([::Google::Cloud::WebRisk::V1beta1::ThreatType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-ThreatType)) --- The ThreatList to update.

### #threat_type=

    def threat_type=(value) -> ::Google::Cloud::WebRisk::V1beta1::ThreatType

**Parameter**

- **value** ([::Google::Cloud::WebRisk::V1beta1::ThreatType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-ThreatType)) --- The ThreatList to update.
**Returns**

- ([::Google::Cloud::WebRisk::V1beta1::ThreatType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-ThreatType)) --- The ThreatList to update.

### #version_token

    def version_token() -> ::String

**Returns**

- (::String) --- The current version token of the client for the requested list (the client version that was received from the last successful diff).

### #version_token=

    def version_token=(value) -> ::String

**Parameter**

- **value** (::String) --- The current version token of the client for the requested list (the client version that was received from the last successful diff).
**Returns**

- (::String) --- The current version token of the client for the requested list (the client version that was received from the last successful diff).