SocialStanzaStanzaRestriction

GoogleApi.ContentWarehouse.V1.Model.SocialStanzaStanzaRestriction


Table of Contents ▼

Jump to a specific part of the page:

Description

Contains various restriction information about a stanza, derived from properties of the stanza, the viewer and the creator. Restrictions stored in this message are not related to direct/indirect relationship between the viewer and the creator of stanza. Some examples are: - Abusive - Legal - Racy - Content not suitable for age - Porn - Blocked by country/geo of viewer. - Restricted by stanza creator (not the user specific block). - etc... Please see go/stanza-abuse-flow for more details.

Attributes List

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

View Attributes

Attributes

  1. abuseTypes (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamAbuseType), default: nil)
    - The abuses.
  2. appealState (type: String.t, default: nil)
    - The appeal state.
  3. contentRestriction (type: GoogleApi.ContentWarehouse.V1.Model.AbuseiamContentRestriction, default: nil)
    - Field to explain various restrictions of the Stanza. Some examples of restrictions are: - Not permitted because of legal restrictions of geography/country of viewer or creator. - Content not suitable for current viewer i.e. porn, abusive, racy. - Creator restricted the content to an age group. - etc...
  4. deleteReason (type: list(String.t), default: nil)
    - Delete reasons. This is a repeated field because an stanza can be deleted multiple times due to different reasons such as user_delete, admin_delete.
  5. deliveryRestriction (type: GoogleApi.ContentWarehouse.V1.Model.SocialStanzaDeliveryRestriction, default: nil)
    - Delivery restrictions, if present.
  6. destinationStream (type: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream, default: nil)
    -
  7. moderationInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialStanzaModerationInfo, default: nil)
    - The moderation info. At write time, this field is only allowed to be set when moderator_type is AUTO_MODERATOR. For other moderator types, moderation_reason is the only field that can be set by clients.
  8. moderationState (type: String.t, default: nil)
    - The moderation state.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialStanzaStanzaRestriction{
abuseTypes: [GoogleApi.ContentWarehouse.V1.Model.AbuseiamAbuseType.t()] | nil,
appealState: String.t() | nil,
contentRestriction: GoogleApi.ContentWarehouse.V1.Model.AbuseiamContentRestriction.t() | nil,
deleteReason: [String.t()] | nil,
deliveryRestriction: GoogleApi.ContentWarehouse.V1.Model.SocialStanzaDeliveryRestriction.t() | nil,
destinationStream: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream.t() | nil,
moderationInfo: GoogleApi.ContentWarehouse.V1.Model.SocialStanzaModerationInfo.t() | nil,
moderationState: String.t() | nil
}

Function

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

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