Package types (1.15.1)

API documentation for webrisk_v1.types package.

Classes

CompressionType

The ways in which threat entry sets can be compressed.

ComputeThreatListDiffRequest

Describes an API diff request.

ComputeThreatListDiffResponse

CreateSubmissionRequest

Request to send a potentially phishy URI to WebRisk.

RawHashes

The uncompressed threat entries in hash format. Hashes can be anywhere from 4 to 32 bytes in size. A large majority are 4 bytes, but some hashes are lengthened if they collide with the hash of a popular URI.

Used for sending ThreatEntryAdditons to clients that do not support compression, or when sending non-4-byte hashes to clients that do support compression.

RawIndices

A set of raw indices to remove from a local list.

RiceDeltaEncoding

The Rice-Golomb encoded data. Used for sending compressed 4-byte hashes or compressed removal indices.

SearchHashesRequest

Request to return full hashes matched by the provided hash prefixes.

SearchHashesResponse

SearchUrisRequest

Request to check URI entries against threatLists.

SearchUrisResponse

Submission

Wraps a URI that might be displaying malicious content.

SubmitUriMetadata

Metadata for the Submit URI long-running operation. option (google.api.message_visibility).restriction = "TRUSTED_TESTER";

SubmitUriRequest

Request to send a potentially malicious URI to WebRisk.

ThreatDiscovery

Details about how the threat was discovered.

ThreatEntryAdditions

Contains the set of entries to add to a local database. May contain a combination of compressed and raw data in a single response.

ThreatEntryRemovals

Contains the set of entries to remove from a local database.

ThreatInfo

Context about the submission including the type of abuse found on the URI and supporting details. option (google.api.message_visibility).restriction = "TRUSTED_TESTER";

ThreatType

The type of threat. This maps directly to the threat list a threat may belong to.