YoutubeCommentsApiCommentModeratedRestriction

AI Overview😉

  • The potential purpose of this module is to track and manage moderated comments on YouTube, specifically those that are hidden from viewers except for the comment author. This module helps to enforce community guidelines and content policies by identifying and restricting comments that violate these rules.
  • This module could impact search results by influencing the visibility and ranking of comments and videos on YouTube. Comments that are moderated due to violations of community guidelines may be demoted or removed from search results, while comments that are deemed suitable may be promoted or highlighted. This could, in turn, affect the overall search engine optimization (SEO) of a video or channel.
  • A website or YouTube channel may change things to be more favorable for this function by ensuring that their comments section is well-moderated, with clear community guidelines and a system in place for reporting and removing inappropriate comments. Additionally, creators can focus on producing high-quality, engaging content that encourages constructive and respectful conversations in the comments section. This could help to reduce the number of moderated comments and improve the overall user experience.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Data representing a comment moderated restriction. A moderated comment is hidden from all viewers except for comment author. A comment can be moderated due to multiple moderated restrictions from multiple issuers. Each is represented by a CommentModeratedRestriction entry which is uniquely identified by the external comment id and the create time in the storage. Conceptually, there should be exactly one moderated restriction for a specific reason per issuer per reviewable value and this constraint will be enforced in the Comment API endpoints. For more context see go/yt-comment-restriction-data-model ## Next id: 11. ## Spanner primary key attributes

Attributes

  • autoModEnforcements (type: list(GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsApiCommentModeratedRestrictionAutoModDecisionEnforcement.t), default: nil) - Live chat auto moderation only. The HOLD decisions and whether they are enforced correspondingly.
  • createTime (type: DateTime.t, default: nil) - Required. The creation time of this restriction.
  • externalCommentId (type: String.t, default: nil) - Required. The external ID of the comment that this restriction described.
  • issuer (type: GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsApiCommentRestrictionIssuer.t, default: nil) - Required. The system who moderated the comment. For CommentModeratedRestriction all issuer enums apply."Issuer" is different from the grouping for permission check, which will be enforced via Boq Scaffolding RpcSecurityPolicy.
  • reason (type: GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsApiCommentRestrictionReason.t, default: nil) - Required. The specific restriction reason why the comment is moderated. When Automod issues multiple HOLD decisions for a chat message, they always share the same reason.
  • reviewable (type: boolean(), default: nil) - True if moderation comes from T&S, Automod, and some of channel owner settings and comments will be put into "Held For Review" queue for channel owner review. After any creator review, this restriction will remain in this status to capture the original restriction. True maps to ModerationState=HOLD in Stanza. False if moderation results from channel owner manual opertation or author in hidden user list, and maps to ModerationState=REJECTED in Stanza.
  • status (type: String.t, default: nil) - Required. For moderated restriction on comment and live chat but not issued by Automod, the field should be always set to ACTIVE. For Automod moderation on live chat, the restriction is active as long as one of the HOLD decisions is enforced. Can only be changed by upcoming QPS threshold configuration changes and backfills.
  • updateTime (type: DateTime.t, default: nil) - The timestamp when this restriction is updated.

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.YoutubeCommentsApiCommentModeratedRestriction{
    autoModEnforcements:
      [
        GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsApiCommentModeratedRestrictionAutoModDecisionEnforcement.t()
      ]
      | nil,
    createTime: DateTime.t() | nil,
    externalCommentId: String.t() | nil,
    issuer:
      GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsApiCommentRestrictionIssuer.t()
      | nil,
    reason:
      GoogleApi.ContentWarehouse.V1.Model.YoutubeCommentsApiCommentRestrictionReason.t()
      | nil,
    reviewable: boolean() | nil,
    status: String.t() | nil,
    updateTime: DateTime.t() | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.