Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleSecuritySafebrowsingV5FullHashFullHashDetail

import type { GoogleSecuritySafebrowsingV5FullHashFullHashDetail } from "https://googleapis.deno.dev/v1/safebrowsing:v5.ts";

Details about a matching full hash. An important note about forward compatibility: new threat types and threat attributes may be added by the server at any time; those additions are considered minor version changes. It is Google's policy not to expose minor version numbers in APIs (see https://cloud.google.com/apis/design/versioning for the versioning policy), so clients MUST be prepared to receive FullHashDetail messages containing ThreatType enum values or ThreatAttribute enum values that are considered invalid by the client. Therefore, it is the client's responsibility to check for the validity of all ThreatType and ThreatAttribute enum values; if any value is considered invalid, the client MUST disregard the entire FullHashDetail message.

interface GoogleSecuritySafebrowsingV5FullHashFullHashDetail {
attributes?: "THREAT_ATTRIBUTE_UNSPECIFIED" | "CANARY" | "FRAME_ONLY"[];
threatType?:
| "THREAT_TYPE_UNSPECIFIED"
| "MALWARE"
| "SOCIAL_ENGINEERING"
| "UNWANTED_SOFTWARE"
| "POTENTIALLY_HARMFUL_APPLICATION";
}

§Properties

§
attributes?: "THREAT_ATTRIBUTE_UNSPECIFIED" | "CANARY" | "FRAME_ONLY"[]
[src]

Unordered list. Additional attributes about those full hashes. This may be empty.

§
threatType?: "THREAT_TYPE_UNSPECIFIED" | "MALWARE" | "SOCIAL_ENGINEERING" | "UNWANTED_SOFTWARE" | "POTENTIALLY_HARMFUL_APPLICATION"
[src]

The type of threat. This field will never be empty.