class Google::Apis::YoutubeV3::VideoAgeGating
Attributes
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. Corresponds to the JSON property `alcoholContent` @return [Boolean]
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. Corresponds to the JSON property `alcoholContent` @return [Boolean]
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. Corresponds to the JSON property `restricted` @return [Boolean]
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. Corresponds to the JSON property `restricted` @return [Boolean]
Video
game rating, if any. Corresponds to the JSON property `videoGameRating` @return [String]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 7460 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 7465 def update!(**args) @alcohol_content = args[:alcohol_content] if args.key?(:alcohol_content) @restricted = args[:restricted] if args.key?(:restricted) @video_game_rating = args[:video_game_rating] if args.key?(:video_game_rating) end