View Source GoogleApi.Language.V1.Model.ModerateTextResponse (google_api_language v0.16.0)

The document moderation response message.

Attributes

  • moderationCategories (type: list(GoogleApi.Language.V1.Model.ClassificationCategory.t), default: nil) - Harmful and sensitive categories representing the input document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Language.V1.Model.ModerateTextResponse{
  moderationCategories:
    [GoogleApi.Language.V1.Model.ClassificationCategory.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.