View Source GoogleApi.SafeBrowsing.V5.Model.GoogleSecuritySafebrowsingV5FullHashFullHashDetail (google_api_safe_browsing v0.25.0)

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.

Attributes

  • attributes (type: list(String.t), default: nil) - Unordered list. Additional attributes about those full hashes. This may be empty.
  • threatType (type: String.t, default: nil) - The type of threat. This field will never be empty.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.SafeBrowsing.V5.Model.GoogleSecuritySafebrowsingV5FullHashFullHashDetail{
    attributes: [String.t()] | nil,
    threatType: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.