class Google::Apis::YoutubeV3::VideoStatistics
Statistics about the video, such as the number of times the video was viewed or liked.
Attributes
The number of comments for the video. Corresponds to the JSON property `commentCount` @return [Fixnum]
The number of users who have indicated that they disliked the video by giving it a negative rating. Corresponds to the JSON property `dislikeCount` @return [Fixnum]
The number of users who currently have the video marked as a favorite video. Corresponds to the JSON property `favoriteCount` @return [Fixnum]
The number of users who have indicated that they liked the video by giving it a positive rating. Corresponds to the JSON property `likeCount` @return [Fixnum]
The number of times the video has been viewed. Corresponds to the JSON property `viewCount` @return [Fixnum]
Public Class Methods
# File lib/google/apis/youtube_v3/classes.rb, line 8480 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 8485 def update!(**args) @comment_count = args[:comment_count] if args.key?(:comment_count) @dislike_count = args[:dislike_count] if args.key?(:dislike_count) @favorite_count = args[:favorite_count] if args.key?(:favorite_count) @like_count = args[:like_count] if args.key?(:like_count) @view_count = args[:view_count] if args.key?(:view_count) end