A set of entries to remove from a local threat type's list. This field may be empty.
↳ new_version_token
string
The new opaque client version token. This should be retained by the client and passed into the next call of ComputeThreatListDiff as 'version_token'. A separate version token should be stored and used for each threatList.
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 discard this diff and retry later.
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.
getResponseType
The type of response. This may indicate that an action must be taken by the
client when the response is received.
Returns
Type
Description
int
setResponseType
The type of response. This may indicate that an action must be taken by the
client when the response is received.
Parameter
Name
Description
var
int
Returns
Type
Description
$this
getAdditions
A set of entries to add to a local threat type's list.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Web Risk V1 Client - Class ComputeThreatListDiffResponse (2.1.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.1.1 (latest)](/php/docs/reference/cloud-web-risk/latest/V1.ComputeThreatListDiffResponse)\n- [2.1.0](/php/docs/reference/cloud-web-risk/2.1.0/V1.ComputeThreatListDiffResponse)\n- [2.0.3](/php/docs/reference/cloud-web-risk/2.0.3/V1.ComputeThreatListDiffResponse)\n- [1.5.5](/php/docs/reference/cloud-web-risk/1.5.5/V1.ComputeThreatListDiffResponse)\n- [1.4.4](/php/docs/reference/cloud-web-risk/1.4.4/V1.ComputeThreatListDiffResponse)\n- [1.3.0](/php/docs/reference/cloud-web-risk/1.3.0/V1.ComputeThreatListDiffResponse)\n- [1.2.7](/php/docs/reference/cloud-web-risk/1.2.7/V1.ComputeThreatListDiffResponse) \nReference documentation and code samples for the Google Cloud Web Risk V1 Client class ComputeThreatListDiffResponse.\n\nGenerated from protobuf message `google.cloud.webrisk.v1.ComputeThreatListDiffResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ WebRisk \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getResponseType\n\nThe type of response. This may indicate that an action must be taken by the\nclient when the response is received.\n\n### setResponseType\n\nThe type of response. This may indicate that an action must be taken by the\nclient when the response is received.\n\n### getAdditions\n\nA set of entries to add to a local threat type's list.\n\n### hasAdditions\n\n### clearAdditions\n\n### setAdditions\n\nA set of entries to add to a local threat type's list.\n\n### getRemovals\n\nA set of entries to remove from a local threat type's list.\n\nThis field may be empty.\n\n### hasRemovals\n\n### clearRemovals\n\n### setRemovals\n\nA set of entries to remove from a local threat type's list.\n\nThis field may be empty.\n\n### getNewVersionToken\n\nThe new opaque client version token. This should be retained by the client\nand passed into the next call of ComputeThreatListDiff as 'version_token'.\n\nA separate version token should be stored and used for each threatList.\n\n### setNewVersionToken\n\nThe new opaque client version token. This should be retained by the client\nand passed into the next call of ComputeThreatListDiff as 'version_token'.\n\nA separate version token should be stored and used for each threatList.\n\n### getChecksum\n\nThe expected SHA256 hash of the client state; that is, of the sorted list\nof all hashes present in the database after applying the provided diff.\n\nIf the client state doesn't match the expected state, the client must\ndiscard this diff and retry later.\n\n### hasChecksum\n\n### clearChecksum\n\n### setChecksum\n\nThe expected SHA256 hash of the client state; that is, of the sorted list\nof all hashes present in the database after applying the provided diff.\n\nIf the client state doesn't match the expected state, the client must\ndiscard this diff and retry later.\n\n### getRecommendedNextDiff\n\nThe soonest the client should wait before issuing any diff\nrequest. Querying sooner is unlikely to produce a meaningful diff.\n\nWaiting longer is acceptable considering the use case.\nIf this field is not set clients may update as soon as they want.\n\n### hasRecommendedNextDiff\n\n### clearRecommendedNextDiff\n\n### setRecommendedNextDiff\n\nThe soonest the client should wait before issuing any diff\nrequest. Querying sooner is unlikely to produce a meaningful diff.\n\nWaiting longer is acceptable considering the use case.\nIf this field is not set clients may update as soon as they want."]]