threat_lists
Creates, updates, deletes, gets or lists a threat_lists
resource.
Overview
Name | threat_lists |
Type | Resource |
Id | google.webrisk.threat_lists |
Fields
The following fields are returned by SELECT
queries:
SELECT
not supported for this resource, use SHOW METHODS
to view available operations for the resource.
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
compute_diff | exec | threatType , versionToken , constraints.maxDiffEntries , constraints.maxDatabaseEntries , constraints.supportedCompressions | Gets the most recent threat list diffs. These diffs should be applied to a local database of hashes to keep it up-to-date. If the local database is empty or excessively out-of-date, a complete snapshot of the database will be returned. This Method only updates a single ThreatList at a time. To update multiple ThreatList databases, this method needs to be called once for each list. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
constraints.maxDatabaseEntries | integer (int32) | |
constraints.maxDiffEntries | integer (int32) | |
constraints.supportedCompressions | string | |
threatType | string | |
versionToken | string (byte) |
Lifecycle Methods
- compute_diff
Gets the most recent threat list diffs. These diffs should be applied to a local database of hashes to keep it up-to-date. If the local database is empty or excessively out-of-date, a complete snapshot of the database will be returned. This Method only updates a single ThreatList at a time. To update multiple ThreatList databases, this method needs to be called once for each list.
EXEC google.webrisk.threat_lists.compute_diff
@threatType='{{ threatType }}',
@versionToken='{{ versionToken }}',
@constraints.maxDiffEntries='{{ constraints.maxDiffEntries }}',
@constraints.maxDatabaseEntries='{{ constraints.maxDatabaseEntries }}',
@constraints.supportedCompressions='{{ constraints.supportedCompressions }}';