Method: Yt::Models::Asset#type

Defined in:
lib/yt/models/asset.rb

#typeString

Returns the asset’s type.

Returns:

  • (String)

    the asset’s type. This value determines the metadata fields that you can set for the asset. In addition, certain API functions may only be supported for specific types of assets. For example, composition assets may have more complex ownership data than other types of assets. Possible values are: ‘art_track_video’, ‘composition’, ‘episode’, ‘general’, ‘movie’, ‘music_video’, ‘season’, ‘show’, ‘sound_recording’, ‘video_game’, ‘web’.



70
# File 'lib/yt/models/asset.rb', line 70

has_attribute :type