AbuseiamVerdictRestriction

GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestriction


Table of Contents ▼

Jump to a specific part of the page:

Description

Describes restrictions on where the verdict applies.

Attributes List

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

View Attributes

Attributes

  1. context (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestrictionContext), default: nil)
    - For a restriction to apply, all contexts must be satisfied. For example, if context[0] is COUNTRY/'GERMANY' and context[1] is DESTINATION_STREAM/'gplus:SQUARE:knitting_discussion', then the verdict applies only when the 'knitting discussion' square is viewed from inside Germany. Please note that this is present for legacy reasons and users of this field would be migrated to use the user_restriction field defined below.
  2. 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.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestriction{
context: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestrictionContext.t()] | nil,
userRestriction: GoogleApi.ContentWarehouse.V1.Model.AbuseiamUserRestriction.t() | nil
}

Function

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

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