AbuseiamVerdict

GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdict


Table of Contents ▼

Jump to a specific part of the page:

Description

Verdict against a target. AbuseIAm generates a verdict based on evaluations. AbuseIAm can send such verdicts to clients for enforcement.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. client (type: GoogleApi.ContentWarehouse.V1.Model.AbuseiamClient, default: nil)
    - Target client of the verdict. It can be used to differentiate verdicts from multiple clients when such verdicts are processed in one common place.
  2. comment (type: String.t, default: nil)
    - Additional info regarding the verdict.
  3. decision (type: String.t, default: nil)
    -
  4. durationMins (type: integer(), default: nil)
    - Time duration (in minutes) of the verdict.
  5. evaluation (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamEvaluation), default: nil)
    - Evaluations relevant to this verdict. Every Verdict should contain at least one Evaluation.
  6. hashes (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamHash), default: nil)
    - Details of all the hashes that can be computed on a message, such as simhash and attachment hash
  7. isLegalIssued (type: boolean(), default: nil)
    - Is this verdict issued by legal?
  8. miscScores (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamNameValuePair), default: nil)
    - This field is used to pass relevant / necessary scores to our clients. For eg: ASBE propagates these scores to moonshine.
  9. reasonCode (type: String.t, default: nil)
    - A short description of the reason why the verdict decision is made.
  10. region (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamRegion), default: nil)
    - The regions in which this verdict should be enforced. Absence of this field indicates that the verdict is applicable everywhere.
  11. restriction (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestriction), default: nil)
    - Restrictions on where this verdict applies. If any restriction is met, the verdict is applied there. If no restrictions are present, the verdict is considered global.
  12. strikeCategory (type: String.t, default: nil)
    - Category of the strike if this is a strike verdict.
  13. target (type: GoogleApi.ContentWarehouse.V1.Model.AbuseiamTarget, default: nil)
    -
  14. targetTimestampMicros (type: String.t, default: nil)
    - The timestamp of the target. E.g., the time when the target was updated.
  15. timestampMicros (type: String.t, default: nil)
    - When the verdict is generated
  16. userNotification (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamUserNotification), default: nil)
    - Extra notification(s) to be delivered to target user or message owner about the verdict.
  17. version (type: String.t, default: nil)
    - version of decision script

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdict{
client: GoogleApi.ContentWarehouse.V1.Model.AbuseiamClient.t() | nil,
comment: String.t() | nil,
decision: String.t() | nil,
durationMins: integer() | nil,
evaluation: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamEvaluation.t()] | nil,
hashes: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamHash.t()] | nil,
isLegalIssued: boolean() | nil,
miscScores: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamNameValuePair.t()] | nil,
reasonCode: String.t() | nil,
region: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamRegion.t()] | nil,
restriction: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestriction.t()] | nil,
strikeCategory: String.t() | nil,
target: GoogleApi.ContentWarehouse.V1.Model.AbuseiamTarget.t() | nil,
targetTimestampMicros: String.t() | nil,
timestampMicros: String.t() | nil,
userNotification: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamUserNotification.t()] | nil,
version: String.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdict