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):
Attributes
-
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. -
comment
(type:String.t
, default:nil
)
- Additional info regarding the verdict. -
decision
(type:String.t
, default:nil
)
- -
durationMins
(type:integer()
, default:nil
)
- Time duration (in minutes) of the verdict. -
evaluation
(type:list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamEvaluation)
, default:nil
)
- Evaluations relevant to this verdict. Every Verdict should contain at least one Evaluation. -
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 -
isLegalIssued
(type:boolean()
, default:nil
)
- Is this verdict issued by legal? -
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. -
reasonCode
(type:String.t
, default:nil
)
- A short description of the reason why the verdict decision is made. -
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. -
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. -
strikeCategory
(type:String.t
, default:nil
)
- Category of the strike if this is a strike verdict. -
target
(type:GoogleApi.ContentWarehouse.V1.Model.AbuseiamTarget
, default:nil
)
- -
targetTimestampMicros
(type:String.t
, default:nil
)
- The timestamp of the target. E.g., the time when the target was updated. -
timestampMicros
(type:String.t
, default:nil
)
- When the verdict is generated -
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. -
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
}
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