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

The constraints for this diff.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #max_database_entries

    def max_database_entries() -> ::Integer

**Returns**

- (::Integer) --- Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 2\**10 and
  2*\*20. If zero, no database size limit is set.

### #max_database_entries=

    def max_database_entries=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 2\**10 and
  2*\*20. If zero, no database size limit is set.
**Returns**

- (::Integer) --- Sets the maximum number of entries that the client is willing to have in the local database. This should be a power of 2 between 2\**10 and
  2*\*20. If zero, no database size limit is set.

### #max_diff_entries

    def max_diff_entries() -> ::Integer

**Returns**

- (::Integer) --- The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 2\**10 and
  2*\*20. If zero, no diff size limit is set.

### #max_diff_entries=

    def max_diff_entries=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 2\**10 and
  2*\*20. If zero, no diff size limit is set.
**Returns**

- (::Integer) --- The maximum size in number of entries. The diff will not contain more entries than this value. This should be a power of 2 between 2\**10 and
  2*\*20. If zero, no diff size limit is set.

### #supported_compressions

    def supported_compressions() -> ::Array<::Google::Cloud::WebRisk::V1beta1::CompressionType>

**Returns**

- (::Array\<[::Google::Cloud::WebRisk::V1beta1::CompressionType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-CompressionType)\>) --- The compression types supported by the client.

### #supported_compressions=

    def supported_compressions=(value) -> ::Array<::Google::Cloud::WebRisk::V1beta1::CompressionType>

**Parameter**

- **value** (::Array\<[::Google::Cloud::WebRisk::V1beta1::CompressionType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-CompressionType)\>) --- The compression types supported by the client.
**Returns**

- (::Array\<[::Google::Cloud::WebRisk::V1beta1::CompressionType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-web_risk-v1beta1/latest/Google-Cloud-WebRisk-V1beta1-CompressionType)\>) --- The compression types supported by the client.