View Source GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryAnimatedImagePerdocData (google_api_content_warehouse v0.4.0)

Additional animated image data stored in perdoc (ImageData); will only be stored for animated images.

Attributes

  • aggregatedPornScores (type: GoogleApi.ContentWarehouse.V1.Model.ImageSafesearchContentBrainPornAnnotation.t, default: nil) - Aggregated porn scores for animated images. Aggregated using max sampling rate / max duration. Note the plan is to fold these scores into existing summarized scores, for cases where these scores are available. See tracking bug b/63580795.
  • durationMs (type: integer(), default: nil) - Total duration of animation, in ms.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.ImageRepositoryAnimatedImagePerdocData{
    aggregatedPornScores:
      GoogleApi.ContentWarehouse.V1.Model.ImageSafesearchContentBrainPornAnnotation.t()
      | nil,
    durationMs: integer() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.