GoogleApi.YouTube.V3.Model.VideoAgeGating (google_api_you_tube v0.54.0)

View Source

Attributes

  • alcoholContent (type: boolean(), default: nil) - Indicates whether or not the video has alcoholic beverage content. Only users of legal purchasing age in a particular country, as identified by ICAP, can view the content.
  • restricted (type: boolean(), default: nil) - Age-restricted trailers. For redband trailers and adult-rated video-games. Only users aged 18+ can view the content. The the field is true the content is restricted to viewers aged 18+. Otherwise The field won't be present.
  • videoGameRating (type: String.t, default: nil) - Video game rating, if any.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.YouTube.V3.Model.VideoAgeGating{
  alcoholContent: boolean() | nil,
  restricted: boolean() | nil,
  videoGameRating: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.