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

A media provider and the deeplinks provided by the provider. MediaProviderInfo is an abstraction for topics of multiple media related KG types under /base/mediaasset domain and /media_common. It's often eligible for topics of media related KG types like /broadcast/radio_station, /film/film, /music/artist, /music/album, /music/recording_cluster, /music/recording, /tv/tv_program, etc. See go/media-pq for design details. Next ID: 6

Attributes

  • deeplinkInfo (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaDeeplinkInfo.t), default: nil) - Deeplinks provided by the provider. If empty it indicates that the media is unavailable with the provider, e.g. due to country restrictions or limited catalog.
  • kgProviderKey (type: String.t, default: nil) - The unique and reverse unique provider enumerator in KG (e.g., "ORANGE_SPAIN" for /g/11h6nkfyrm). It is more stable than the KG mid. See go/kema-api#keys. Some mids cannot have the enumerator property due to historical reason (e.g., multiple media providers were created for iTunes and only ""/g/11fhyxjwt5" has provider enumerator as "ITUNES_NEW" in KG). These entities need to have hard-coded key (e.g., "/m/019g58" has key "ITUNES") kept outside of KG.
  • mediaId (type: String.t, default: nil) - Media ID of a MediaItem in a MediaBrowseTree (MBT). This field is used to play a specific media item from MBT using playFromMediaId API.
  • providerMid (type: String.t, default: nil) - The machine ID (MID) of the media provider.
  • providerName (type: String.t, default: nil) - The name of the media provider.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMediaProviderInfo{
    deeplinkInfo:
      [
        GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaDeeplinkInfo.t()
      ]
      | nil,
    kgProviderKey: String.t() | nil,
    mediaId: String.t() | nil,
    providerMid: String.t() | nil,
    providerName: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.