View Source GoogleApi.ContentWarehouse.V1.Model.AbuseiamEvaluation (google_api_content_warehouse v0.4.0)
Backends return Evaluations to AbuseIAm. One of the things Evaluations are used for is to explain Verdicts.
Attributes
-
abuseType
(type:GoogleApi.ContentWarehouse.V1.Model.AbuseiamAbuseType.t
, default:nil
) - -
backend
(type:String.t
, default:nil
) - Who creates this Evaluation. This field is required. -
comment
(type:String.t
, default:nil
) - Backends can choose to put some debug info in addition to abuse_type, score, and status. -
miscData
(type:list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamNameValuePair.t)
, 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. -
processedMicros
(type:String.t
, default:nil
) - When the evaluation was processed by the decision script. -
region
(type:list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamRegion.t)
, default:nil
) - The list of regions where the evaluation applies. -
score
(type:float()
, default:nil
) - -
status
(type:String.t
, default:nil
) - -
target
(type:GoogleApi.ContentWarehouse.V1.Model.AbuseiamTarget.t
, default:nil
) - -
timestampMicros
(type:String.t
, default:nil
) - When the Evaluation was generated. -
userRestriction
(type:GoogleApi.ContentWarehouse.V1.Model.AbuseiamUserRestriction.t
, 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. -
version
(type:String.t
, default:nil
) - Version of Backend. For rules, this string is the only way to differentiate between them.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.