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):
Attributes
-
album
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaAlbumTitle
, default:nil
)
- -
artist
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicArtist
, default:nil
)
- -
book
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaBook
, default:nil
)
- Like an audio book. "Listen to (moby dick) audiobook" -
dateTime
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingDatetimeDateTime
, default:nil
)
- A date time constraint for audio entity, for example, "jazz station 1980". -
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. -
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)". -
genericMusic
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaGenericMusic
, default:nil
)
- -
genre
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicGenre
, default:nil
)
- -
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)" -
newsTopic
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaNewsTopic
, default:nil
)
- News topic. "Listen to news about (Ukraine)" -
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". -
playlist
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaMusicPlaylist
, default:nil
)
- -
podcast
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaPodcast
, default:nil
)
- Podcast feeds. "Listen to (This American Life)" -
radio
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaRadio
, default:nil
)
- -
radioNetwork
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaRadioNetwork
, default:nil
)
- E.g. "play NPR radio", "Play BBC radio". -
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. -
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. -
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" -
song
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSemanticParsingModelsMediaSong
, default:nil
)
- -
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. -
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
}
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