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

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

Describes an API diff request.

## Inherits

- Object

## 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-webrisk/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-webrisk/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-webrisk/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-webrisk/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-webrisk/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-webrisk/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).