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

LINT: LEGACY_NAMES MovingThumbnail is defined as a short video clip that represents the whole video content. Next id: 17.

Attributes

  • beginTimestampMs (type: integer(), default: nil) - The begin timestamp in milliseconds.
  • durationMs (type: integer(), default: nil) - The duration of the moving thumbnail in milliseconds. Note that the duration may not be the difference between begin_timestamp_ms and end_timestamp_ms, esp when the moving thumbnail covers multiple clips from the video.
  • encodedGifAnimation (type: String.t, default: nil) -
  • encodedVideoString (type: String.t, default: nil) - The encoded video string.
  • encodedWebpAnimation (type: String.t, default: nil) - The encoded WebP animation.
  • endTimestampMs (type: integer(), default: nil) - The end timestamp in milliseconds.
  • height (type: integer(), default: nil) - Pixel height of the moving thumbnail.
  • id (type: String.t, default: nil) - MovingThumbnail id (e.g., the video id).
  • movingThumbnailerVersion (type: String.t, default: nil) - If set, this is the algorithm version used to generate this moving thumbnail.
  • name (type: String.t, default: nil) - MovingThumbnail name.
  • score (type: number(), default: nil) - The score of the moving thumbnail.
  • scoreComponents (type: GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperMovingThumbnailScoreComponents.t, default: nil) -
  • thumbnails (type: list(GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperThumbnail.t), default: nil) - A set of single frame thumbnails in the MovingThumbnail.
  • type (type: String.t, default: nil) - MovingThumbnail type.
  • webpQualityLevel (type: number(), default: nil) - The actual quality of the Webp animation. Note this value may not be equal to the quality value requested in the animation creator's options. This is because other requirements, such as the max file size, may force the creator to lower the actual quality value.
  • width (type: integer(), default: nil) - Pixel width of the moving thumbnail.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperMovingThumbnail{
  beginTimestampMs: integer() | nil,
  durationMs: integer() | nil,
  encodedGifAnimation: String.t() | nil,
  encodedVideoString: String.t() | nil,
  encodedWebpAnimation: String.t() | nil,
  endTimestampMs: integer() | nil,
  height: integer() | nil,
  id: String.t() | nil,
  movingThumbnailerVersion: String.t() | nil,
  name: String.t() | nil,
  score: number() | nil,
  scoreComponents:
    GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperMovingThumbnailScoreComponents.t()
    | nil,
  thumbnails:
    [GoogleApi.ContentWarehouse.V1.Model.DrishtiVesperThumbnail.t()] | nil,
  type: String.t() | nil,
  webpQualityLevel: number() | nil,
  width: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.