SocialStanzaStanzaRestriction

AI Overview😉

  • The potential purpose of this module is to identify and restrict certain types of content that may be deemed inappropriate, offensive, or illegal, such as abusive, racy, or pornographic content. This module aims to ensure a safe and respectful search environment by filtering out harmful or objectionable content.
  • This module could impact search results by removing or demoting content that violates its restrictions, potentially leading to a cleaner and more family-friendly search experience. This could also lead to some websites or content creators being penalized or having their content removed if they violate these restrictions.
  • To be more favorable to this function, a website could ensure that its content is respectful, appropriate, and compliant with Google's guidelines and restrictions. This could involve implementing content moderation, removing offensive or harmful content, and ensuring that the website's content is suitable for all ages. Additionally, website owners could provide clear and transparent information about their content, such as age restrictions or warnings, to help Google's algorithm make informed decisions about its visibility.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.SocialStanzaStanzaRestriction (google_api_content_warehouse v0.4.0)

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

  • abuseTypes (type: list(GoogleApi.ContentWarehouse.V1.Model.AbuseiamAbuseType.t), default: nil) - The abuses.
  • appealState (type: String.t, default: nil) - The appeal state.
  • contentRestriction (type: GoogleApi.ContentWarehouse.V1.Model.AbuseiamContentRestriction.t, 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...
  • 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.
  • deliveryRestriction (type: GoogleApi.ContentWarehouse.V1.Model.SocialStanzaDeliveryRestriction.t, default: nil) - Delivery restrictions, if present.
  • destinationStream (type: GoogleApi.ContentWarehouse.V1.Model.AppsPeopleActivityBackendDestinationStream.t, default: nil) -
  • moderationInfo (type: GoogleApi.ContentWarehouse.V1.Model.SocialStanzaModerationInfo.t, 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.
  • moderationState (type: String.t, default: nil) - The moderation state.

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

@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
}

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.