View Source GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestriction (google_api_content_warehouse v0.4.0)
Describes restrictions on where the verdict applies.
Attributes
-
context
(type:list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestrictionContext.t)
, 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. -
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.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestriction{ context: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamVerdictRestrictionContext.t()] | nil, userRestriction: GoogleApi.ContentWarehouse.V1.Model.AbuseiamUserRestriction.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.