View Source GoogleApi.ContentWarehouse.V1.Model.VideoThumbnailsThumbnailScore (google_api_content_warehouse v0.3.0)

LINT.IfChange Score calculated from a thumbnail. NextID: 16

Attributes

  • checksum (type: String.t, default: nil) - Checksum of the thumbnail bytes used to identify which image the score belongs to. Only filled when thumbnail version is 0.
  • colorSampling (type: integer(), default: nil) - Color sampling score encoded as uint32. Encode/Decode using youtube::color::RgbToUint / UIntToRgb. Field is only relevant for TYPE_COLOR_SAMPLING.
  • denseFeatures (type: list(number()), default: nil) - Thumbnail dense features.
  • denseGeneralExtraFeatures (type: GoogleApi.ContentWarehouse.V1.Model.DrishtiFeatureExtra.t, default: nil) - FeatureExtra extension for dense features.
  • externalImageId (type: String.t, default: nil) - A unique identifier for the image that is independent of the resolution. The Image ID accompanies the image bytes through its lifecycle, from creation till vanishing. Image ID is not based on image content; it is different than checksum (e.g. two different images with the same bytes may not have the same image ID). This ID is used as a unique identifier for clients such as T&S and classifiers. For more info refer to go/thumbnail-id-ts-ab-testing Note: Image ID's are still in development and are currently not exposed externally (may be done in the future). Please contact yt-thumbnails-core@ before using it. Do not use externally or in logs before contacting yt-thumbnails-core@
  • isAssigned (type: boolean(), default: nil) - If true, score is manually assigned.
  • isInstant (type: boolean(), default: nil) - If true, score will be instantly indexed by YouTube search indexer.
  • modelVersion (type: String.t, default: nil) -
  • overwriteReason (type: String.t, default: nil) -
  • quantizedFeatures (type: String.t, default: nil) - Thumbnail quantized dense features, available in TYPE_STARBURST_COMPRESSED
  • score (type: float(), default: nil) -
  • sparseFeatures (type: GoogleApi.ContentWarehouse.V1.Model.DrishtiSparseFeatureData.t, default: nil) - Thumbnail sparse features, available in TYPE_STARBURST
  • thumbnailSet (type: String.t, default: nil) -
  • thumbnailVersion (type: String.t, default: nil) - Version number of the thumbnail. Should be consistent with the version number in the ytimg_content column family.
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoThumbnailsThumbnailScore{
  checksum: String.t() | nil,
  colorSampling: integer() | nil,
  denseFeatures: [number()] | nil,
  denseGeneralExtraFeatures:
    GoogleApi.ContentWarehouse.V1.Model.DrishtiFeatureExtra.t() | nil,
  externalImageId: String.t() | nil,
  isAssigned: boolean() | nil,
  isInstant: boolean() | nil,
  modelVersion: String.t() | nil,
  overwriteReason: String.t() | nil,
  quantizedFeatures: String.t() | nil,
  score: float() | nil,
  sparseFeatures:
    GoogleApi.ContentWarehouse.V1.Model.DrishtiSparseFeatureData.t() | nil,
  thumbnailSet: String.t() | nil,
  thumbnailVersion: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.