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

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

## Inherits

- Object

## Methods

### #additions

    def additions() -> Google::Cloud::Webrisk::V1beta1::ThreatEntryAdditions

**Returns**

- ([Google::Cloud::Webrisk::V1beta1::ThreatEntryAdditions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatEntryAdditions)) --- A set of entries to add to a local threat type's list.

### #additions=

    def additions=(value) -> Google::Cloud::Webrisk::V1beta1::ThreatEntryAdditions

**Parameter**

- **value** ([Google::Cloud::Webrisk::V1beta1::ThreatEntryAdditions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatEntryAdditions)) --- A set of entries to add to a local threat type's list.
**Returns**

- ([Google::Cloud::Webrisk::V1beta1::ThreatEntryAdditions](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatEntryAdditions)) --- A set of entries to add to a local threat type's list.

### #checksum

    def checksum() -> Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::Checksum

**Returns**

- ([Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::Checksum](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ComputeThreatListDiffResponse-Checksum)) --- The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.

### #checksum=

    def checksum=(value) -> Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::Checksum

**Parameter**

- **value** ([Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::Checksum](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ComputeThreatListDiffResponse-Checksum)) --- The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.
**Returns**

- ([Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::Checksum](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ComputeThreatListDiffResponse-Checksum)) --- The expected SHA256 hash of the client state; that is, of the sorted list of all hashes present in the database after applying the provided diff. If the client state doesn't match the expected state, the client must disregard this diff and retry later.

### #new_version_token

    def new_version_token() -> String

**Returns**

- (String) --- The new opaque client version token.

### #new_version_token=

    def new_version_token=(value) -> String

**Parameter**

- **value** (String) --- The new opaque client version token.
**Returns**

- (String) --- The new opaque client version token.

### #recommended_next_diff

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

**Returns**

- ([Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Protobuf-Timestamp)) --- The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.

### #recommended_next_diff=

    def recommended_next_diff=(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 soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.
**Returns**

- ([Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Protobuf-Timestamp)) --- The soonest the client should wait before issuing any diff request. Querying sooner is unlikely to produce a meaningful diff. Waiting longer is acceptable considering the use case. If this field is not set clients may update as soon as they want.

### #removals

    def removals() -> Google::Cloud::Webrisk::V1beta1::ThreatEntryRemovals

**Returns**

- ([Google::Cloud::Webrisk::V1beta1::ThreatEntryRemovals](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatEntryRemovals)) --- A set of entries to remove from a local threat type's list. This field may be empty.

### #removals=

    def removals=(value) -> Google::Cloud::Webrisk::V1beta1::ThreatEntryRemovals

**Parameter**

- **value** ([Google::Cloud::Webrisk::V1beta1::ThreatEntryRemovals](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatEntryRemovals)) --- A set of entries to remove from a local threat type's list. This field may be empty.
**Returns**

- ([Google::Cloud::Webrisk::V1beta1::ThreatEntryRemovals](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ThreatEntryRemovals)) --- A set of entries to remove from a local threat type's list. This field may be empty.

### #response_type

    def response_type() -> Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::ResponseType

**Returns**

- ([Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::ResponseType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ComputeThreatListDiffResponse-ResponseType)) --- The type of response. This may indicate that an action must be taken by the client when the response is received.

### #response_type=

    def response_type=(value) -> Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::ResponseType

**Parameter**

- **value** ([Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::ResponseType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ComputeThreatListDiffResponse-ResponseType)) --- The type of response. This may indicate that an action must be taken by the client when the response is received.
**Returns**

- ([Google::Cloud::Webrisk::V1beta1::ComputeThreatListDiffResponse::ResponseType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-webrisk/latest/Google-Cloud-Webrisk-V1beta1-ComputeThreatListDiffResponse-ResponseType)) --- The type of response. This may indicate that an action must be taken by the client when the response is received.