HashListsBatchGetOptions
import type { HashListsBatchGetOptions } from "https://googleapis.deno.dev/v1/safebrowsing:v5.ts";
Additional options for SafeBrowsing#hashListsBatchGet.
§Properties
Required. The names of the particular hash lists. The list MAY be a threat list, or it may be the Global Cache. The names MUST NOT contain duplicates; if they did, the client will get an error.
Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client to store less than this number of entries.) If omitted or zero, no database size limit is set.
The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will contain fewer entries than this value. This MUST be at least 1024. If omitted or zero, no update size limit is set.
The versions of the hash list that the client already has. If this is the
first time the client is fetching the hash lists, the field should be left
empty. Otherwise, the client should supply the versions previously received
from the server. The client MUST NOT manipulate those bytes. The client
need not send the versions in the same order as the corresponding list
names. The client may send fewer or more versions in a request than there
are names. However the client MUST NOT send multiple versions that
correspond to the same name; if it did, the client will get an error.
Historical note: in V4 of the API, this was called states
; it is now
renamed to version
for clarity.