View Source GoogleApi.ContentWarehouse.V1.Model.SocialStanzaModerationInfo (google_api_content_warehouse v0.3.0)

ModerationInfo stores the information of moderation for a stanza in a specific destination stream. Including who moderated and why.

Attributes

  • moderationReason (type: String.t, default: nil) - The reason why this stanza was moderated provided by client.
  • moderator (type: GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsPrincipalProto.t, default: nil) -
  • moderatorType (type: String.t, default: nil) - Type of moderation. Semantically REQUIRED, http://go/required At write time, only ModeratorType.AUTO_MODERATOR is allowed. For all other cases, this information is inferred from the request at write time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialStanzaModerationInfo{
  moderationReason: String.t() | nil,
  moderator:
    GoogleApi.ContentWarehouse.V1.Model.SecurityCredentialsPrincipalProto.t()
    | nil,
  moderatorType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.