NlpSemanticParsingModelsMediaAudio

GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaAudio


Table of Contents ▼

Jump to a specific part of the page:

Description

Represents a music recording (usually a song). Each populated field can be thought of as additional constraint about the song's identity. For instance, if no fields are set, then this represents "some song." If only the music_artist is set, then it represents "some song by the specified music_artist." Inspired (but not strictly adhered to) http://schema.org/MusicRecording Next ID: 22

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. album (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaAlbumTitle, default: nil)
    -
  2. artist (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicArtist, default: nil)
    -
  3. book (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaBook, default: nil)
    - Like an audio book. "Listen to (moby dick) audiobook"
  4. dateTime (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime, default: nil)
    - A date time constraint for audio entity, for example, "jazz station 1980".
  5. episodeConstraint (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaEpisodeConstraint), default: nil)
    - Constraining the query to some detail about the episode. Example: "listen to episode (13) of this american life with (mike birbiglia)" would have the 2 constraints in parens.
  6. game (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaGame, default: nil)
    - Soundtrack or theme song (see score_type param that indicates whether the user refers to a soundtrack or a theme song) of the game. "Play soundtrack from (Deus Ex Human Revolution)".
  7. genericMusic (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaGenericMusic, default: nil)
    -
  8. genre (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicGenre, default: nil)
    -
  9. movie (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMovie, default: nil)
    - Soundtrack or theme song (see score_type param that indicates whether the user refers to a soundtrack or a theme song) of the movie. E.g. "Play (Let It Go) from (Disney's Frozen)"
  10. newsTopic (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaNewsTopic, default: nil)
    - News topic. "Listen to news about (Ukraine)"
  11. noExplicitAudio (type: boolean(), default: nil)
    - True when the query does not contains an explict audio name. E.g. When user says "play" or "listen to".
  12. playlist (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicPlaylist, default: nil)
    -
  13. podcast (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaPodcast, default: nil)
    - Podcast feeds. "Listen to (This American Life)"
  14. radio (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaRadio, default: nil)
    -
  15. radioNetwork (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaRadioNetwork, default: nil)
    - E.g. "play NPR radio", "Play BBC radio".
  16. rawText (type: String.t, default: nil)
    - The query for backends to use in search. e.g. for an user query of "play kids song video on tv" from assistant, this field would be "kids song". Note: there is no guarantee this field is populated; when it is not, backends should fall back to "raw_text" fields in song, artist, album etc.
  17. scoreType (type: String.t, default: nil)
    - If any of movie, game or tv show fields is populated this field indicates specific score type requested in the query. E.g. for [play soundtrack from frozen] this field is SOUNDTRACK, for [play frozen song] this field is THEME_SONG.
  18. seasonConstraint (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaSeasonConstraint, default: nil)
    - Constraining the query to some detail about the season. Example: "listen to season 2 of serial"
  19. song (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaSong, default: nil)
    -
  20. tag (type: list(String.t), default: nil)
    - Optional tags associated with how the media entity should be played. For example, this can be set to SEED_RADIO to signify that the user wants to play a radio station seeded by the entity.
  21. tvShow (type: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaTVShow, default: nil)
    - Soundtrack or theme song (see score_type param that indicates whether the user refers to a soundtrack or a theme song) of the tv show. E.g. "Play soundtrack from (Friends)".

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaAudio{
album: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaAlbumTitle.t() | nil,
artist: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicArtist.t() | nil,
book: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaBook.t() | nil,
dateTime: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime.t() | nil,
episodeConstraint: [ GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaEpisodeConstraint.t() ] | nil,
game: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaGame.t() | nil,
genericMusic: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaGenericMusic.t() | nil,
genre: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicGenre.t() | nil,
movie: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMovie.t() | nil,
newsTopic: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaNewsTopic.t() | nil,
noExplicitAudio: boolean() | nil,
playlist: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicPlaylist.t() | nil,
podcast: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaPodcast.t() | nil,
radio: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaRadio.t() | nil,
radioNetwork: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaRadioNetwork.t() | nil,
rawText: String.t() | nil,
scoreType: String.t() | nil,
seasonConstraint: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaSeasonConstraint.t() | nil,
song: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaSong.t() | nil,
tag: [String.t()] | nil,
tvShow: GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaTVShow.t() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaAudio