class Google::Apis::YoutubeV3::ChannelStatistics
Statistics about a channel: number of subscribers, number of videos in the channel, etc.
Attributes
comment_count[RW]
The number of comments for the channel. Corresponds to the JSON property `commentCount` @return [String]
subscriber_count[RW]
The number of subscribers that the channel has. Corresponds to the JSON property `subscriberCount` @return [String]
video_count[RW]
The number of videos uploaded to the channel. Corresponds to the JSON property `videoCount` @return [String]
view_count[RW]
The number of times the channel has been viewed. Corresponds to the JSON property `viewCount` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 1808 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 1813 def update!(**args) @comment_count = args[:comment_count] if args.key?(:comment_count) @hidden_subscriber_count = args[:hidden_subscriber_count] if args.key?(:hidden_subscriber_count) @subscriber_count = args[:subscriber_count] if args.key?(:subscriber_count) @video_count = args[:video_count] if args.key?(:video_count) @view_count = args[:view_count] if args.key?(:view_count) end