class Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction
DEPRECATED Region restriction of the video.
Attributes
A list of region codes that identify countries where the video is viewable. If this property is present and a country is not listed in its value, then the video is blocked from appearing in that country. If this property is present and contains an empty list, the video is blocked in all countries. Corresponds to the JSON property `allowed` @return [Array<String>]
A list of region codes that identify countries where the video is blocked. If this property is present and a country is not listed in its value, then the video is viewable in that country. If this property is present and contains an empty list, the video is viewable in all countries. Corresponds to the JSON property `blocked` @return [Array<String>]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 7720 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 7725 def update!(**args) @allowed = args[:allowed] if args.key?(:allowed) @blocked = args[:blocked] if args.key?(:blocked) end