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

Contains token-level information about ASR captions.

Attributes

  • confidence (type: number(), default: nil) - The confidence score of the token: between 0 and 1.
  • durationMs (type: number(), default: nil) - The duration that the token is spoken for.
  • startTimeMs (type: integer(), default: nil) - The time in the video at which the token starts being spoken.
  • text (type: String.t, default: nil) - The speech token.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchAsrCaption{
  confidence: number() | nil,
  durationMs: number() | nil,
  startTimeMs: integer() | nil,
  text: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.