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

Next ID: 23

Attributes

  • anchorScore (type: number(), default: nil) - The score indicating anchor confidence.
  • anchorType (type: String.t, default: nil) - Specifies the type of the anchor.
  • contextText (type: String.t, default: nil) - Context text from ASR of long duration, used for longT5 models.
  • destinationUrl (type: String.t, default: nil) - When set, this is the link that should be used when clicking on a video anchor. This should jump to the given time in the video.
  • duration (type: String.t, default: nil) - The duration of the video anchor in milliseconds.
  • entityScore (type: number(), default: nil) - The score indicating the usefulness of the entity identified by 'mid'.
  • filterReason (type: list(String.t), default: nil) - If is_filtered is true, this field illustrates the reasons.
  • isFiltered (type: boolean(), default: nil) - If true, the anchor is filtered and not served online.
  • isSafe (type: boolean(), default: nil) - Convenience field that consolidates signals for whether this label is safe.
  • isScutiBad (type: boolean(), default: nil) - whether this label is bad by go/scuti
  • label (type: String.t, default: nil) - The text label of the video anchor.
  • labelScore (type: number(), default: nil) - The score indicating label confidence.
  • mid (type: String.t, default: nil) - The mid of the video anchor.
  • namedEntity (type: list(GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchNamedEntity.t), default: nil) - Specifies named enitities the label has.
  • precisionScore (type: number(), default: nil) - The precision for which the anchor should trigger. For example, if the desired precision is 95%, anchors with precision_score < 0.95 should be removed.
  • scoreInfo (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchVideoAnchorScoreInfo.t, default: nil) - Additional scoring info used for debugging.
  • starburstFeatures (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchVisualFeatures.t, default: nil) - Visual tokens for the anchor. Eg. starbust feature vectors for several frames concatenated together.
  • thumbnail (type: GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchAnchorThumbnail.t, default: nil) - Data about the thumbnail to display for this anchor.
  • thumbnailUrl (type: String.t, default: nil) - The url for a frame to display for this anchor.
  • time (type: String.t, default: nil) - The time stamp of the video anchor in milliseconds.
  • tokenTimingInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTokenTimingInfo.t), default: nil) - Timing info for each token in the anchor label.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchVideoAnchor{
  anchorScore: number() | nil,
  anchorType: String.t() | nil,
  contextText: String.t() | nil,
  destinationUrl: String.t() | nil,
  duration: String.t() | nil,
  entityScore: number() | nil,
  filterReason: [String.t()] | nil,
  isFiltered: boolean() | nil,
  isSafe: boolean() | nil,
  isScutiBad: boolean() | nil,
  label: String.t() | nil,
  labelScore: number() | nil,
  mid: String.t() | nil,
  namedEntity:
    [GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchNamedEntity.t()]
    | nil,
  precisionScore: number() | nil,
  scoreInfo:
    GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchVideoAnchorScoreInfo.t()
    | nil,
  starburstFeatures:
    GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchVisualFeatures.t()
    | nil,
  thumbnail:
    GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchAnchorThumbnail.t()
    | nil,
  thumbnailUrl: String.t() | nil,
  time: String.t() | nil,
  tokenTimingInfo:
    [GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchTokenTimingInfo.t()]
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.