class Google::Apis::YoutubeV3::VideoContentDetails
Details about the content of a YouTube Video.
Attributes
The value of captions indicates whether the video has captions or not. Corresponds to the JSON property `caption` @return [String]
Ratings schemes. The country-specific ratings are mostly for movies and shows. NEXT_ID: 67 Corresponds to the JSON property `contentRating` @return [Google::Apis::YoutubeV3::ContentRating]
Rights management policy for YouTube resources. Corresponds to the JSON property `countryRestriction` @return [Google::Apis::YoutubeV3::AccessPolicy]
The value of definition indicates whether the video is available in high definition or only in standard definition. Corresponds to the JSON property `definition` @return [String]
The value of dimension indicates whether the video is available in 3D or in 2D. Corresponds to the JSON property `dimension` @return [String]
The length of the video. The tag value is an ISO 8601 duration in the format PT#M#S, in which the letters PT indicate that the value specifies a period of time, and the letters M and S refer to length in minutes and seconds, respectively. The # characters preceding the M and S letters are both integers that specify the number of minutes (or seconds) of the video. For example, a value of PT15M51S indicates that the video is 15 minutes and 51 seconds long. Corresponds to the JSON property `duration` @return [String]
The value of is_license_content indicates whether the video is licensed content. Corresponds to the JSON property `licensedContent` @return [Boolean]
The value of is_license_content indicates whether the video is licensed content. Corresponds to the JSON property `licensedContent` @return [Boolean]
DEPRECATED Region restriction of the video. Corresponds to the JSON property `regionRestriction` @return [Google::Apis::YoutubeV3::VideoContentDetailsRegionRestriction]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 7147 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 7152 def update!(**args) @caption = args[:caption] if args.key?(:caption) @content_rating = args[:content_rating] if args.key?(:content_rating) @country_restriction = args[:country_restriction] if args.key?(:country_restriction) @definition = args[:definition] if args.key?(:definition) @dimension = args[:dimension] if args.key?(:dimension) @duration = args[:duration] if args.key?(:duration) @licensed_content = args[:licensed_content] if args.key?(:licensed_content) @region_restriction = args[:region_restriction] if args.key?(:region_restriction) end