AbuseiamEvaluation

GoogleApi.ContentWarehouse.V1.Model.AbuseiamEvaluation


Table of Contents ▼

Jump to a specific part of the page:

Description

Backends return Evaluations to AbuseIAm. One of the things Evaluations are used for is to explain Verdicts.

Attributes List

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

View Attributes

Attributes

  1. abuseType (type: GoogleApi.ContentWarehouse.V1.Model.AbuseiamAbuseType, default: nil)
    -
  2. backend (type: String.t, default: nil)
    - Who creates this Evaluation. This field is required.
  3. comment (type: String.t, default: nil)
    - Backends can choose to put some debug info in addition to abuse_type, score, and status.
  4. miscData (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamNameValuePair), default: nil)
    - This field is used to store miscellaneous information that Backend might provide. If you find youself here considering to use this field, please prefer using the repeated feature field below instead. It supports a richer structure for passing complex data back from the backend.
  5. processedMicros (type: String.t, default: nil)
    - When the evaluation was processed by the decision script.
  6. region (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamRegion), default: nil)
    - The list of regions where the evaluation applies.
  7. score (type: float(), default: nil)
    -
  8. status (type: String.t, default: nil)
    -
  9. target (type: GoogleApi.ContentWarehouse.V1.Model.AbuseiamTarget, default: nil)
    -
  10. timestampMicros (type: String.t, default: nil)
    - When the Evaluation was generated.
  11. userRestriction (type: GoogleApi.ContentWarehouse.V1.Model.AbuseiamUserRestriction, default: nil)
    - A boolean expression tree used to define the restrictions where the verdict applies. Please use java/com/google/ccc/abuse/abuseiam/client/TakedownManager.java to evaluate this proto.
  12. version (type: String.t, default: nil)
    - Version of Backend. For rules, this string is the only way to differentiate between them.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AbuseiamEvaluation{
abuseType: GoogleApi.ContentWarehouse.V1.Model.AbuseiamAbuseType.t() | nil,
backend: String.t() | nil,
comment: String.t() | nil,
miscData: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamNameValuePair.t()] | nil,
processedMicros: String.t() | nil,
region: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamRegion.t()] | nil,
score: float() | nil,
status: String.t() | nil,
target: GoogleApi.ContentWarehouse.V1.Model.AbuseiamTarget.t() | nil,
timestampMicros: String.t() | nil,
userRestriction: GoogleApi.ContentWarehouse.V1.Model.AbuseiamUserRestriction.t() | nil,
version: String.t() | nil
}

Function

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

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