class Google::Apis::YoutubeV3::SubscriptionContentDetails
Details about the content to witch a subscription refers.
Attributes
activity_type[RW]
The type of activity this subscription is for (only uploads, everything). Corresponds to the JSON property `activityType` @return [String]
new_item_count[RW]
The number of new items in the subscription since its content was last read. Corresponds to the JSON property `newItemCount` @return [Fixnum]
total_item_count[RW]
The approximate number of items that the subscription points to. Corresponds to the JSON property `totalItemCount` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 6448 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/youtube_v3/classes.rb, line 6453 def update!(**args) @activity_type = args[:activity_type] if args.key?(:activity_type) @new_item_count = args[:new_item_count] if args.key?(:new_item_count) @total_item_count = args[:total_item_count] if args.key?(:total_item_count) end